Open
Labels
enhancementNew feature or request
Description
The idea is this: as a user, I might want to run a large amount of MCP servers, which could have a significant memory footprint or even some negative impact on CPU usage/battery life on laptops.
To mitigate this, we could have a serverless/start-container-on-demand mode where a proxy server is always ready to take requests on behalf of an MCP, but the actual container is not always continuously running. Instead, we would start the container on demand, and keep it running for a while, perhaps 30 min. After it's been idle for a period of time, the container can be stopped gracefully, but the proxy server keeps receiving requests, so the MCP will appear to be continuously online.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
ChrisJBurns commentedon Jun 30, 2025
We're already considering something similar to this for the Kubernetes runtime to avoid the 1:1 scaling issue of request/MCP. Haven't gotten around to working on it yet though
jtenniswood commentedon Jun 30, 2025
Nice idea, docker has some resource saving mode. Not sure what that actually does.
kantord commentedon Jun 30, 2025
seems like it kills the Linux VM when there are no active containers running. So actually to allow users to leverage this Docker feature, we would need this serverless mode.