Discord MCP Server logo

Discord MCP Server

by hanweg

A Model Context Protocol (MCP) server that provides Discord integration capabilities to MCP clients like Claude Desktop. It allows MCP clients to interact with Discord servers.

View on GitHub

Last updated: N/A

What is Discord MCP Server?

This is a Model Context Protocol (MCP) server designed to enable Discord integration for MCP clients, such as Claude Desktop. It provides a set of tools to manage Discord servers, messages, channels, roles, and webhooks.

How to use Discord MCP Server?

To use this server, you need to install it via Smithery or manually by cloning the repository, setting up a virtual environment, installing the package, and configuring Claude Desktop with the appropriate command and environment variables, including your Discord bot token. Ensure your Discord bot has the necessary intents enabled.

Key features of Discord MCP Server

  • Server Information retrieval

  • Message Management (sending, reading, reacting, moderation)

  • Channel Management (creation, deletion)

  • Role Management (adding, removing)

  • Webhook Management (creation, listing, sending, modification, deletion)

Use cases of Discord MCP Server

  • Integrating Discord functionality into Claude Desktop

  • Automating Discord server management tasks

  • Building custom Discord bots with MCP

  • Enabling AI agents to interact with Discord

FAQ from Discord MCP Server

What is MCP?

Model Context Protocol is a framework for enabling communication between different AI models and applications.

How do I get a Discord bot token?

Create a new application at the Discord Developer Portal, create a bot, and copy the token.

What privileged intents do I need to enable?

You need to enable MESSAGE CONTENT INTENT, PRESENCE INTENT, and SERVER MEMBERS INTENT.

Where do I configure Claude Desktop?

The configuration file is located at %APPDATA%\Claude\claude_desktop_config.json on Windows and ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.

What if I'm using Python 3.13+?

Install the audioop library: uv pip install audioop-lts