Discord Notification MCP Server

Sends notifications to Discord channels or users via a bot.

Discord Notification MCP Server

Discord に Claude から通知を送信し、返信を受け取る MCP サーバー

セットアップ

  1. リポジトリをクローン
git clone git@github.com:s-yu-yu-yu/discord-notification-mcp.git
cd discord-notification-mcp
  1. 依存関係をインストール
bun install
  1. 設定ファイルを作成
cp discord-config.sample.json discord-config.json
  1. discord-config.jsonを編集
{
  "discord_token": "Discordボットトークン",
  "channel_id": "チャンネルID",
  "user_id": "ユーザーID"
}
  1. ビルド
bun run build

Claude Desktop での使用

Claude Desktop の設定に以下を追加:

{
  "mcpServers": {
    "discord-notification": {
      "command": "node",
      "args": ["/path/to/discord-notification-mcp/dist/index.js"]
    }
  }
}

機能

  • Discord 通知送信(メンション付き)
  • 返信待機機能(タイムアウト設定可能)
  • 設定の動的変更

必要な権限

Discord ボットに以下の権限が必要:

  • メッセージの送信
  • メッセージ履歴の読み取り
  • チャンネルの閲覧

Related Servers