
rastrian/discordmcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
A multi-server Discord control plane that exposes Discord operations as MCP tools, resources, and prompts for AI clients, with a built-in conversational AI agent.
Обзор
A multi-server Discord control plane that exposes Discord operations as MCP tools, resources, and prompts for AI clients. Includes a built-in conversational AI agent that responds to Discord @mentions. Users connect their Discord identity via OAuth2, install the platform bot into their servers, and then interact through MCP-compatible AI clients or by @mentioning the bot directly in Discord. The platform translates natural language requests into safe, authorized Discord operations: - "List my servers and channels" - "Summarize the last 100 messages in #general" - "Create a support channel and set permissions" - "Create an automation that answers FAQs in #support" - "Draft a moderation warning for this message" This is not a self-bot. It does not use user tokens, control personal Discord accounts, scrape DMs, or bypass Discord permissions/rate limits. All operations execute through authorized bot accounts using official Discord APIs.
README
Показан фрагмент оригинального README. Открыть оригинал.
Discord MCP Platform
A multi-server Discord control plane that exposes Discord operations as MCP tools, resources, and prompts for AI clients. Includes a built-in conversational AI agent that responds to Discord @mentions.
What It Does
Users connect their Discord identity via OAuth2, install the platform bot into their servers, and then interact through MCP-compatible AI clients or by @mentioning the bot directly in Discord.
The platform translates natural language requests into safe, authorized Discord operations:
- “List my servers and channels”
- “Summarize the last 100 messages in #general”
- “Create a support channel and set permissions”
- “Create an automation that answers FAQs in #support”
- “Draft a moderation warning for this message”
What This Is Not
This is not a self-bot. It does not use user tokens, control personal Discord accounts, scrape DMs, or bypass Discord permissions/rate limits. All operations execute through authorized bot accounts using official Discord APIs.
Architecture
graph TD
subgraph "Clients"
AI["AI Client / MCP Client"]
DU["Discord User"]
end
subgraph "Platform"
MCPS["MCP Server66 tools"]
GW["Discord GatewayWebSocket"]
PE["Policy Engine"]
AGENT["Agent Service~60 tools"]
SVC["Discord Service Layer107 async REST methods"]
end
AI -->|MCP call| MCPS
DU -->|"@mention"| GW
MCPS --> PE
GW --> AGENT
AGENT --> PE
PE --> SVC
SVC -->|API v10| DISC["Discord API"]
graph LR
subgraph "Authorization Flow"
direction TB
A1["1. MCP client auth"] --> A2["2. Workspace membership"]
A2 --> A3["3. Guild installation check"]
A3 --> A4["4. Platform role/permission"]
A4 --> A5["5. Channel policy check"]
A5 --> A6["6. Discord bot permission"]
A6 --> A7["7. Rate-limit check"]
A7 --> A8["8. Execute & audit"]
end
Features
MCP Server (66 tools)
graph LR
subgraph "MCP Tools by Domain"
G["Guild4 tools"]
CH["Channel7 tools"]
MSG["Message7 tools"]
MOD["Moderation2 tools"]
THR["Thread1 tool"]
ROLE["Role7 tools"]
MEM["Member6 tools"]
WH["Webhook6 tools"]
INV["Invite8 tools"]
AUTO["Automation1 tool"]
AUD["Audit1 tool"]
REA["Reaction4 tools"]
EVT["Event6 tools"]
AMOD["Automod5 tools"]
end
| Domain | Tools |
|---|---|
| Guild | list, get, modify, incident_actions (lockdown) |
| Channel | list, get, create, edit, delete, edit_permissions, delete_permissions |
| Message | list_recent, send, get, edit, send_embed, delete, bulk_delete |
| Moderation | delete, bulk_delete |
| Thread | create |
| Role | list, create, modify, delete, reorder, assign, remove |
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"discord": {
"command": "uv",
"args": ["run", "python", "-m", "discord_mcp_platform.mcp.server"],
"env": {
"DISCORD_BOT_TOKEN": "your-bot-token"
}
}
}
}