Kova/surfaces/mcp-runtime.json

74 lines
1.5 KiB
JSON

{
"id": "mcp-runtime",
"title": "MCP Runtime",
"ownerArea": "mcp-runtime",
"description": "Start OpenClaw's MCP stdio bridge against a running gateway, list exposed tools, and prove the bridge process stops cleanly.",
"processRoles": [
"gateway",
"command-tree",
"mcp-runtime"
],
"thresholds": {
"gatewayReadyMs": 30000,
"statusMs": 10000,
"mcpInitializeMs": 10000,
"mcpToolsListMs": 10000,
"mcpShutdownMs": 5000,
"mcpToolCountMin": 1,
"mcpProcessLeaks": 0,
"pluginLoadFailures": 0,
"peakRssMb": 900
},
"roleThresholds": {
"gateway": {
"peakRssMb": 800,
"maxCpuPercent": 250
},
"mcp-runtime": {
"peakRssMb": 500,
"maxCpuPercent": 200
},
"command-tree": {
"peakRssMb": 900,
"maxCpuPercent": 300
}
},
"diagnostics": {
"timelineRequiredForSourceBuild": false,
"expectedSpans": [
"mcp.runtime.start",
"mcp.runtime.stop",
"gateway.websocket"
]
},
"purposes": [
"diagnostic",
"regression"
],
"requirements": [
{
"id": "baseline",
"states": [
"fresh"
],
"targetKinds": [
"npm",
"channel",
"runtime",
"local-build"
],
"metrics": [
"mcpInitializeMs",
"mcpToolsListMs",
"mcpShutdownMs",
"mcpToolCountMin",
"mcpProcessLeaks",
"gatewayReadyMs",
"statusMs",
"pluginLoadFailures",
"peakRssMb"
]
}
]
}