Connect a Discord bot (bot token from the developer portal) to read/send messages, list guilds and channels, react, send DMs and manage messages via the official REST API (discord.com/api/v10). Optional Guild ID sets the default server used by tools
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http discord https://api.mcp.ai/p_discord~/.codex/config.toml
[mcp_servers.discord]
url = "https://api.mcp.ai/p_discord"
# codex mcp add discord --url https://api.mcp.ai/p_discord~/.cursor/mcp.json
{
"mcpServers": {
"discord": {
"url": "https://api.mcp.ai/p_discord"
}
}
}.vscode/mcp.json
{
"servers": {
"discord": {
"type": "http",
"url": "https://api.mcp.ai/p_discord"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"discord": {
"httpUrl": "https://api.mcp.ai/p_discord"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"discord": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.mcp.ai/p_discord"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"discord": {
"url": "https://api.mcp.ai/p_discord"
}
}
}