Claude Discord
FreeNot checkedEnables Claude Code to interact with Discord servers, including sending messages, reading channels, managing threads, and adding reactions via natural language
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の作成
- Discord Developer Portal にアクセス
- New Application をクリック → 名前を入力して作成
- 左メニュー Bot をクリック
2. Privileged Gateway Intentsの有効化
Botページの Privileged Gateway Intents セクションで、以下の3つをONにしてください:
- SERVER MEMBERS INTENT — メンバー一覧の取得に必要
- MESSAGE CONTENT INTENT — メッセージ内容の読み取りに必要
※ PRESENCE INTENTは任意です
3. Botトークンの取得
Botページの Token セクションで:
- Reset Token をクリック
- 表示されたトークンをコピー(一度しか表示されません)
4. Botをサーバーに招待
- 左メニュー OAuth2 をクリック
- OAuth2 URL Generator セクションの SCOPES で
botにチェック - BOT PERMISSIONS で以下にチェック:
- チャンネルを表示
- メッセージを送る
- 公開スレッドを作成
- プライベートスレッドを作成
- Threadsでメッセージを送る
- メッセージを管理
- メッセージ履歴を読む
- リアクションを付ける
- ページ下部の 生成されたURL をブラウザで開く
- 招待先のサーバーを選んで認証
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を再起動して、/mcp で discord-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
Install Claude Discord in Claude Desktop, Claude Code & Cursor
unyly install claude-discord-mcpInstalls 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-mcpFAQ
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
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
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
