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 Notifications 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(ストリーミング
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
- SkilderOAuthai.skilder
One place to build, share, and govern the skills and tools your AI agents use at work.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Discord servers through a bot, supporting channel management, messaging, forum operations, reactions, and webhooks.22400MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Discord by sending notifications, creating channels, and managing interactive questions with support for two-way responses. It allows for streamlined communication through channel keys and supports various question types like multiple-choice and extended-answer modals.-
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to manage Discord servers through natural language, offering tools for guilds, channels, messages, roles, members, webhooks, invites, and automations. Includes a conversational agent that responds to @mentions in Discord.8Apache 2.0
- 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.61MIT