# Discord [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/mcp-dir/discord-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/discord

## Description
Connect a Discord bot (bot token from the developer portal) to read/send messages, list guilds and c

## Tools
Capabilities this server exposes over MCP:

- **discord_list_accounts** — List Discord bot connections linked to this install — id, label, default guild_id.
- **discord_get_me** — Return the bot's own user profile (id, username, discriminator, avatar, etc).
- **discord_list_guilds** — List the servers (guilds) the bot is a member of.
- **discord_get_guild** — Get one guild's metadata. Falls back to the connection's default guild_id.

Bulk support: accepts guild_ids for batched execution.
- **discord_list_channels** — List channels in a guild. Falls back to the connection's default guild_id.

Bulk support: accepts guild_ids for batched execution.
- **discord_list_guild_members** — List members of a guild. Requires the bot to have the Server Members intent enabled in the developer portal — may return 403 otherwise.

Bulk support: accepts guild_ids for batched execution.
- **discord_get_channel** — Get a channel's metadata (type, name, topic, parent, permissions).

Bulk support: accepts channel_ids for batched execution.
- **discord_list_messages** — Read recent messages from a channel (newest first). Pagination via `before` / `after` / `around` (message ids). Requires Message Content intent for non-bot message bodies in some cases.

Bulk support: accepts channel_ids for batched execution.
- **discord_get_message** — Fetch a single message by id.

Bulk support: accepts channel_ids, message_ids for batched execution.
- **discord_get_user** — Public profile of any Discord user by id.

Bulk support: accepts user_ids for batched execution.
- **discord_send_message** — Post a message to a channel. Provide `content` (text up to 2000 chars), `embeds` (rich JSON), or both. `reply_to` makes it a reply.

Bulk support: accepts channel_ids for batched execution.
- **discord_send_dm** — Open a DM channel with a user and send them a message. The bot and the user must share a guild.

Bulk support: accepts user_ids for batched execution.
- **discord_edit_message** — Edit a previously-sent message (must be authored by this bot).

Bulk support: accepts channel_ids, message_ids for batched execution.
- **discord_add_reaction** — Add a reaction to a message. `emoji` is either unicode (e.g. `👍`) or `name:id` for custom guild emoji.

Bulk support: accepts channel_ids, message_ids for batched execution.
- **discord_delete_message** — Delete a message. Irreversible. Bot needs Manage Messages to delete messages authored by other users.

Bulk support: accepts channel_ids, message_ids for batched execution.
- **show_version** — Show the current MCP platform and adapter versions.
- **report_bug** — Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
- **connect** — Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
- **toolkit_info** — Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
- **marketplace** — The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
- **authenticate** — MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "discord": {
    "url": "https://api.mcp.ai/p_discord"
  }
}
```

## Documentation

## What the Discord MCP server does

The Discord MCP server gives MCP-compatible AI clients access to a Discord bot connection. It uses Discord’s official REST API at `discord.com/api/v10` and supports both read and write operations. The repository describes a hosted endpoint at `https://api.mcp.ai/p_discord`; the hosted MCP service is proprietary, while the public wrapper repository is licensed under MIT.

Agents can discover the bot’s linked connections, inspect the bot profile, list servers where the bot is a member, and retrieve guild or channel metadata. Message operations include reading recent channel messages, fetching individual messages, posting text or embeds, replying to an existing message, editing messages authored by the bot, adding reactions, and deleting messages. The tool set also includes public user lookups and direct messages.

## How it works

An MCP client connects to the hosted HTTP endpoint and invokes Discord-specific tools. The connection uses a Discord bot token obtained from the Discord developer portal.

A `guild_id` may be associated with a bot connection as its default server. Tools such as `discord_list_channels`, `discord_get_guild`, and `discord_list_guild_members` can use that default when a guild identifier is not supplied. Several tools support batched requests, including guild, message, reaction, and channel operations.

The Discord MCP server can be used with Claude Desktop, Cursor, VS Code, Cline, Continue, and other clients that support MCP over HTTP. The endpoint is also documented for ChatGPT, Manus, OpenClaw, and additional MCP clients.

## Setup and configuration

Connect the service using the hosted URL:

```text
https://api.mcp.ai/p_discord
```

The README provides installation links for Claude, Cursor, and VS Code, along with manual connector instructions for Claude. After connecting, link a Discord bot using a token created in the Discord developer portal. The bot must have access to the guilds, channels, and messages an agent needs to use.

For member listing, enable the Server Members intent in the Discord developer portal. The connection can optionally define a default `guild_id`, which reduces the need to pass a guild identifier to supported tools. No environment variable names are documented for the hosted setup.

## Tools and capabilities

The 15 documented tools include:

- Discover bot accounts, the bot profile, guilds, guild metadata, channels, and users.
- Read recent messages or retrieve a message by channel and message ID.
- Send channel messages with text, embeds, or replies.
- Open a DM channel and send a message to a user.
- Edit messages created by the bot.
- Add Unicode or custom-guild-emoji reactions.
- Delete messages, subject to Discord permissions.

Channel messages accept text up to 2,000 characters. Bulk inputs are available for several guild, channel, message, reaction, and send operations.

## Limitations and notes

Discord permissions still apply. Listing guild members can return HTTP 403 unless the bot has the Server Members intent enabled. Deleting another user’s message requires the Manage Messages permission, and deletion cannot be reversed. Editing is limited to messages authored by the connected bot.

Data returned by the tools is sent to the selected LLM host, such as Claude, ChatGPT, Cursor, or another client. The README recommends reviewing the host’s training opt-out options. The hosted MCP service is proprietary; MIT applies to the public repository wrapper, manifests, documentation, and skills rather than the hosted service itself.

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

