server_config content_copy 复制
{
"rating": 3,
"dev_lang": "python",
"mcp_install": "{\n \"mcpServers\": {\n \"mcp-gateway\": {\n \"command\": \"mcp-gateway\",\n \"args\": [\n \"--mcp-json-path\",\n \"~/.cursor/mcp.json\",\n \"--plugin\",\n \"basic\",\n \"--plugin\",\n \"xetrack\"\n ],\n \"servers\": {\n \"filesystem\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@modelcontextprotocol/server-filesystem\",\n \".\"\n ]\n }\n }\n }\n }\n}\n\n{\n \"mcpServers\": {\n \"mcp-gateway\": {\n \"command\": \"<python path>\",\n \"args\": [\n \"-m\",\n \"mcp_gateway.server\",\n \"--mcp-json-path\",\n \"<path to claude_desktop_config>\",\n \"--plugin\",\n \"basic\"\n ],\n \"servers\": {\n \"filesystem\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@modelcontextprotocol/server-filesystem\",\n \".\"\n ]\n }\n }\n }\n }\n}\n\n{\n \"mcpServers\": {\n \"mcp-gateway\": {\n \"command\": \"docker\",\n \"args\": [\n \"run\",\n \"--rm\",\n \"--mount\", \"type=bind,source=/Users/oro/Projects/playground/mcp-gateway,target=/app\",\n \"-i\",\n \"-v\", \"/Users/oro/.cursor/mcp.json:/config/mcp.json:ro\",\n \"-e\", \"LASSO_API_KEY=<LASSO_API_KEY>\",\n \"-v\", \"mcp-gateway-logs:/logs\",\n \"mcp/gateway:latest\",\n \"--mcp-json-path\", \"/config/mcp.json\",\n \"--plugin\", \"basic\",\n \"--plugin\", \"lasso\"\n ],\n \"servers\": {\n \"filesystem\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@modelcontextprotocol/server-filesystem\",\n \".\"\n ]\n }\n }\n }\n }\n}\n\n{\n \"mcpServers\": {\n \"mcp-gateway\": {\n \"command\": \"mcp-gateway\",\n \"args\": [\n \"--mcp-json-path\",\n \"~/.cursor/mcp.json\",\n \"-p\",\n \"lasso\"\n ],\n \"env\": {\n \"LASSO_API_KEY\": \"<lasso_token>\"\n },\n \"servers\": {\n \"filesystem\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@modelcontextprotocol/server-filesystem\",\n \".\"\n ]\n }\n }\n }\n }\n}\n\n{\n \"mcpServers\": {\n \"mcp-gateway\": {\n \"command\": \"mcp-gateway\",\n \"args\": [\n \"--mcp-json-path\",\n \"~/.cursor/mcp.json\",\n \"-p\",\n \"xetrack\"\n ],\n \"env\": {\n \"XETRACK_DB_PATH\": \"tracing.db\",\n \"XETRACK_LOGS_PATH\": \"logs/\" \n },\n \"servers\": {\n \"filesystem\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@modelcontextprotocol/server-filesystem\",\n \".\"\n ]\n }\n }\n }\n }\n}"
}