# Discord — MCP server on mcp.ai > Conecte um bot Discord (token de bot do developer portal) para ler/enviar mensagens, listar servidores e canais, reagir, mandar DMs e gerenciar mensagens via a API REST oficial (discord.com/api/v10). Guild ID opcional define o servidor padrão usado por tools como list_channels e list_guild_members. By: mcp.ai · official Page: https://new.mcp.ai/discord ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_discord?ms=1796396580000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## Install in your AI client (step by step) Link to paste in any client: https://api.mcp.ai/p_discord ### Claude 1. Copy the Discord link above (Copy button). 2. In Claude, Plugins → Add → Add custom connector: name Discord, paste the link and click Continue. Under Authentication, choose Sign in now and click Add. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Discord needs your account, the AI sends you a link to connect it: have Bot Token and Guild ID (opcional) at hand. Crie uma aplicação em https://discord.com/developers/applications, vá em Bot e copie o Token. 5. Done: just ask in the chat. Open: https://claude.ai/plugins ### ChatGPT 1. Copy the Discord link above (Copy button). 2. In ChatGPT (web), Plugins → Add → Add custom MCP server: name Discord, paste the link, under Authentication choose OAuth or no authentication, check I understand, click Create as a plugin, then Sign in with Discord. 3. The first time, ChatGPT opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Discord needs your account, the AI sends you a link to connect it: have Bot Token and Guild ID (opcional) at hand. Crie uma aplicação em https://discord.com/developers/applications, vá em Bot e copie o Token. 5. Done: just ask in the chat. Open: https://chatgpt.com/plugins ### Cursor 1. Copy the Discord link above (Copy button). 2. In Cursor, Settings → MCP → "Add new MCP server", paste the link and save. 3. The first time, Cursor opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Discord needs your account, the AI sends you a link to connect it: have Bot Token and Guild ID (opcional) at hand. Crie uma aplicação em https://discord.com/developers/applications, vá em Bot e copie o Token. 5. Done: just ask in the chat. ### Claude Desktop 1. Copy the Discord link above (Copy button). 2. Added it in Claude? The connector lives in your account and shows up on Desktop. If not, Plugins → Add → Add custom connector, paste the link and choose Sign in now. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Discord needs your account, the AI sends you a link to connect it: have Bot Token and Guild ID (opcional) at hand. Crie uma aplicação em https://discord.com/developers/applications, vá em Bot e copie o Token. 5. Done: just ask in the chat. ### Manus 1. Copy the Discord link above (Copy button). 2. Paste the link into a Manus chat and ask it to connect the MCP server. 3. The first time, Manus opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Discord needs your account, the AI sends you a link to connect it: have Bot Token and Guild ID (opcional) at hand. Crie uma aplicação em https://discord.com/developers/applications, vá em Bot e copie o Token. 5. Done: just ask in the chat. ### Agents 1. Copy the Discord link above (Copy button). 2. Paste the link into your MCP-compatible agent (remote HTTP server). 3. The first time, agent opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Discord needs your account, the AI sends you a link to connect it: have Bot Token and Guild ID (opcional) at hand. Crie uma aplicação em https://discord.com/developers/applications, vá em Bot e copie o Token. 5. Done: just ask in the chat. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/discord/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/discord/ Authorization: Bearer sk_live_… # create one at https://new.mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs Install guide (prompt + clients + REST), markdown: https://new.mcp.ai/discord/index.md How to use (MCP or REST), markdown: https://new.mcp.ai/discord/skill.md Postman collection (v2.1): https://new.mcp.ai/discord/postman.json ## Tools - discord_add_reaction(channel_id: string, message_id: string, emoji: string, account?: string, channel_ids?: string[], message_ids?: string[]) — Add a reaction to a message. `emoji` is either unicode (e.g. `👍`) or `name:id` for custom guild emoji. - discord_delete_message(channel_id: string, message_id: string, account?: string, channel_ids?: string[], message_ids?: string[]) — Delete a message. Irreversible. Bot needs Manage Messages to delete messages authored by other users. - discord_edit_message(channel_id: string, message_id: string, content?: string, embeds?: string[], account?: string, channel_ids?: string[], message_ids?: string[]) — Edit a previously-sent message (must be authored by this bot). - discord_get_channel(channel_id: string, account?: string, channel_ids?: string[]) — Get a channel's metadata (type, name, topic, parent, permissions). - discord_get_guild(guild_id?: string, account?: string, guild_ids?: string[]) — Get one guild's metadata. Falls back to the connection's default guild_id. - discord_get_me(account?: string) — Return the bot's own user profile (id, username, discriminator, avatar, etc). - discord_get_message(channel_id: string, message_id: string, account?: string, channel_ids?: string[], message_ids?: string[]) — Fetch a single message by id. - discord_get_user(user_id: string, account?: string, user_ids?: string[]) — Public profile of any Discord user by id. - discord_list_accounts(account?: string) — List Discord bot connections linked to this install — id, label, default guild_id. - discord_list_channels(guild_id?: string, account?: string, guild_ids?: string[]) — List channels in a guild. Falls back to the connection's default guild_id. - discord_list_guild_members(guild_id?: string, limit?: integer, after?: string, account?: string, guild_ids?: string[]) — List members of a guild. Requires the bot to have the Server Members intent enabled in the developer portal — may return 403 otherwise. - discord_list_guilds(limit?: integer, before?: string, after?: string, account?: string) — List the servers (guilds) the bot is a member of. - discord_list_messages(channel_id: string, limit?: integer, before?: string, after?: string, around?: string, account?: string, channel_ids?: string[]) — 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. - discord_send_dm(user_id: string, content?: string, embeds?: string[], account?: string, user_ids?: string[]) — Open a DM channel with a user and send them a message. The bot and the user must share a guild. - discord_send_message(channel_id: string, content?: string, embeds?: string[], reply_to?: string, account?: string, channel_ids?: string[]) — Post a message to a channel. Provide `content` (text up to 2000 chars), `embeds` (rich JSON), or both. `reply_to` makes it a reply. ## Example prompts - "Mostre as últimas 20 mensagens do canal #geral" - "Envie no canal de avisos: 'Reunião às 15h hoje'" - "Liste todos os canais do servidor" ## Links Docs: https://mcp.ai/docs/mcps/discord Website: https://mcp.ai/mcps/discord