Expose Discord's full developer API—including messaging, server guild configs, bot commands, and webhooks—directly to Cursor, Claude Desktop, or LangChain agents via the open MCP standard.
Last updated 2026-05-28 · works with Claude, OpenAI, LangChain, and any MCP client
| Capability | Discord.js / Discord.py | Composio Discord | wmcp.sh |
|---|---|---|---|
| Setup time | Install SDK + token wiring | Platform auth configurations | Sign in & provide bot token — done |
| Interoperability | Locked into Discord client | Custom wrapper | Standard MCP — works with Claude/Cursor |
| Spec updates | Wait for SDK release | Wait for platform update | Instant spec resolution at the edge |
| Latency | 80-200ms SDK bootstrap | Platform router delays | Sub-50ms Edge proxy resolution |
| Tool Coverage | Manual method mapping | Curated subset | Every public endpoint out-of-the-box |
All MCP-shaped — consumed directly by Claude tool_use, OpenAI function-calling, or LangChain.
| Tool | Type | Returns |
|---|---|---|
channels/createMessage | Live action | Send a message to a Discord channel |
channels/getChannel | Live action | Retrieve Discord channel metadata |
guilds/getGuild | Live action | Retrieve Discord server guild metadata |
webhooks/execute | Live action | Post to a Discord webhook URL |
from wmcp import WmcpClient
from wmcp.anthropic import to_anthropic_tools, execute_tool_use
from anthropic import Anthropic
client = WmcpClient(api_key="webmcp_live_…")
spec = "https://raw.githubusercontent.com/discord/discord-api-spec/main/openapi.json"
tools = client.tools(spec)
# Filter to messaging tools
msg_tools = [t for t in tools if t.name.startswith("channels/createMessage")]
anthropic = Anthropic()
msg = anthropic.messages.create(
model="claude-3-5-sonnet-20241022",
max_tokens=1024,
tools=to_anthropic_tools(msg_tools),
messages=[{"role": "user",
"content": "Send 'Hello from Claude Code' to channel 123456789."}],
)
for block in msg.content:
if block.type == "tool_use":
result = execute_tool_use(client, spec, block.model_dump())
print(result)
Discord's bot-token + OAuth split is the messaging-SaaS pattern. If you're a SaaS founder thinking about agent traffic, see the founder checklist.
Custom adapter + hosted MCP at mcp.yourbrand.com + verified badge. From $499 one-time setup.