Skip to main content
Glama
AceDataCloud

MCP Discord Bot Server

by AceDataCloud

MCP Discord Bot Server

A Model Context Protocol (MCP) server that provides tools for automating Discord through a self-hosted Discord Agent Proxy instance.

Overview

The Discord Agent Proxy is a standalone service you deploy on AceDataCloud. It maintains a persistent connection to Discord using your account credentials and exposes both an MCP and REST API interface.

This MCP server wraps the Discord Agent Proxy's REST API, exposing Discord operations as MCP tools for use with Claude, Cursor, and other MCP-compatible AI clients.

⚠️ Warning: Automating a personal Discord account (self-bot) violates Discord's Terms of Service. Use a dedicated account and keep automation frequency reasonable.

Related MCP server: Discord MCP Server

Prerequisites

  1. Create a Discord Agent Proxy application at platform.acedata.cloud and activate a subscription. Instance resources are configured automatically; no instance size selection is needed.

  2. Enter your Discord account credentials in the configuration page and deploy.

  3. In the application's Overview tab, confirm the account is connected and copy the MCP endpoint and access token from the Discord account card. A running container does not guarantee a connected Discord account.

The Documentation tab lists all 14 REST operations with request parameters, response schemas, and code examples. Test GET /api/whoami there, or call discord_whoami after configuring this MCP server, to verify the connected account. Instance addresses and access tokens are filled in automatically in the console; tokens are hidden by default. Sending, editing, or deleting messages affects the real account, so confirm the target and content before testing.

Download OpenAPI (JSON) exports the instance address without its access token. To change Discord account credentials, use Redeploy in Overview.

Installation

pip install mcp-discord-bot

Configuration

Copy .env.example to .env and fill in your values:

DISCORD_BOT_BASE_URL=https://discord-bot-xxxxxxxxxxxx.app.acedata.cloud
DISCORD_BOT_TOKEN=your_bot_token_here

Usage

stdio (for AI clients)

mcp-discord-bot

Add to your MCP client configuration:

{
  "mcpServers": {
    "discord-bot": {
      "command": "mcp-discord-bot",
      "env": {
        "DISCORD_BOT_BASE_URL": "https://discord-bot-xxxxxxxxxxxx.app.acedata.cloud",
        "DISCORD_BOT_TOKEN": "your_bot_token_here"
      }
    }
  }
}

HTTP Transport

mcp-discord-bot --transport http --port 8000

Available Tools

Tool

Description

discord_whoami

View the proxied Discord account details

discord_list_guilds

List all servers the account has joined

discord_list_channels

List channels in a server

discord_create_text_channel

Create a new text channel

discord_list_members

List server members

discord_send_message

Send a message (with optional reply)

discord_read_messages

Read recent messages from a channel

discord_edit_message

Edit a message you sent

discord_delete_message

Delete a message

discord_search_messages

Search for messages in a channel

discord_add_reaction

Add an emoji reaction to a message

discord_pin_message

Pin a message in a channel

discord_create_dm

Open a DM channel with a user

discord_send_dm

Send a direct message to a user

discord_get_usage_guide

Get comprehensive usage documentation

Documentation

Documentation

License

MIT

Related MCP Connectors

  • Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.

  • Messaging tools for AI agents: send messages, manage chats, groups and channels.

  • Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.

  • The official hosted MCP server for the Unipile API. Your coding agent reads the exact API contract for LinkedIn (Classic, Sales Navigator, Recruiter), WhatsApp, Instagram, Telegram, Gmail, Outlook, IMAP and Google/Outlook Calendar, writes your integration in your stack, and tests each call on your own connected accounts. Five tools cover every route: search-endpoints, get-endpoint, list-endpoints, list-specs, execute-request. Key: a scoped Account API key in the X-API-KEY header, optional for reading the docs.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to send and read messages in Discord channels, manage servers, channels, and roles via Discord's API.
    19 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to send and read messages in Discord channels through the Discord API, with server and channel discovery.
    19 npm
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    MCP server that gives AI agents first-class access to Discord, enabling discovery, messaging, channel management, moderation, and arbitrary REST calls through typed, consent-aware tools.
    9 npm
    3
    MIT