VM

vibhanshu-mishra/discord-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

1 stars 0 forks 品質 80 トレンド 22MIT

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 .mcpb for one-click local installation (recommended for non-developers).

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.

  1. Download Discord-MCP-Server-2.2.1.mcpb from the project’s GitHub Releases page.
  2. Open Claude Desktop.
  3. Go to Settings → Extensions → Advanced settings.
  4. Select Install Extension.
  5. Choose the downloaded .mcpb file.
  6. 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).
GitHub で README 全文を見る

インストール

docker run --rm -i -e DISCORD_TOKEN=your_bot_token_here -v discord-analytics-data:/app/data discord-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "discord": { "command": "node", "args": ["/absolute/path/to/discord-mcp-server/dist/index.js"], "env": { "DISCORD_TOKEN": "your_bot_token_here" } } } }