Skip to content

feat: add MCP server allocation on demand with dual pool support#4

Merged
andyjmorgan merged 1 commit intomainfrom
claude/plan-mcp-allocation-Y9540
Feb 5, 2026
Merged

feat: add MCP server allocation on demand with dual pool support#4
andyjmorgan merged 1 commit intomainfrom
claude/plan-mcp-allocation-Y9540

Conversation

@andyjmorgan
Copy link
Owner

Adds a complete MCP server lifecycle management system alongside the existing
sandbox infrastructure. MCP servers use their own Docker image, warm pool,
and generous lifecycle timeouts (60m idle, 8h max vs 5m/15m for sandboxes).

Backend:

  • New McpContainerService with create, allocate, start/arm, proxy, status, stop, delete
  • Dual warm pool support in PoolManager (sandbox + MCP, each with own target size)
  • Container-type labels (sandbox/mcp-server) for clean separation
  • Type-aware cleanup service with per-type idle/lifetime thresholds
  • New /api/mcp-servers/* endpoints mirroring sandbox patterns
  • McpServerImage, McpPodNamePrefix, McpWarmPoolSize config

Frontend:

  • Top-level navigation tabs (Sandboxes / MCP Servers) in AppLayout
  • McpServerManager with tabbed interface (Dashboard + per-server tabs)
  • McpServerCreator with allocate/create, pool status, SSE streaming
  • McpServerDetail with start/arm form, JSON-RPC proxy panel, status polling

https://claude.ai/code/session_018N7E8gxNjLSL5xPLDt94ws

Adds a complete MCP server lifecycle management system alongside the existing
sandbox infrastructure. MCP servers use their own Docker image, warm pool,
and generous lifecycle timeouts (60m idle, 8h max vs 5m/15m for sandboxes).

Backend:
- New McpContainerService with create, allocate, start/arm, proxy, status, stop, delete
- Dual warm pool support in PoolManager (sandbox + MCP, each with own target size)
- Container-type labels (sandbox/mcp-server) for clean separation
- Type-aware cleanup service with per-type idle/lifetime thresholds
- New /api/mcp-servers/* endpoints mirroring sandbox patterns
- McpServerImage, McpPodNamePrefix, McpWarmPoolSize config

Frontend:
- Top-level navigation tabs (Sandboxes / MCP Servers) in AppLayout
- McpServerManager with tabbed interface (Dashboard + per-server tabs)
- McpServerCreator with allocate/create, pool status, SSE streaming
- McpServerDetail with start/arm form, JSON-RPC proxy panel, status polling

https://claude.ai/code/session_018N7E8gxNjLSL5xPLDt94ws
@andyjmorgan andyjmorgan merged commit 444e1dc into main Feb 5, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants