mcp-discord

MCP-Discord

smithery badge

A Discord MCP (Model Context Protocol) server that enables AI assistants to interact with the Discord platform.

MCP-Discord MCP server

Overview

MCP-Discord provides the following Discord-related functionalities:

Table of Contents

Prerequisites

Installation

Installing via Smithery

To install mcp-discord for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @barryyip0625/mcp-discord --client claude

Manual Installation

# Clone the repository
git clone https://github.com/barryyip0625/mcp-discord.git
cd mcp-discord

# Install dependencies
npm install

# Compile TypeScript
npm run build

Configuration

A Discord bot token is required for proper operation. You can provide it in two ways:

  1. Environment variables:
    DISCORD_TOKEN=your_discord_bot_token
    
  2. Using the --config parameter when launching:
    node path/to/mcp-discord/build/index.js --config "{\"DISCORD_TOKEN\":\"your_discord_bot_token\"}"
    

Usage with Claude/Cursor

Tools Documentation

Basic Functions

Channel Management

Forum Functions

Messages and Reactions

Webhook Management

Development

# Development mode
npm run dev

License

MIT License