mcp-discord mcp

v1.0.0 · MCP Tool · communication · registry.pascalai.org

Interact with Discord Bot API: send messages, list channels and guilds, read messages and manage members.

discordbotchatmessagingcommunity

Input Parameters

ParameterTypeDescription
bot_tokenrequired string
operationrequired string One of: send_message, list_guilds, list_channels, get_messages, get_members, create_channel, delete_message, add_reaction.
guild_idoptional string
channel_idoptional string
message_idoptional string
contentoptional string
embedoptional object Discord embed object.
limitoptional integer Default: 50.
emojioptional string

Output Fields

FieldTypeDescription
operation string
message_id string
messages array[object]
channels array[object]
guilds array[object]
members array[object]

Examples

Send message to channel

// Input
{
  "bot_token": "Bot xxx",
  "operation": "send_message",
  "channel_id": "123456789",
  "content": "Hello from MCP!"
}

// Output
{
  "operation": "send_message",
  "message_id": "987654321"
}

Install & Discovery

Install

ppm install mcp-discord

Get JSON Schema

GET /v1/packages/mcp-discord/1.0.0/schema

Discover by keyword

GET /v1/mcp/discover?q=discord
Discovery hint: Install with ppm install mcp-discord or invoke remotely via POST /v1/invoke/mcp-discord on the MCP Service.

PascalAI Usage

uses toolslib;
var Tool := LoadTool('mcp-discord');
var R := Tool.Call(JsonObj([]));
Writeln(R.ToJSON);