II.
Page reference
Reading · 2 minpage:docs-harness-features-backlog-gaps-mcp-channels-gap-mcpc-004
GAP-MCPC-004: MCP Server Management UI and Connection Lifecycle reference
Manage MCP server connections with lifecycle control, health monitoring,
GAP-MCPC-004: MCP Server Management UI and Connection Lifecycle
| Field | Value |
|---|---|
| Category | mcp-channels |
| Priority | Medium |
| Effort | M |
| Status | Missing |
Description
Manage MCP server connections with lifecycle control, health monitoring, approval workflows, and a management UI.
CC Implementation
CC has extensive MCP server management:
lifecycle (connect, disconnect, reconnect, health check)
MCPConnectionManager.tsx-- manages all MCP server connections withMCPSettings.tsx-- settings UI for MCP serversMCPListPanel.tsx-- list of connected servers with statusMCPToolListView.tsx-- browse tools from connected serversMCPToolDetailView.tsx-- tool detail with parameter schemaMCPAgentServerMenu.tsx-- server menu for agent contextMCPRemoteServerMenu.tsx-- remote server configurationMCPStdioServerMenu.tsx-- stdio transport configurationMCPReconnect.tsx-- reconnection UIMCPServerApprovalDialog.tsx-- approve new server connectionsMCPServerMultiselectDialog.tsx-- select which servers to enableMcpParsingWarnings.tsx-- parsing error displayuseMcpConnectivityStatus.tsx-- connection health hook
Current State
Babysitter's mcp:serve starts babysitter AS an MCP server. No MCP client connection management. No server lifecycle. No health monitoring. No management UI.
Target State
A mcp:connect command to add MCP server connections. Connection manager with:
- Startup/shutdown lifecycle per server
- Health monitoring with reconnection
- Server approval workflow (first-connect requires approval)
- Tool/resource browsing per connected server
- Integration with embedded SDK dashboard for connection status
Dependencies
- GAP-TOOLS-025 -- MCP client capability
- GAP-MCPC-001 -- channel support
Key Files
| Component | Path |
|---|---|
| Babysitter MCP module | packages/sdk/src/mcp/ |
| CC MCP connection mgr | src/services/mcp/MCPConnectionManager.tsx |
| CC MCP config | src/services/mcp/config.ts |
| CC MCP components | src/components/mcp/ (10 files) |
Recommendation
Phase 3. Build on the MCP client from GAP-TOOLS-025. Add connection lifecycle management. UI can initially be CLI-based, then migrate to Ink components.