curl -X GET "https://api.example.com/api/mcp/servers?projectId=proj_123" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"servers": [
{
"id": "mcp_abc123",
"projectId": "proj_123",
"name": "Production Server",
"description": "Main production MCP server",
"url": "https://mcp-server.example.com",
"transportType": "http",
"connectionType": "proxy",
"status": "connected",
"capabilities": {
"tools": true,
"resources": true,
"prompts": true
},
"lastConnectedAt": "2026-01-17T10:30:00Z",
"createdAt": "2026-01-01T00:00:00Z",
"updatedAt": "2026-01-17T10:30:00Z"
}
]
}
Retrieves all MCP servers configured for a specific project
curl -X GET "https://api.example.com/api/mcp/servers?projectId=proj_123" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"servers": [
{
"id": "mcp_abc123",
"projectId": "proj_123",
"name": "Production Server",
"description": "Main production MCP server",
"url": "https://mcp-server.example.com",
"transportType": "http",
"connectionType": "proxy",
"status": "connected",
"capabilities": {
"tools": true,
"resources": true,
"prompts": true
},
"lastConnectedAt": "2026-01-17T10:30:00Z",
"createdAt": "2026-01-01T00:00:00Z",
"updatedAt": "2026-01-17T10:30:00Z"
}
]
}
Show Server Object
stdio, http, or ssedirect or proxyconnecting, connected, disconnected, or errorcurl -X GET "https://api.example.com/api/mcp/servers?projectId=proj_123" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"servers": [
{
"id": "mcp_abc123",
"projectId": "proj_123",
"name": "Production Server",
"description": "Main production MCP server",
"url": "https://mcp-server.example.com",
"transportType": "http",
"connectionType": "proxy",
"status": "connected",
"capabilities": {
"tools": true,
"resources": true,
"prompts": true
},
"lastConnectedAt": "2026-01-17T10:30:00Z",
"createdAt": "2026-01-01T00:00:00Z",
"updatedAt": "2026-01-17T10:30:00Z"
}
]
}