git clone https://github.com/gusteycamargo/mcp-debug-server.git
cd mcp-debug-server
yarn install
在项目根目录下创建一个 .env 文件,添加以下变量:
DISCORD_TOKEN=你的Discord令牌
DISCORD_STAGING_CHANNEL_ID= staging渠道的ID
DISCORD_PRODUCTION_CHANNEL_ID= 生产渠道的ID
DISCORD_DEVELOPMENT_CHANNEL_ID= 开发渠道的ID
yarn build
{
"mcpServers": {
"mcp-debug-server": {
"command": "node",
"args": ["path/to/mcp-debug-server/build/index.js"]
}
}
}