Back to MCP directory
publicPublicdnsLocal runtime

mcp-debug-server

一个用于调试的Discord服务器项目,支持不同环境(开发、预发布、生产)的频道配置,可通过MCP集成。

article

README

🚀 环境配置

📦 克隆仓库

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

➕ 将MCP添加到Cursor

{
  "mcpServers": {
    "mcp-debug-server": {
      "command": "node",
      "args": ["path/to/mcp-debug-server/build/index.js"]
    }
  }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client