Discord MCP
An open-source Model Context Protocol server for Discord that enables AI agents to perform caller-owned operations on Discord communities. It provides 222 typed tools for managing messages, channels, roles, and moderation, supporting workflows like building guilds, verifying changes, and running background tasks through a local stdio or HTTP endpoint.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Manage messages, threads, forums, roles, events, polls, and onboarding
- Moderate a server with permission checks, role audits, bans, and AutoMod
- Build a server from a prompt with resumable execution and final verification
- Run background workflows with durable sequences and cooperative cancellation
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@discord-mcp/cli 0.32.1
{
"version": "0.32.1",
"transport": "stdio",
"identifier": "@discord-mcp/cli",
"registryType": "npm",
"environmentVariables": [
{
"name": "DISCORD_TOKEN",
"format": "string",
"isRequired": true,
"description": "Discord bot token. The optional Bot prefix is accepted."
},
{
"name": "DISCORD_EXPECTED_BOT_ID",
"format": "string",
"description": "Expected Discord bot ID. Startup fails if the token belongs to another bot."
},
{
"name": "ALLOWED_GUILDS",
"format": "string",
"description": "Comma-separated Discord guild IDs this deployment may operate against."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli@0.32.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>",
"DISCORD_EXPECTED_BOT_ID": "<YOUR_DISCORD_EXPECTED_BOT_ID>",
"ALLOWED_GUILDS": "<YOUR_ALLOWED_GUILDS>"
}
}
}
}Cline
{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli@0.32.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>",
"DISCORD_EXPECTED_BOT_ID": "<YOUR_DISCORD_EXPECTED_BOT_ID>",
"ALLOWED_GUILDS": "<YOUR_ALLOWED_GUILDS>"
}
}
}
}VS Code
{
"servers": {
"discord-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli@0.32.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>",
"DISCORD_EXPECTED_BOT_ID": "<YOUR_DISCORD_EXPECTED_BOT_ID>",
"ALLOWED_GUILDS": "<YOUR_ALLOWED_GUILDS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"discord-mcp": {
"command": "npx",
"args": [
"-y",
"@discord-mcp/cli@0.32.1"
],
"env": {
"DISCORD_TOKEN": "<YOUR_DISCORD_TOKEN>",
"DISCORD_EXPECTED_BOT_ID": "<YOUR_DISCORD_EXPECTED_BOT_ID>",
"ALLOWED_GUILDS": "<YOUR_ALLOWED_GUILDS>"
}
}
}
}Let your agent find its tools
Find servers like Discord MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.