# Discord MCP

> Discord MCP is an open-source MCP server for communication. MCP server for managing Discord servers: chat, moderation, admin and server building. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, Discord, Self-hosted
- **Repository:** https://github.com/orygnscode/discord-mcp
- **GitHub stars:** 12
- **License:** Apache-2.0
- **MCP Registry name:** io.github.OrygnsCode/discord-mcp
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-23

## About

discord-mcp lets an AI assistant operate a Discord server through your own bot. It covers messaging, moderation, administration, community features and building out a full server from a short brief, with roles, categories, channels and permissions.

It runs locally over stdio with no model or cloud service inside it. Rate limits are respected, and destructive actions are shown as a preview first and, in clients that support it, require a confirmation the AI cannot answer. An init wizard verifies the bot token, creates an invite link and registers the server with detected clients.

It is for community managers and developers who want an assistant to run or set up Discord servers. It was formerly named Omnicord.

## Features

- **Server building:** Plan and apply roles, categories, channels and permissions from a brief.
- **Moderation tools:** Timeouts, kicks, bans and bulk actions shown as previews first.
- **Messaging:** Send, edit, pin, react, schedule messages and use embeds and webhooks.
- **Safety gates:** Destructive actions need a preview and confirmation.
- **Setup wizard:** An init command configures the bot token and client entries.
- **Blueprints and undo:** Export, diff and rebuild layouts, and undo structural changes.

## Good for

- Build a community server from a paragraph brief
- Moderate members and clean up spam
- Catch up on what happened in channels
- Audit a server's permissions
- Schedule announcements and events

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add discord-mcp --env DISCORD_TOKEN='<DISCORD_TOKEN>' -- npx -y @orygn/discord-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add discord-mcp --env DISCORD_TOKEN='<DISCORD_TOKEN>' -- npx -y @orygn/discord-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.discord-mcp]
command = "npx"
args = ["-y", "@orygn/discord-mcp"]
env = { DISCORD_TOKEN = "<DISCORD_TOKEN>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e DISCORD_TOKEN='<DISCORD_TOKEN>' discord-mcp npx -- -y @orygn/discord-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "discord-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orygn/discord-mcp"
      ],
      "env": {
        "DISCORD_TOKEN": "<DISCORD_TOKEN>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 1 tool changes data. From the server's own tool labels and tool names; not verified by us.

- `run_setup_check` (name suggests: changes): Checks the Discord bot setup and reports fixes in plain language.

## FAQ

### What do I need?

Node 22 or newer, a Discord account and a bot token.

### Where is the token stored?

In a file on your machine.

### Does Discord MCP include an AI model?

No. Your AI client is the model; this server only performs the actions.

### What license applies?

Apache 2.0.

### Is Discord MCP free?

Yes. Discord MCP is open source, so you can use and self-host it for free.

### How do I add Discord MCP to Claude Code?

Run this command in your terminal: claude mcp add discord-mcp --env DISCORD_TOKEN='<DISCORD_TOKEN>' -- npx -y @orygn/discord-mcp

### What are the best alternatives to Discord MCP?

The closest alternatives to Discord MCP are TrendRadar, TryPost, Gmail MCP, Getmitra and Valentina.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [TrendRadar](https://ai-powered.com/mcp/trendradar): TrendRadar is an open-source MCP server for communication.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Gmail MCP](https://ai-powered.com/mcp/gmail-mcp-3): Gmail MCP is an open-source MCP server for communication.
- [Getmitra](https://ai-powered.com/mcp/getmitra): Getmitra is an MCP server for communication.
- [Valentina](https://ai-powered.com/mcp/valentina): Valentina is an MCP server for e-commerce.
- [Carla](https://ai-powered.com/mcp/carla): Carla is an MCP server for communication.
- [MCP for iCloud](https://ai-powered.com/mcp/mcp-for-icloud-2): MCP for iCloud is an MCP server for communication.
- [Agent Email Transactional Dispatcher (x402)](https://ai-powered.com/mcp/agent-email-transactional-dispatcher-x402): Agent Email Transactional Dispatcher (x402) is a paid MCP server for communication.

---
Source: https://ai-powered.com/mcp/discord-mcp
