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 "Deploy 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: discord-mcp
使えるツール(16種類)
カテゴリ | ツール | 説明 |
サーバー |
| Bot参加中のサーバー一覧 |
| サーバー詳細情報 | |
チャンネル |
| チャンネル一覧 |
| チャンネル詳細情報 | |
メッセージ |
| メッセージ送信 |
| メッセージ取得 | |
| メッセージに返信 | |
| メッセージ削除 | |
リアクション |
| リアクション追加 |
| リアクション取得 | |
スレッド |
| スレッド作成 |
| スレッド一覧 | |
| スレッドにメッセージ送信 | |
ユーザー |
| メンバー一覧 |
ロール |
| ロール一覧 |
| ロールのメンバー一覧 |
使い方の例
Claude Codeで自然言語で頼むだけです:
「Discordのサーバー一覧を見せて」
「#generalの最新メッセージ20件読んで」
「#generalに『お疲れ様です』と送って」
「そのメッセージに👍つけて」
「サーバーのメンバー一覧教えて」
ライセンス
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
- platform7nOAuthtech.p7n
Connect Claude to your Platform7n workspaces — chat, links, and tasks. One-click OAuth.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
One workspace of tools for Claude and ChatGPT: connect 600+ apps, generate media, build tools.
Give Claude only the Google Drive files you choose. Every action logged.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables interaction with Discord through natural language, including reading and sending messages, managing servers, and user actions.-
- AlicenseNot gradedqualityDmaintenanceEnables Claude to manage Discord servers through the Discord API, supporting server info, messaging, channel management, webhooks, and user interactions.8 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude to send messages to a Discord channel and read replies, allowing for notifications and approvals via Discord.MIT
- AlicenseNot gradedqualityBmaintenanceConnects Discord to Claude Code, turning forum threads into interactive sessions. Supports approvals, live progress, slash commands, and terminal access.MIT