MCP-Discord logo

MCP-Discord

by barryyip0625

MCP-Discord is a Discord MCP (Model Context Protocol) server that enables AI assistants to interact with the Discord platform. It provides functionalities to manage channels, messages, forum posts, and webhooks.

View on GitHub

Last updated: N/A

What is MCP-Discord?

MCP-Discord is a server that acts as a bridge between AI models and the Discord platform, allowing AI assistants to perform actions and retrieve information from Discord.

How to use MCP-Discord?

To use MCP-Discord, you need to install it either via Smithery or manually. After installation, configure it with a Discord bot token and then integrate it with AI platforms like Claude or Cursor using the provided configuration snippets. The server exposes various functions that AI models can call to interact with Discord.

Key features of MCP-Discord

  • Login to Discord bot

  • Get server information

  • Read/delete channel messages

  • Send messages to specified channels

  • Create/delete/reply to forum posts

  • Create/delete text channels

  • Add/remove message reactions

  • Create/edit/delete/use webhooks

Use cases of MCP-Discord

  • Automated moderation

  • AI-powered customer support

  • Discord bot development

  • Content creation and distribution

  • Community management

FAQ from MCP-Discord

What is a Discord bot token?

A Discord bot token is a secret key that authenticates your bot with the Discord API. You can obtain it from the Discord Developer Portal.

How do I enable Message Content Intent?

Message Content Intent can be enabled in the Discord Developer Portal under your bot's settings.

What permissions does the bot need?

The bot requires permissions such as Send Messages, Create Public Threads, Send Messages in Threads, Manage Threads, Manage Channels, and Add Reactions.

How do I install MCP-Discord manually?

Clone the repository, install dependencies using npm install, and compile TypeScript using npm run build.

How do I configure the Discord bot token?

You can provide the token via environment variables or using the --config parameter when launching the server.