feat: add option for custom docker host socket

Why:

The socket is different when we use rootless mode with docker.
This commit is contained in:
Xavier Bouthillier
2025-04-16 09:28:44 -04:00
parent cfb54b2cc1
commit 1f28d83bf3
4 changed files with 10 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ class ProxyMCP(BaseModel):
proxy_options: Dict[str, Any] = Field(default_factory=dict)
env: Dict[str, str] = Field(default_factory=dict)
host_port: Optional[int] = None # External port to bind the SSE port to on the host
docker_host: Optional[str] = None # Docker host to use for the proxy container
MCP = Union[RemoteMCP, DockerMCP, ProxyMCP]