discord-mcp
Click on "Deploy 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 all channels in the server"
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
MCP server that gives you full Discord REST API access through a bot token. Designed to be used with Claude Code, Cursor, or any MCP client.
Setup
Create a Discord application at https://discord.com/developers/applications
Add a bot and copy the token
Invite the bot to your server with Administrator permissions:
https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=8&scope=botEnable all Privileged Gateway Intents (Presence, Server Members, Message Content)
Related MCP server: Discord MCP Server
Install
npm install
npm run buildConfigure
Set environment variables:
export DISCORD_TOKEN="your-bot-token"
export DISCORD_GUILD_ID="your-guild-id"Use with Claude Code
Add to your MCP config (~/.claude/claude_code_config.json):
{
"mcpServers": {
"discord": {
"command": "node",
"args": ["/path/to/discord-mcp/dist/index.js"],
"env": {
"DISCORD_TOKEN": "your-bot-token",
"DISCORD_GUILD_ID": "your-guild-id"
}
}
}
}Available Tools
Channels
list_channels- List all server channelsget_channel- Get channel detailscreate_channel- Create a new channeledit_channel- Edit channel settingsdelete_channel- Delete a channel
Messages
get_messages- Get recent messagessend_message- Send a messagesend_embed- Send a rich embededit_message- Edit a bot messagedelete_message- Delete a messagebulk_delete_messages- Bulk delete messagespin_message/unpin_message- Pin managementget_pinned_messages- Get pinned messagesadd_reaction- React to a messagesearch_messages- Search messages in the server
Threads
create_thread- Create a thread
Members
list_members- List server memberssearch_members- Search by username/nicknameget_member- Get member detailsedit_member- Edit member (nickname, roles, mute, timeout)kick_member- Kick a memberban_member/unban_member- Ban managementlist_bans- List banned users
Roles
list_roles- List all rolescreate_role- Create a roleedit_role- Edit a roledelete_role- Delete a roleassign_role/remove_role- Role assignment
Server
get_server_info- Server detailsget_audit_log- View audit log
Invites
create_invite- Create an invitelist_invites- List active invitesdelete_invite- Delete an invite
Webhooks
list_webhooks- List webhookscreate_webhook- Create a webhook
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect a Discord bot (bot token from the developer portal) to read/send messages, list guilds and c
Control your Discord community: send/read messages, manage channels and forums, and handle webhook…
Access the GitHub API, enabling file operations, repository management, search functionality, and…
One AI endpoint to search and call 22k+ MCP servers; 50+ hosted tools work instantly, no key.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables direct interaction with the Discord API using both REST API calls and slash command syntax for bot management, server configuration, and message operations.19MIT
- AlicenseBqualityDmaintenanceEnables comprehensive Discord bot management and server operations through MCP, including channel management, message handling, member moderation, role management, and voice operations. Provides secure Discord API integration with built-in permission controls and audit logging capabilities.1988 npm18MIT
- AlicenseNot gradedqualityDmaintenanceProvides 33 tools for managing Discord servers, including channel and role administration, member moderation, and complex multi-step administrative workflows. It features built-in rate limiting and uses direct Discord REST API calls for efficient server operations.88 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Discord through the REST API and real-time events, supporting message management, user info, channel operations, and more with security controls.6 npm1MIT