Getting Started Guide 
Welcome to Discord MCP! This guide will help you set up and start using the Discord Model Context Protocol server.
Prerequisites 
- Node.js >= 20.11.0
 - A Discord Bot Token (Create one here)
 - Claude Desktop or another MCP-compatible client
 
Installation 
- Clone the repository:
 
bash
git clone https://github.com/bennettschwartz/discord-mcp.git
cd discord-mcp- Install dependencies:
 
bash
npm install- Build the project:
 
bash
npm run buildConfiguration 
Create a .env file from the example:
bash
cp .env.example .envEdit .env with your Discord bot token:
env
DISCORD_BOT_TOKEN=your_bot_token_hereFor more detailed configuration options, see the Configuration Guide.
Running the Server 
Development Mode 
bash
npm run devProduction Mode 
bash
npm startNext Steps 
- Learn about Tool Packs to enable additional features
 - Explore Examples of common use cases
 - Understand the Security Model for safe operation
 - Set up Gateway Events for real-time Discord data