
vibhanshu-mishra/discord-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
An MCP server for safely reading server activity, syncing message history, storing local analytics, generating community metrics
概要
Discord MCP Server supports full Discord read/write operations and local analytics. The packaged Claude Desktop extension enables the registered Discord tools by default, while an optional source-level read-only mode remains available for restricted deployments. - The packaged extension starts with DISCORD_READ_ONLY=false; messages, threads, channels, roles, member moderation, permissions, webhooks, invites, scheduled events, forums, bot DMs, and analytics tools are available immediately. - Developers and restricted deployments can still set DISCORD_READ_ONLY=true, which hides and blocks Discord mutations while allowing local analytics operations. - Messages, reactions, threads, and voice sessions are stored in a database on your own machine. - Member engagement, per-user activity, staff response health, unanswered/unacknowledged candidates, training cadence, office-hour attendance, and weekly reports are all reproducible, no black box.
README
以下は原文 README の抜粋です。原文を見る。
Project overview
Discord MCP Server supports full Discord read/write operations and local analytics. The packaged Claude Desktop extension enables the registered Discord tools by default, while an optional source-level read-only mode remains available for restricted deployments.
- Write-enabled desktop extension. The packaged extension starts with
DISCORD_READ_ONLY=false; messages, threads, channels, roles, member moderation, permissions, webhooks, invites, scheduled events, forums, bot DMs, and analytics tools are available immediately. - Optional source-level read-only mode. Developers and restricted deployments can still set
DISCORD_READ_ONLY=true, which hides and blocks Discord mutations while allowing local analytics operations. - Private local SQLite analytics. Messages, reactions, threads, and voice sessions are stored in a database on your own machine.
- Deterministic metrics. Member engagement, per-user activity, staff response health, unanswered/unacknowledged candidates, training cadence, office-hour attendance, and weekly reports are all reproducible, no black box.
- Privacy-controlled qualitative analysis. Lexical topic candidates, recurring-question groups, feedback signals, conversation context, and evidence packets. Message content output is off by default, and the server calls no external AI provider, your MCP client does any interpretation.
- Operations CLI. Diagnose (
doctor), check the database, sync history, back up, export, and prune from the terminal, no MCP client required. - Claude Desktop extension. Package everything as a single
.mcpbfor one-click local installation (recommended for non-developers).
Recommended installation — Claude Desktop extension (no coding)
The easiest way to use Discord MCP Server is the one-click desktop extension. You do not need to clone this repository, install Node.js, run npm, or edit any JSON.
- Download
Discord-MCP-Server-2.2.1.mcpbfrom the project’s GitHub Releases page. - Open Claude Desktop.
- Go to Settings → Extensions → Advanced settings.
- Select Install Extension.
- Choose the downloaded
.mcpbfile. - Complete the configuration form:
- Discord bot token (from the Discord Developer Portal).
- Discord server (guild) ID (enable Developer Mode in Discord → right-click the server → Copy Server ID).
インストール
docker run --rm -i -e DISCORD_TOKEN=your_bot_token_here -v discord-analytics-data:/app/data discord-mcp設定
{
"mcpServers": {
"discord": {
"command": "node",
"args": ["/absolute/path/to/discord-mcp-server/dist/index.js"],
"env": { "DISCORD_TOKEN": "your_bot_token_here" }
}
}
}