feat: add MCP server allocation on demand with dual pool support#4
Merged
andyjmorgan merged 1 commit intomainfrom Feb 5, 2026
Merged
feat: add MCP server allocation on demand with dual pool support#4andyjmorgan merged 1 commit intomainfrom
andyjmorgan merged 1 commit intomainfrom
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Frontend:
https://claude.ai/code/session_018N7E8gxNjLSL5xPLDt94ws