Discord Raw API MCP Server
MCP server for discord bot - adds one tool with raw API access
Overview
Discord Raw API MCP Server is a tool that provides raw access to the Discord API, allowing developers to interact with Discord's features through a flexible interface.
To use the server, you can install it via Smithery or manually set it up by creating a Discord bot and configuring it to use the MCP server.
- Supports both REST API calls and slash command syntax. - Allows for creating roles, sending messages, and retrieving server information. - Easy installation and configuration process.
- Automating server management tasks such as role creation and message sending.
- Building custom Discord bots that require direct API access.
- Integrating Discord functionalities into other applications.
Add to your AI client
Use these steps to connect Discord Raw API MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-discord-raw-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-discord-raw-hanweg"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-discord-raw-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-discord-raw-hanweg"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-discord-raw-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-discord-raw-hanweg"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-discord-raw-hanweg": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-discord-raw-hanweg"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-discord-raw-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-discord-raw-hanweg"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-discord-raw-hanweg": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-discord-raw-hanweg"
]
}
}
}FAQ
Can I use this server for any Discord bot?
Yes! As long as you have the necessary permissions and intents enabled for your bot.
Is there a specific programming language required?
No, the server can be used with any language that can make HTTP requests.
What are the prerequisites for using this server?
You need to create a Discord bot and have a basic understanding of API calls.