Claude Desktop Cursor Cline (VS Code) Windsurf Continue.dev Zed Claude Code (CLI)
~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mcp-gateway-registry": {
"command": "docker",
"args": [
"run",
"-p",
"8080:8080",
"-e",
"GATEWAY_TOKEN",
"ghcr.io/agentic-community/mcp-gateway-registry:latest"
],
"env": {
"GATEWAY_TOKEN": "${GATEWAY_TOKEN}"
}
}
}
}
⧉ 複製
開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。
~/.cursor/mcp.json · .cursor/mcp.json
{
"mcpServers": {
"mcp-gateway-registry": {
"command": "docker",
"args": [
"run",
"-p",
"8080:8080",
"-e",
"GATEWAY_TOKEN",
"ghcr.io/agentic-community/mcp-gateway-registry:latest"
],
"env": {
"GATEWAY_TOKEN": "${GATEWAY_TOKEN}"
}
}
}
}
⧉ 複製
Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。
VS Code → Cline → MCP Servers → Edit
{
"mcpServers": {
"mcp-gateway-registry": {
"command": "docker",
"args": [
"run",
"-p",
"8080:8080",
"-e",
"GATEWAY_TOKEN",
"ghcr.io/agentic-community/mcp-gateway-registry:latest"
],
"env": {
"GATEWAY_TOKEN": "${GATEWAY_TOKEN}"
}
}
}
}
⧉ 複製
點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-gateway-registry": {
"command": "docker",
"args": [
"run",
"-p",
"8080:8080",
"-e",
"GATEWAY_TOKEN",
"ghcr.io/agentic-community/mcp-gateway-registry:latest"
],
"env": {
"GATEWAY_TOKEN": "${GATEWAY_TOKEN}"
}
}
}
}
⧉ 複製
格式與 Claude Desktop 相同。重啟 Windsurf 生效。
~/.continue/config.json
{
"mcpServers": [
{
"name": "mcp-gateway-registry",
"command": "docker",
"args": [
"run",
"-p",
"8080:8080",
"-e",
"GATEWAY_TOKEN",
"ghcr.io/agentic-community/mcp-gateway-registry:latest"
]
}
]
}
⧉ 複製
Continue 使用伺服器物件陣列,而非映射。
~/.config/zed/settings.json
{
"context_servers": {
"mcp-gateway-registry": {
"command": {
"path": "docker",
"args": [
"run",
"-p",
"8080:8080",
"-e",
"GATEWAY_TOKEN",
"ghcr.io/agentic-community/mcp-gateway-registry:latest"
]
}
}
}
}
⧉ 複製
加入 context_servers。Zed 儲存後熱重載。
claude mcp add mcp-gateway-registry -- docker run -p 8080:8080 -e GATEWAY_TOKEN ghcr.io/agentic-community/mcp-gateway-registry:latest
⧉ 複製
一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。