服务器配置
{
"mcpServers": {
"xray": {
"command": "node",
"args": [
"/absolute/path/to/xray-mcp-server/dist/index.js"
],
"env": {
"XRAY_DEPLOYMENT": "cloud",
"XRAY_CLOUD_CLIENT_ID": "your_client_id",
"XRAY_CLOUD_CLIENT_SECRET": "your_client_secret"
}
}
}
}