Connector guide3-minute read13 MCP toolsEN · DE · IT

How to Connect Discord Bot to ChatGPT — 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

MCP connector

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

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 + ChatGPT

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

com/developers/docs).

Setup:

  1. Open https://discord.com/developers/applicationsNew 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

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

Step 3 — Add the connector in ChatGPT

ChatGPT supports MCP servers via the Connectors feature (Plus / Pro / Team / Enterprise plans). The free tier does not support custom connectors.

  1. Open ChatGPT → Settings → Connectors (or click the 🔧 icon in the composer → Manage connectors).
  2. Click "Add custom connector".
  3. Fill in:
    • Name: Discord Bot
    • MCP server URL: https://cloud.anythingmcp.com/mcp
    • Authentication: Bearer token → paste your MCP API key (from AnythingMCP → Profile → MCP API Keys → New Key)
  4. Click Connect to authorize.

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 ChatGPT free tier work with custom MCP connectors? No — Plus, Pro, Team or Enterprise required.

Next steps

Was this guide helpful?

Ready to ship

Your Discord agent is one click away.

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

Related guides

connectors

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).

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).

B
connectors

How to Connect Billbee to ChatGPT for AI Order Management

Connect Billbee to ChatGPT using MCP. Query your data with natural language — no custom integration required. Step-by-step setup guide.

E
connectors

How to Connect easybill to ChatGPT for AI-Powered Invoicing

Connect easybill to ChatGPT using MCP. Query your data with natural language — no custom integration required. Step-by-step setup guide.