Discord MCP Server — Hosted Team Tools, Any AI Agent
MCP Server language Hosted language PublicRead and send Discord messages, manage channels, roles, and members — automate your community from AI agents.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"discord": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-discord",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the get_bot_info tool to get information about the connected discord bot (username, id, avatar)”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-discord — Discord MCP Server
Read messages, manage channels, members, and roles across your Discord servers.
Discord is where developer communities, gaming teams, and businesses build real-time communities. This MCP server exposes 23 tools covering the full Discord REST API v10 — letting your AI agents send messages, moderate members, manage channels, and work with threads, all without a WebSocket bot running 24/7.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-discord
What You Can Do
- Post announcements or moderation notices to specific channels from automated workflows triggered by external events
- Search message history across channels to audit activity or build context for an AI support agent
- Assign or remove roles in response to external actions — e.g. grant a "Subscriber" role when a Stripe payment succeeds
- Create and manage channels and threads programmatically for structured community spaces
Available Tools
| Tool | Description |
|---|---|
get_bot_info |
Get the connected bot's username, ID, and avatar |
list_guilds |
List all servers the bot is a member of |
get_guild |
Get server info: name, description, member count, icon |
list_channels |
List all channels in a server (text, voice, category, forum) |
get_channel |
Get channel details: name, topic, type, slowmode |
get_messages |
Get recent messages from a channel (up to 100, with pagination) |
send_message |
Send a message to a channel (supports rich embeds) |
reply_to_message |
Reply to a specific message |
edit_message |
Edit a message the bot sent |
delete_message |
Delete a message (requires Manage Messages permission) |
get_pinned_messages |
Get all pinned messages in a channel |
pin_message |
Pin a message in a channel |
add_reaction |
Add an emoji reaction to a message |
list_members |
List server members with roles and join dates |
get_member |
Get a member's profile: nickname, roles, join date |
list_roles |
List all roles with colors and positions |
assign_role |
Give a role to a member |
remove_role |
Remove a role from a member |
kick_member |
Kick a member from the server |
create_channel |
Create a text, voice, announcement, or forum channel |
edit_channel |
Edit channel name, topic, or slowmode |
create_thread |
Create a thread from a message or as a standalone thread |
list_active_threads |
List all active threads in a server |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
DISCORD_BOT_TOKEN |
Yes | Discord bot token for API authentication | discord.com/developers/applications → Your App → Bot tab → Reset Token → copy token. Enable Server Members Intent and Message Content Intent under Privileged Gateway Intents. |
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "Discord" and click Add to Workspace
- Add your
DISCORD_BOT_TOKENunder Project → Secrets
Once added, every AI agent in your workspace can call Discord tools automatically — no per-user setup needed.
Example Prompts
"Post a message to the #announcements channel saying we just shipped v2.0"
"List the last 20 messages in #support and summarize the most common issues"
"Assign the Subscriber role to user 123456789 in the community server"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-discord \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-DISCORD-BOT-TOKEN: your-bot-token' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_guilds","arguments":{}}}'
License
MIT
terminal Tools (23)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
get_bot_info #1 Get information about the connected Discord bot (username, ID, avatar)
list_guilds #2 List all Discord servers (guilds) the bot is a member of
get_guild #3 Get detailed information about a Discord server including member count, channel count, and description
list_channels #4 List all channels in a Discord server (text, voice, category, forum, announcement)
get_channel #5 Get details of a specific Discord channel (name, topic, type, slowmode)
get_messages #6 Get recent messages from a Discord channel. Use before/after for pagination.
send_message #7 Send a message to a Discord channel. Supports plain text and rich embeds.
reply_to_message #8 Reply to a specific message in a Discord channel (creates a threaded reply)
edit_message #9 Edit a message previously sent by the bot (cannot edit other users' messages)
delete_message #10 Delete a message from a Discord channel (requires Manage Messages permission)
get_pinned_messages #11 Get all pinned messages in a Discord channel
pin_message #12 Pin a message in a Discord channel (requires Manage Messages permission)
add_reaction #13 Add an emoji reaction to a Discord message
list_members #14 List members in a Discord server with their roles and join dates
get_member #15 Get a specific member's profile in a Discord server (username, nickname, roles, join date)
list_roles #16 List all roles in a Discord server with their colors, permissions, and position
assign_role #17 Assign a role to a Discord server member (requires Manage Roles permission)
remove_role #18 Remove a role from a Discord server member (requires Manage Roles permission)
kick_member #19 Kick (remove) a member from a Discord server. They can rejoin via invite. Requires Kick Members permission.
create_channel #20 Create a new channel in a Discord server (text, announcement, or category)
edit_channel #21 Edit a Discord channel's name, topic, or slowmode settings
create_thread #22 Create a thread in a Discord channel (from an existing message or as a standalone thread)
list_active_threads #23 List all active (non-archived) threads in a Discord server
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-discord
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in Team Tools
Browse Team Tools MCPs →Google Calendar
by @aerostack
Create events, check availability, and manage calendars across Google Calendar — automate your scheduling.
Jira
by @aerostack
Create, search, update issues, manage sprints, boards, and projects in Jira — AI-native agile project management.
Slack
by @aerostack
Send messages, search conversations, and manage channels in Slack — connect AI agents to your team workspace.
Trello
by @aerostack
Manage Trello boards, lists, cards, and members — create, update, move cards and collaborate with AI.
Jira Cloud
by @aerostack
Full Jira Cloud integration — manage projects, issues, sprints, boards, comments, transitions, and user assignments for agile project management.
Frequently asked questions
What is the Discord MCP server and what can it do? +
The Discord MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `get_bot_info`, `list_guilds`, `get_guild`, `list_channels`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Discord MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Discord MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Discord MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Discord MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-discord": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-discord"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Discord MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-discord", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-discord"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Discord MCP require authentication? +
Yes. Discord requires authentication. Check the MCP's documentation for the required credentials.