mcp-discord

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides Discord integration capabilities including server management, message management, channel management, role management, and webhook management.

Discord MCP サーバー

Claude Desktop などの MCP クライアントに Discord 統合機能を提供する Model Context Protocol (MCP) サーバー。

利用可能なツール

サーバー情報

  • get_server_info : 詳細なサーバー情報を取得する
  • list_members : サーバーのメンバーとその役割を一覧表示する

メッセージ管理

  • send_message : チャネルにメッセージを送信する
  • read_messages : 最近のメッセージ履歴を読む
  • add_reaction : メッセージに反応を追加する
  • add_multiple_reactions : メッセージに複数の反応を追加する
  • remove_reaction : メッセージから反応を削除する
  • moderate_message : メッセージを削除し、ユーザーをタイムアウトさせる

チャンネル管理

  • create_text_channel : 新しいテキストチャンネルを作成する
  • delete_channel : 既存のチャンネルを削除する

役割管理

  • add_role : ユーザーにロールを追加する
  • remove_role : ユーザーからロールを削除する

Webhook管理

  • create_webhook : 新しいWebhookを作成する
  • list_webhooks : チャネル内のウェブフックを一覧表示する
  • send_webhook_message : Webhook経由でメッセージを送信する
  • modify_webhook : Webhook設定を更新する
  • delete_webhook : Webhookを削除する

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Discord サーバーを自動的にインストールするには:

npx -y @smithery/cli install @hanweg/mcp-discord --client claude
  1. Discord ボットを設定します。
    • Discord開発者ポータルで新しいアプリケーションを作成する
    • ボットを作成し、トークンをコピーする
    • 必要な特権インテントを有効にします。
      • メッセージ内容の意図
      • プレゼンスインテント
      • サーバーメンバーの意図
    • OAuth2 URLジェネレータを使用してボットをサーバーに招待する
  2. パッケージをクローンしてインストールします。
# Clone the repository git clone https://github.com/hanweg/mcp-discord.git cd mcp-discord # Create and activate virtual environment uv venv .venv\Scripts\activate ### If using Python 3.13+ - install audioop library: `uv pip install audioop-lts` # Install the package uv pip install -e .
  1. Claude Desktop を構成します (Windows の場合は%APPDATA%\Claude\claude_desktop_config.json 、macOS の場合は~/Library/Application Support/Claude/claude_desktop_config.json ):
"discord": { "command": "uv", "args": [ "--directory", "C:\\PATH\\TO\\mcp-discord", "run", "mcp-discord" ], "env": { "DISCORD_TOKEN": "your_bot_token" } }

ライセンス

MIT ライセンス - 詳細については LICENSE ファイルを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

Claude Desktop などの MCP クライアントに Discord 統合機能を提供します。

  1. Available Tools
    1. Server Information
    2. Message Management
    3. Channel Management
    4. Role Management
    5. Webhook Management
  2. Installation
    1. Installing via Smithery
  3. License
    ID: wvwjgcnppa