Skip to main content
Glama

Discord MCP

FastMCP Version Ruff Linted with Biome Built with Just

リポジトリ: 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

セットアップ

  1. Discord Developer Portal でボットを作成し、ボットトークンをコピーします。

  2. ボットをサーバーに招待します(OAuth2 URL Generator、スコープ: bot)。

  3. .env.exampleリポジトリルートの .env (discord-mcp/.env) にコピーし、DISCORD_TOKEN=... を設定します(引用符は不要)。バックエンドは 起動時にこのファイルを読み込みます (python-dotenv)。.env を変更した後はサーバーを 再起動 してください。トークンがシステム環境変数またはCursor MCPの env に既に設定されている場合、その値が優先されます(.env は既存の変数を上書きしません)。

  4. ローカルエージェントサンプリング(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 10756

  • Stdio (MCPのみ): uv run python -m discord_mcp.server --mode stdio

Cursor MCP

  • このリポジトリをワークスペースルートにする場合: .cursor/mcp.jsondiscord-mcp (stdio) を登録します。そのファイルの envDISCORD_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 (ストリーミング

Maintenance

ActivityActive
ResponsivenessUnresponsive

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

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables 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.
    8
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    6
    1
    MIT