Discord API MCP Server
Send messages, manage servers, and integrate Discord bots into your AI agent workflows.
Quick Start Summary
The Discord API MCP server is a Model Context Protocol bridge that connects AI assistants — including Claude Desktop, Cursor, Windsurf, and VS Code Copilot — to the Discord API API through natural language. It exposes 3 API endpoints as callable tools, such as Get channel messages, Send message, Get guild. Authentication requires Bot Token credentials, and setup takes approximately 2 minutes. The server uses STDIO transport and can be installed by running npx -y @discord/mcp-server. This integration is sourced from the community Discord API OpenAPI specification (v10.0) and has a quality score of 58/99 (fair documentation coverage).
Server Details
- Category
- Communication
- Authentication
- Bot Token
- Endpoints
- 3 operations
- Transport
- STDIO
- Spec Version
- v10.0
- Install Command
npx -y @discord/mcp-server
Environment Variables
DISCORD_BOT_TOKENExample: your_bot_token
Top Endpoints
/channels/{channel_id}/messagesGet channel messages
/channels/{channel_id}/messagesSend message
/guilds/{guild_id}Get guild
Build with Discord API
Get everything you need in one bundle: MCP config, cursor rules, and framework integration for Discord API.
View Discord Bot Stack→Read the Guide
Step-by-step walkthrough for setting up and using the Discord API MCP server.
Discord APIMCP Setup Guide →One-Click Install
Copy the snippet for your MCP client and paste it in — zero editing required.
Claude Desktop
Add to claude_desktop_config.json
{
"mcpServers": {
"discord": {
"command": "npx",
"args": [
"-y",
"@discord/mcp-server"
],
"env": {
"DISCORD_BOT_TOKEN": "your_bot_token"
}
}
}
}Cursor
Settings → MCP Servers → Add
{
"mcpServers": {
"discord": {
"url": "https://mcpbridge.org/config/discord.json"
}
}
}Saves as .cursor/mcp.json in the download. Move it to your project root.
VS Code
Use with MCP extension
{
"mcpServers": {
"discord": {
"url": "https://mcpbridge.org/config/discord.json"
}
}
}Endpoints Explorer
Search and browse the 3 operations supported by this server.
Multi-Language Code Examples
Executable code snippets for calling Discord API endpoints in curl, TypeScript, or Python.
curl -X GET "https://raw.githubusercontent.com/discord/discord-api-spec/main/channels/{channel_id}/messages" \
-H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY"Manual Configuration
Directly add this block to your JSON config file, or use the hosted config registry URL.
{
"mcpServers": {
"discord": {
"command": "npx",
"args": ["-y","@discord/mcp-server"],
"env": {
"DISCORD_BOT_TOKEN": "your_bot_token"
}
}
}
}Authentication Details
This API requires Bot Token credentials.
Variables to configure:
DISCORD_BOT_TOKEN
Documentation Links
Error Handling & HTTP Status Code Matrix
Common status codes, error causes, and resolution steps when invoking Discord API endpoints.
400 Bad RequestCause: Malformed payload parameters or missing required fields.
Resolution: Verify request schema in Endpoints tab before calling tool.
401 UnauthorizedCause: Missing or invalid API key credentials.
Resolution: Set environment variable in MCP client config under env object.
403 ForbiddenCause: Insufficient scope permissions for requested resource.
Resolution: Verify key permissions in developer dashboard.
404 Not FoundCause: Resource URL path or requested entity ID does not exist.
Resolution: Check path variables and parameters.
429 Rate Limit ExceededCause: API rate limit quota exceeded.
Resolution: Implement exponential backoff retry in tool call.
500 Internal ErrorCause: Upstream server runtime fault.
Resolution: Inspect STDIO stderr output for log trace.
Quality Score
Checked against our protocol-compliance rules.
Specification Version: v10.0
Page compiled on: June 13, 2026
This listing has been claimed and verified by the API owner.
Similar APIs
Other APIs in the Communication category.
Slack API
Send messages, manage channels, and integrate Slack notifications into your AI agent workflows.
OAuth2Twilio API
Send SMS, make calls, and manage communication channels through your AI agent.
Account SID + Auth TokenEmail Activity (beta)
The Email Activity (beta) API, provided by [Your Email Service Provider], is a specialized suite of endpoints designed to grant programmatic access to granular email event data and system security configurations. Its core capability revolves around detailed filtering and search across two primary domains: user engagement events (like opens, clicks, and bounces) and security/access control settings. While the event data functionality is limited to a recent two-day window by default, it serves as a powerful tool for real-time monitoring and immediate post-campaign analysis. Typical use cases for enterprise teams include building internal dashboards for marketing performance, automating alerts for campaign anomalies (e.g., a sudden spike in bounces), and developing custom reporting pipelines that feed into business intelligence systems. The associated security endpoints—managing an access whitelist and configuring alert notifications—provide critical administrative control, allowing teams to programmatically define which IP addresses or systems can interact with their email infrastructure and to set up proactive monitoring for potential security or deliverability issues.
Adafruit IO REST API
Adafruit IO is a cloud platform developed by Adafruit Industries, specifically designed to serve as the backbone for the Internet of Things for everyone. Its core HTTP REST API provides a universal interface for interacting with time-series data streams known as "feeds," which represent data points from sensors or commands to actuators. The API enables developers to retrieve, create, and manage data, dashboards, and webhooks, effectively abstracting the complexity of raw data ingestion and visualization. Typical use cases span from consumer hobbyists building home automation systems and weather stations to enterprises prototyping industrial monitoring solutions, asset tracking, and automated alerts. The platform’s strength lies in its simplicity and accessibility, allowing data from any HTTP-capable device—from a Raspberry Pi to an industrial PLC—to be logged, visualized, and acted upon without managing backend infrastructure.
Related MCP Server Integrations
Slack API MCP Setup
Send messages, manage channels, and integrate Slack notifications into your AI agent workflows.
Twilio API MCP Setup
Send SMS, make calls, and manage communication channels through your AI agent.
Email Activity (beta) MCP Setup
The Email Activity (beta) API, provided by [Your Email Service Provider], is a specialized suite of endpoints designed to grant programmatic access to granular email event data and system security configurations. Its core capability revolves around detailed filtering and search across two primary domains: user engagement events (like opens, clicks, and bounces) and security/access control settings. While the event data functionality is limited to a recent two-day window by default, it serves as a powerful tool for real-time monitoring and immediate post-campaign analysis. Typical use cases for enterprise teams include building internal dashboards for marketing performance, automating alerts for campaign anomalies (e.g., a sudden spike in bounces), and developing custom reporting pipelines that feed into business intelligence systems. The associated security endpoints—managing an access whitelist and configuring alert notifications—provide critical administrative control, allowing teams to programmatically define which IP addresses or systems can interact with their email infrastructure and to set up proactive monitoring for potential security or deliverability issues.
Adafruit IO REST API MCP Setup
Adafruit IO is a cloud platform developed by Adafruit Industries, specifically designed to serve as the backbone for the Internet of Things for everyone. Its core HTTP REST API provides a universal interface for interacting with time-series data streams known as "feeds," which represent data points from sensors or commands to actuators. The API enables developers to retrieve, create, and manage data, dashboards, and webhooks, effectively abstracting the complexity of raw data ingestion and visualization. Typical use cases span from consumer hobbyists building home automation systems and weather stations to enterprises prototyping industrial monitoring solutions, asset tracking, and automated alerts. The platform’s strength lies in its simplicity and accessibility, allowing data from any HTTP-capable device—from a Raspberry Pi to an industrial PLC—to be logged, visualized, and acted upon without managing backend infrastructure.
Notification Configuration API MCP Setup
The Notification Configuration API is a specialized management interface provided by Adyen for enterprises operating on their classic integration platform for marketplaces and platforms. Its core purpose is to programmatically configure, manage, and verify the webhook notification mechanisms that are critical for receiving asynchronous updates about events such as payments, refunds, disputes, and balance account modifications. Unlike consumer-facing APIs, this is a backend administrative tool designed for technical teams managing financial operations. Typical use cases include automating the setup of notification endpoints for new merchant accounts, programmatically updating or disabling notification URLs during system migrations, bulk-configuring security keys (HMAC) for enhanced validation, and performing diagnostic tests to ensure endpoint connectivity and payload integrity before going live.