Connector guide3-minute read13 MCP tools7 languages

How to Connect Discord Bot to Claude — via MCP

Send messages, embeds, files and reactions to Discord channels and DMs from any AI agent via the Discord REST API. 13 tools, Bot Token auth. Outbound + lightweight channel/guild reads (no gateway / websocket / voice).

HCBy HelpCode teamUpdated 3 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Discord Bot

Discord Bot

Send messages, embeds, files and reactions to Discord channels and DMs from any AI agent via the Discord REST API. 13 tools, Bot Token auth. Outbound + lightweight channel/guild reads (no gateway / websocket / voice).

tools

13

Region

INTL

Category

Messaging

Authentication

API Key

Required env vars

DISCORD_BOT_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Discord Bot in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

AnythingMCP is listed in Claude's connector directory: add it to Claude in one click (opens in a new tab), then sign in and choose which MCP servers Claude may use.

Summary

Send messages, embeds, files and reactions to Discord channels and DMs from any AI agent via the Discord REST API. 13 tools, Bot Token auth. Outbound + lightweight channel/guild reads (no gateway / websocket / voice).

Try asking

Example prompts for Discord Bot

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Discord Bot · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Discord Bot, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

Discord Bot + Claude

Send messages, embeds, files and reactions to Discord channels and DMs from any AI agent via the Discord REST API. 13 tools, Bot Token auth. Outbound + lightweight channel/guild reads (no gateway / websocket / voice).

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

DISCORD_BOT_TOKEN

Step 1 — Get credentials

Setup:

  1. Open https://discord.com/developers/applications → New Application → name it (this becomes the app, not the bot).
  2. Sidebar → Bot → Reset Token → copy the token. Treat as a secret — anyone with it can act as the bot.
  3. Sidebar → Installation (or OAuth2 → URL Generator in older UI): pick scope bot, then permissions like Send Messages, Embed Links, Attach Files, Read Message History, Add Reactions, View Channels. Open the generated URL in a browser to install the bot into a server (you must be admin or have Manage Server). Repeat per server.
  4. Set DISCORD_BOT_TOKEN to the token from step 2.

…(continued in the in-app connector instructions)

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Claude

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Recommended path — works on claude.ai web without editing any config file.

  1. In Claude, open Customize → Connectors.
  2. Click +, then Add custom connector.
  3. Enter a name, e.g. Discord Bot, and the remote MCP server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID, then click Add.
  4. Click Connect and sign in to AnythingMCP (OAuth) to allow access.

All tools below appear in your chat — start typing prompts.

Available tools

ToolWhat it does
discord_bot_get_current_userReturn the bot's own user object (id, username, discriminator, avatar)
discord_bot_list_guildsList the servers (guilds) the bot is a member of
discord_bot_get_guildFetch a single guild by ID
discord_bot_list_guild_channelsList all channels (text, voice, category, threads' parents) in a guild
discord_bot_get_channelFetch a single channel by ID
discord_bot_send_messageSend a message to a channel or thread
discord_bot_edit_messageEdit a message the bot previously sent
discord_bot_delete_messageDelete a message
discord_bot_list_messagesFetch recent messages from a channel
discord_bot_add_reactionAdd a reaction emoji to a message as the bot
discord_bot_create_dm_channelOpen a DM channel with a user
discord_bot_create_thread_from_messageStart a public thread anchored to an existing message
discord_bot_get_guild_memberFetch a guild member by user_id

FAQ

Does it work with Claude Code as well as Claude Desktop? Yes — point both at https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID.

Next steps

Was this guide helpful?

Your Discord Bot agent is one click away.

Install the connector, paste the key, prompt Claude. Free for 7 days, no credit card.

Related guides

Connectors

How to Connect Discord Bot to Meta Muse — via MCP

Send messages, embeds, files and reactions to Discord channels and DMs from any AI agent via the Discord REST API. 13 tools, Bot Token auth. Outbound + lightweight channel/guild reads (no gateway / websocket / voice).

Connectors

Connect Discord to ChatGPT with a Bot (MCP)

Let ChatGPT post messages, embeds, files and reactions to your Discord channels through your own bot, and read recent messages. Set it up without writing code.

Connectors

How to Connect Discord Bot to Cursor — via MCP

Send messages, embeds, files and reactions to Discord channels and DMs from any AI agent via the Discord REST API. 13 tools, Bot Token auth. Outbound + lightweight channel/guild reads (no gateway / websocket / voice).

Connectors

How to Connect Discord Bot to Gemini — via MCP

Send messages, embeds, files and reactions to Discord channels and DMs from any AI agent via the Discord REST API. 13 tools, Bot Token auth. Outbound + lightweight channel/guild reads (no gateway / websocket / voice).

Connectors

Discord Bot to MCP — Drive Discord Bot from any AI Agent

Send messages, embeds, files and reactions to Discord channels and DMs from any AI agent via the Discord REST API. 13 tools, Bot Token auth. Outbound + lightweight channel/guild reads (no gateway / websocket / voice).

Connectors

How to Connect Outlook (Microsoft 365 Mail and Calendar) to Claude — via MCP

Let your AI work in Outlook: search and read email, file messages in folders, draft, send and reply, check the calendar, create and move meetings, and find free time with colleagues. Microsoft 365 and Outlook.com through Microsoft Graph, signed in with your Microsoft account.