# iprashantraj/mcp-discord-bridge [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/iprashantraj/mcp-discord-bridge  
**GitHub Stars:** 4  
**npm Downloads (last month):** 147  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/iprashantraj-mcp-discord-bridge

## Description
Discord MCP server with 46 tools for channels, messages, forums, webhooks, members, roles, threads, and moderation. Zero-install via npx -y mcp-discord-bridge. Also runs as a standalone bot with slash commands.

## Tools
Capabilities this server exposes over MCP:

- **list_guilds** — List all Discord servers the bot is in
- **list_channels** — List all channels and categories in a Discord server
- **create_category** — Create a new category in a Discord server
- **create_channel** — Create a text or voice channel, optionally inside a category
- **delete_channel** — Delete a channel or category by ID
- **move_channel** — Move a channel into a different category
- **rename_channel** — Rename a channel or category
- **get_channel_messages** — Fetch recent messages from a text channel
- **send_message** — Send a message to a Discord text channel
- **delete_message** — Delete a message by channel and message ID
- **edit_message** — Edit a bot message by channel and message ID
- **search_messages** — Search the 100 most recent messages in a channel by keyword (Discord exposes no full-history search to bots)
- **send_dm** — Send a direct message to a user
- **add_reaction** — Add an emoji reaction to a message
- **remove_reaction** — Remove the bot's emoji reaction from a message
- **add_multiple_reactions** — Add multiple emoji reactions to a message at once
- **list_forum_channels** — List all forum channels in a server
- **create_forum_post** — Create a new forum post with title and content
- **get_forum_post** — Fetch a forum post and its messages
- **reply_to_forum_post** — Reply to an existing forum post
- **delete_forum_post** — Delete a forum post
- **create_webhook** — Create a webhook for a channel
- **send_webhook_message** — Send a message via a webhook
- **edit_webhook** — Edit an existing webhook
- **delete_webhook** — Delete a webhook
- **list_members** — List members in a Discord server (up to 1000)
- **get_member** — Get detailed information about a specific guild member
- **list_roles** — List all roles in a Discord server
- **assign_role** — Assign a role to a guild member
- **remove_role** — Remove a role from a guild member
- **kick_member** — Kick a member from the server
- **ban_member** — Ban a user from the server
- **unban_member** — Unban a user from the server
- **timeout_member** — Timeout (mute) a member for a specified duration
- **set_nickname** — Set or reset a member's nickname
- **create_role** — Create a new role in the server
- **edit_role** — Edit an existing role's name or color
- **delete_role** — Delete a role from the server
- **create_thread** — Create a new thread in a text channel
- **list_threads** — List active and archived threads in a channel
- **archive_thread** — Archive a thread, optionally locking it
- **unarchive_thread** — Unarchive a thread
- **join_thread** — Make the bot join a thread
- **delete_thread** — Delete a thread

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-discord-bridge": {
    "command": "npx",
    "args": ["-y","mcp-discord-bridge"],
    "env": {
      "DISCORD_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `DISCORD_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What iprashantraj/mcp-discord-bridge MCP server does

iprashantraj/mcp-discord-bridge MCP server connects an MCP client to a Discord bot account. The bot can inspect servers, channels, recent messages, forum channels, members, and roles, then perform supported actions such as creating or renaming channels, sending messages, managing reactions, creating forum posts, and assigning roles.

The available operations also cover webhooks and direct messages. Depending on the requested action, the tool set can create, edit, or delete Discord resources. The project additionally includes a separate standalone bot entrypoint with `/ping`, `/info`, and `/serverinfo` slash commands.

## How it works

An MCP application communicates with `mcp-server.ts` over stdio using JSON-RPC. The server publishes tool schemas and routes calls through a handler registry. Those handlers validate arguments, check bot permissions, and use a shared Discord client for login and connection state.

The architecture marks tools with read-only or destructive annotations and supports read-only mode. This gives an MCP client information about the nature of an operation before it runs, while the bot's Discord permissions still determine whether the requested action succeeds.

## Setup and configuration

Create a Discord application and bot in the Discord Developer Portal, copy its token, and invite it to the target server.

For a standard MCP setup, add the following command and environment variable to the client configuration:

```json
{
  "command": "npx",
  "args": ["-y", "mcp-discord-bridge"],
  "env": {
    "DISCORD_TOKEN": "your_bot_token"
  }
}
```

No repository clone or local package installation is needed for this approach. Contributors can clone the project, install dependencies, and run the TypeScript entrypoint with `ts-node`. The repository also documents Docker deployment and a separate command path for running the standalone bot.

## Tools and capabilities

The documented tool groups include:

- Listing guilds, channels, categories, forum channels, members, and roles.
- Creating, moving, renaming, and deleting channels and categories.
- Reading recent channel messages, sending messages and DMs, editing or deleting bot messages, and adding or removing reactions.
- Creating, reading, replying to, and deleting forum posts.
- Creating, sending through, editing, and deleting webhooks.
- Creating, editing, deleting, assigning, and removing roles.

Use the individual tool definitions exposed by the installed version as the authoritative list for a particular deployment.

## Limitations and notes

iprashantraj/mcp-discord-bridge MCP server cannot provide unrestricted message-history search through Discord bots. Its keyword search is limited to the 100 most recent messages in a channel, and channel-message retrieval is also described as recent-message access. Member listing is limited to up to 1,000 members.

Actions depend on the bot's role and invited permissions. Channel, role, webhook, message, and moderation operations can change or remove Discord data, so clients should distinguish read-only requests from destructive ones. The standalone slash-command bot is separate from the MCP transport, although both entrypoints reuse the shared Discord client setup.

_Full upstream README: https://allmcps.com/mcp/iprashantraj-mcp-discord-bridge/readme_

