Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Claude Discord

FreeNot checked

Enables Claude Code to interact with Discord servers, including sending messages, reading channels, managing threads, and adding reactions via natural language

GitHubEmbed

About

Enables Claude Code to interact with Discord servers, including sending messages, reading channels, managing threads, and adding reactions via natural language commands.

README

Claude CodeからDiscordを直接操作できるMCPサーバーです。

セットアップ

1. Discord Botの作成

  1. Discord Developer Portal にアクセス
  2. New Application をクリック → 名前を入力して作成
  3. 左メニュー Bot をクリック

2. Privileged Gateway Intentsの有効化

Botページの Privileged Gateway Intents セクションで、以下の3つをONにしてください:

  • SERVER MEMBERS INTENT — メンバー一覧の取得に必要
  • MESSAGE CONTENT INTENT — メッセージ内容の読み取りに必要

※ PRESENCE INTENTは任意です

3. Botトークンの取得

Botページの Token セクションで:

  1. Reset Token をクリック
  2. 表示されたトークンをコピー(一度しか表示されません)

4. Botをサーバーに招待

  1. 左メニュー OAuth2 をクリック
  2. OAuth2 URL Generator セクションの SCOPESbot にチェック
  3. BOT PERMISSIONS で以下にチェック:
    • チャンネルを表示
    • メッセージを送る
    • 公開スレッドを作成
    • プライベートスレッドを作成
    • Threadsでメッセージを送る
    • メッセージを管理
    • メッセージ履歴を読む
    • リアクションを付ける
  4. ページ下部の 生成されたURL をブラウザで開く
  5. 招待先のサーバーを選んで認証

5. Claude Codeに登録

ターミナルで以下を実行(あなたのBotトークン を手順3で取得したトークンに置き換え):

claude mcp add-json discord-mcp "{\"type\":\"stdio\",\"command\":\"npx\",\"args\":[\"claude-discord-mcp\"],\"env\":{\"DISCORD_BOT_TOKEN\":\"あなたのBotトークン\"}}"

または ~/.claude.json に直接追記:

{
  "mcpServers": {
    "discord-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["claude-discord-mcp"],
      "env": {
        "DISCORD_BOT_TOKEN": "あなたのBotトークン"
      }
    }
  }
}

6. 動作確認

Claude Codeを再起動して、/mcpdiscord-mcp が connected になっていればOKです。

使えるツール(16種類)

カテゴリ ツール 説明
サーバー discord_list_guilds Bot参加中のサーバー一覧
discord_get_guild_info サーバー詳細情報
チャンネル discord_list_channels チャンネル一覧
discord_get_channel_info チャンネル詳細情報
メッセージ discord_send_message メッセージ送信
discord_read_messages メッセージ取得
discord_reply_message メッセージに返信
discord_delete_message メッセージ削除
リアクション discord_add_reaction リアクション追加
discord_get_reactions リアクション取得
スレッド discord_create_thread スレッド作成
discord_list_threads スレッド一覧
discord_send_thread_message スレッドにメッセージ送信
ユーザー discord_list_members メンバー一覧
ロール discord_list_roles ロール一覧
discord_get_role_members ロールのメンバー一覧

使い方の例

Claude Codeで自然言語で頼むだけです:

  • 「Discordのサーバー一覧を見せて」
  • 「#generalの最新メッセージ20件読んで」
  • 「#generalに『お疲れ様です』と送って」
  • 「そのメッセージに👍つけて」
  • 「サーバーのメンバー一覧教えて」

ライセンス

MIT

from github.com/coco-famihiro/claude-discord-mcp

Install Claude Discord in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install claude-discord-mcp

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add claude-discord-mcp -- npx -y claude-discord-mcp

FAQ

Is Claude Discord MCP free?

Yes, Claude Discord MCP is free — one-click install via Unyly at no cost.

Does Claude Discord need an API key?

No, Claude Discord runs without API keys or environment variables.

Is Claude Discord hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Claude Discord in Claude Desktop, Claude Code or Cursor?

Open Claude Discord on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Claude Discord with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All communication MCPs