/** * MCP widget: " MCP 6/6" = connected/enabled servers for pi's built-in MCP support. * Green when all are connected, yellow when some are, red when none are; hidden when no server is * enabled. See status.ts for how "connected" is inferred and its limits; /mcp is authoritative. * * There is no event for MCP connection changes, so it polls (an in-memory tool list and two small * JSON reads). It deliberately does not handle `mcp_servers_change`: handling that event marks an * extension as the one that connects registered servers, taking that job from the built-in support. * * Tests: node --experimental-strip-types test/mcp-status.test.ts */ import { type ExtensionAPI } from "@earendil-works/pi-coding-agent"; export default function (pi: ExtensionAPI): void;