Discord

Discord

aj-geddes

Provides complete Discord API integration with 80+ tools for server automation, moderation, and management through bot or user authentication modes.

Integrates with Discord's API to provide server management capabilities including messaging, moderation, role management, event scheduling, and community administration through 46+ specialized tools with robust error handling and deployment support.

2607 views2Local (stdio)

What it does

  • Manage Discord channels and roles
  • Handle messages and bulk operations
  • Control voice channels and permissions
  • Schedule events and automate workflows
  • Execute moderation actions
  • Configure webhooks and bots

Best for

Discord server administratorsCommunity managers automating moderationDevelopers building Discord botsTeams managing large Discord communities
80+ Discord API toolsBot and user authentication modesBulk operations support

About Discord

Discord is a community-built MCP server published by aj-geddes that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrates with Discord API for advanced server management—messaging, moderation, roles, events & more via 46+ tools. Re It is categorized under communication, developer tools.

How to install

You can install Discord in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Discord is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Discord Agent MCP

Documentation License: MIT Node.js MCP

AI-Powered Discord Server Management - A production-ready Model Context Protocol (MCP) server with 71 tools for comprehensive Discord automation through Claude AI.


Documentation

View Full Documentation →


What Is This?

Discord Agent MCP bridges Claude AI with Discord, letting you manage your server through natural language. Instead of clicking through Discord's interface or writing code, just tell Claude what you want:

"Create a gaming community server with voice channels for different games,
a welcome channel, and moderator roles"

Claude handles the rest using the 71 Discord management tools provided by this MCP server.


Features

71 Discord Tools

CategoryToolsDescription
Messaging10Send, edit, delete, react, pin messages
Channels10Create, modify, delete channels and permissions
Threads3Create and manage forum threads
Server7Settings, webhooks, invites, audit logs
Members3Info, listings, nicknames
Roles7Create, assign, modify roles
Moderation6Kick, ban, timeout, manage bans
Emojis4Custom emoji management
Stickers4Custom sticker management
Events6Scheduled events
Auto-Mod5Automatic moderation rules
Commands6Slash command management

Production Ready

  • Persistent Connection: Robust Discord.js client with automatic reconnection
  • Type Safe: Full TypeScript with Zod validation
  • Comprehensive Errors: Detailed error messages with resolution guidance
  • Structured Logging: JSON logging with configurable levels
  • Flexible Deployment: Local, Docker, or Kubernetes

Claude Code Integration

First-class support for Anthropic's Claude Code CLI:

claude mcp add --transport http discord-agent http://localhost:3000/mcp

Quick Start

1. Prerequisites

2. Install

git clone https://github.com/aj-geddes/discord-agent-mcp.git
cd discord-agent-mcp
npm install

3. Configure

cp .env.example .env
# Edit .env and add your DISCORD_TOKEN

4. Run

npm run build
npm start
# Server runs at http://localhost:3000/mcp

5. Connect to Claude Code

claude mcp add --transport http discord-agent http://localhost:3000/mcp

Full Setup Guide →


Deployment Options

Docker

docker build -t discord-mcp-server:latest .
docker run -d -p 3000:3000 -e DISCORD_TOKEN=your_token discord-mcp-server:latest

Docker Compose

version: '3.8'
services:
  discord-mcp:
    build: .
    ports:
      - "3000:3000"
    environment:
      - DISCORD_TOKEN=${DISCORD_TOKEN}
    restart: unless-stopped

Kubernetes

kubectl apply -f k8s/

Full Deployment Guide →


Configuration

VariableRequiredDefaultDescription
DISCORD_TOKENYes-Discord bot token
TRANSPORT_MODENohttphttp or stdio
HTTP_PORTNo3000Server port
LOG_LEVELNoinfodebug, info, warn, error

Example Usage

Once connected, use natural language in Claude Code:

Server Setup:

"Set up a gaming community with channels for Minecraft, Valorant, and general chat"

Moderation:

"Timeout user 123456789 for 1 hour for spam"

Events:

"Create a voice event called 'Game Night' for Saturday at 8 PM"

Automation:

"Set up auto-moderation to block spam and timeout repeat offenders"

Security

  • Never commit tokens - Use .env files (gitignored)
  • Rotate tokens - Regenerate periodically
  • Least privilege - Only grant necessary permissions
  • Audit logs - Monitor bot actions

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Test with a development Discord server
  4. Submit a pull request

See CONTRIBUTING.md for guidelines.


Resources


License

MIT License - See LICENSE for details.


Discord Agent MCP - AI-Powered Discord Server Management
Built with TypeScript, Discord.js, and the Model Context Protocol

Alternatives

Related Skills

Browse all skills
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

6
cli-builder

Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.

2
smithery-ai-cli

Find, connect, and use MCP tools and skills via the Smithery CLI. Use when the user searches for new tools or skills, wants to discover integrations, connect to an MCP, install a skill, or wants to interact with an external service (email, Slack, Discord, GitHub, Jira, Notion, databases, cloud APIs, monitoring, etc.).

1
openai-knowledge

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

0
api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

0
ydc-ai-sdk-integration

Integrate Vercel AI SDK applications with You.com tools (web search, AI agent, content extraction). Use when developer mentions AI SDK, Vercel AI SDK, generateText, streamText, or You.com integration with AI SDK.

0