discord-mcp
MCP server for Discord communications, enabling listing guilds and channels, reading and sending messages, creating threads, and adding reactions.
README
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.
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-mcp - Secret key:
DISCORD_ACCESS_TOKEN - Base URL:
https://discord.com/api/v10 - Header:
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.ai
For 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.py
In another terminal:
MCP_SERVER_URL=http://127.0.0.1:8080/mcp uv run python src/_client.py
Set 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.py
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.