Discord MCP
Discord MCP
リポジトリ: github.com/sandraschi/discord-mcp
FastMCP 3.1 Discord MCPサーバー。サンプリング(サーバーサイドのOllama / OpenAI互換またはクライアントLLM)、エージェントワークフロー (discord_agentic_workflow)、スキル (SkillsDirectoryProvider + skill:///SKILL.md)、プロンプト、および2026年フリートスタイルのダッシュボード(React + Vite + Tailwind、ダークガラスシェル)を備えています。
ポート
バックエンド: 10756 REST (
/api/v1/) + MCP ストリーミング可能HTTP (/mcp)フロントエンド: 10757
Related MCP server: Discord MCP Server
セットアップ
Discord Developer Portal でボットを作成し、ボットトークンをコピーします。
ボットをサーバーに招待します(OAuth2 URL Generator、スコープ:
bot)。.env.exampleを リポジトリルートの.env(discord-mcp/.env) にコピーし、DISCORD_TOKEN=...を設定します(引用符は不要)。バックエンドは 起動時にこのファイルを読み込みます (python-dotenv)。.envを変更した後はサーバーを 再起動 してください。トークンがシステム環境変数またはCursor MCPのenvに既に設定されている場合、その値が優先されます(.envは既存の変数を上書きしません)。ローカルエージェントサンプリング(MCPホストがサンプリングを提供しない場合): Ollama を実行し、必要に応じて
DISCORD_SAMPLING_BASE_URL/DISCORD_SAMPLING_MODELを設定します。ホスト LLMにサンプリングさせ、サーバーハンドラーをフォールバックとしてのみ使用したい場合は、DISCORD_SAMPLING_USE_CLIENT_LLM=1を設定します。
実行
Webアプリ(バックエンド + ダッシュボード): リポジトリルートから
.\start.ps1またはstart.batを実行するか、webapp/から.\start.ps1を実行します。バックエンドのみ:
uv run python -m discord_mcp.server --mode dual --port 10756Stdio (MCPのみ):
uv run python -m discord_mcp.server --mode stdio
Cursor MCP
このリポジトリをワークスペースルートにする場合:
.cursor/mcp.jsonで discord-mcp (stdio) を登録します。そのファイルのenvにDISCORD_TOKENを設定するか、シェル環境変数に依存してください。編集後はMCPをリロードするか、Cursorを再起動してください。グローバル / マルチルートマージ:
cursor-config-template.jsonからdiscord-mcpブロックをユーザーのMCP JSON(Windows:%USERPROFILE%\.cursor\mcp.json)にコピーします。デフォルトのD:/Dev/repos/discord-mcpを使用していない場合は、cwdをクローンパスに合わせて調整してください。
MCP HTTP (リモート / インスペクター)
エンドポイント:
http://localhost:10756/mcp(ストリーミング
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Control your Discord community: send/read messages, manage channels and forums, and handle webhook…
Discord MCP server for ChatGPT, Claude and any AI agent: list servers and channels, read channel messages, search messages, send message, reply to message, send DM, read mentions and assign role in your own Discord account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discord yourself; Cotlet does not store your password and you need no Discord API key. About the official Discord API: Yes, Discord has an official API for bots and OAuth2 apps, but it acts as a bot that a server manager adds, not as you, and Discord has no official MCP server for it (checked 5 Nov 2026). The MCP server on Discord's docs site only searches documentation. Setup and FAQ: https://cotlet.dev/integrations/discord-api-mcp-server
Build Discord communities with AI: roles, channels, modules, automations and reviewed announcements.
Let AI agents read your Discord community's analytics, members and tickets, and save drafts.
Related MCP Servers
- 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.23 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to send and read messages in Discord channels, manage servers, channels, and roles via Discord's API.14 npm2MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to read messages, discover channels, send messages, and monitor Discord communities using the Discord HTTP API.-
- AlicenseNot gradedqualityBmaintenanceExposes the full Discord API to LLM agents so they can send and manage rich messages, channels, threads, members, roles, moderation, AutoMod, webhooks, and interactive components. Acts as a drop-in replacement for the legacy Java/Spring implementation, keeping all 75 original tools while adding embeds, polls, files, server configuration, and restart-safe role menus.92 npmMIT