discord-mcp
Allows interaction with Discord API, providing tools to list guilds and channels, read messages, send messages, create threads, and add reactions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@discord-mcplist my available guilds"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
discord-mcp
Dedalus MCP server for Discord communications. It can list guilds, list channels, read channel messages, send messages, create threads, and add reactions.
Tools
list_guilds- List guilds available to the authenticated user or bot.list_channels- List channels in a guild.read_channel_messages- Read recent messages from a channel.send_message- Send a message to a channel.create_thread- Create a thread from an existing message.add_reaction- Add a reaction to a message.
Related MCP server: MCP-Discord
Safety Notes
send_message, create_thread, and add_reaction are visible in Discord. They may notify users depending on server settings. Confirm the guild, channel, message, and content before calling write tools.
Discord messages can contain personal data and private workspace context. Do not commit tokens, channel exports, or message bodies.
Authentication
This server supports the Owner 4 target of Type 4 OAuth or bot token via Type 3 DAuth.
Default code path:
Connection name:
discord-mcpSecret key:
DISCORD_ACCESS_TOKENBase URL:
https://discord.com/api/v10Header:
Authorization: Bearer <token>by default
OAuth deployment variables:
OAUTH_ENABLED=true
OAUTH_AUTHORIZE_URL=https://discord.com/oauth2/authorize
OAUTH_TOKEN_URL=https://discord.com/api/oauth2/token
OAUTH_CLIENT_ID=...
OAUTH_CLIENT_SECRET=...
OAUTH_SCOPES_AVAILABLE=identify,guilds,messages.read
OAUTH_BASE_URL=https://discord.com/api/v10
DEDALUS_AS_URL=https://as.dedaluslabs.aiFor bot-token deployments, Discord expects Authorization: Bot <token>. Set DISCORD_AUTH_HEADER_FORMAT=Bot {api_key} before starting or deploying the server. Bot tokens can post as the bot and should be treated as production secrets.
Run Locally
uv run python src/main.pyIn another terminal:
MCP_SERVER_URL=http://127.0.0.1:8080/mcp uv run python src/_client.pySet DISCORD_TEST_GUILD_ID, DISCORD_TEST_CHANNEL_ID, and DISCORD_TEST_MESSAGE_ID to safe test resources. The client intentionally calls write tools.
Deploy
Publish as dedalus-labs/discord-mcp, configure OAuth or bot-token DAuth in Dedalus, deploy, then run:
DEDALUS_MCP_SERVER_ONLY=1 DEDALUS_MCP_SERVER=dedalus-labs/discord-mcp uv run python src/_client.pyThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chenzhaoxuan0/discord-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server