claude-discord-mcp
Provides tools to interact with Discord servers, including listing servers and channels, sending and reading messages, managing reactions, threads, members, and roles.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-discord-mcpread the latest messages in #general"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-discord-mcp
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です。
Related MCP server: poke_discord
使えるツール(16種類)
カテゴリ | ツール | 説明 |
サーバー |
| Bot参加中のサーバー一覧 |
| サーバー詳細情報 | |
チャンネル |
| チャンネル一覧 |
| チャンネル詳細情報 | |
メッセージ |
| メッセージ送信 |
| メッセージ取得 | |
| メッセージに返信 | |
| メッセージ削除 | |
リアクション |
| リアクション追加 |
| リアクション取得 | |
スレッド |
| スレッド作成 |
| スレッド一覧 | |
| スレッドにメッセージ送信 | |
ユーザー |
| メンバー一覧 |
ロール |
| ロール一覧 |
| ロールのメンバー一覧 |
使い方の例
Claude Codeで自然言語で頼むだけです:
「Discordのサーバー一覧を見せて」
「#generalの最新メッセージ20件読んで」
「#generalに『お疲れ様です』と送って」
「そのメッセージに👍つけて」
「サーバーのメンバー一覧教えて」
ライセンス
MIT
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.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/coco-famihiro/claude-discord-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server