Overview
What is Mcp Debug Server?
Mcp Debug Server is an MCP (Model Context Protocol) server that forwards debug information to Discord channels. It integrates with Discord via a bot token and channel IDs for staging, production, and development environments. It is intended for developers using MCP-compatible clients like Cursor.
How to use Mcp Debug Server?
Clone the repository, install dependencies with yarn install, configure environment variables (DISCORD_TOKEN, DISCORD_STAGING_CHANNEL_ID, DISCORD_PRODUCTION_CHANNEL_ID, DISCORD_DEVELOPMENT_CHANNEL_ID), then build with yarn build. Add the server to your MCP client (e.g., Cursor) by specifying the path to the built index.js file.
Key features of Mcp Debug Server
- Sends debug messages to three Discord environments
- Environment-specific channel IDs for staging, production, development
- Easy integration with Cursor via MCP configuration
- TypeScript project compiled with Node.js
Use cases of Mcp Debug Server
- Debug MCP tool calls by forwarding logs to a Discord channel
- Monitor server behavior across different deployment environments
- Collaborate with team members by sharing debug output in Discord
- Automate error notification for MCP server issues
FAQ from Mcp Debug Server
What environment variables are required?
DISCORD_TOKEN, DISCORD_STAGING_CHANNEL_ID, DISCORD_PRODUCTION_CHANNEL_ID, and DISCORD_DEVELOPMENT_CHANNEL_ID must be set in a .env file.
How do I install the server?
Clone the repo, run yarn install to install dependencies, then yarn build to compile.
How do I integrate with Cursor?
Add a JSON configuration to your Cursor MCP settings with command node and args pointing to path/to/mcp-debug-server/build/index.js.
What transport does the server use?
The server uses STDIO transport, as it is launched as a Node.js process from the MCP client.
Where is data stored?
No local data storage is mentioned; the server sends messages to Discord, so data resides on Discord's servers.