Summary
The current Dockerfile builds an image that runs only the REST service (uvicorn on 8080); there is no way to run the MCP server from the container. Many agents are wired to MCP servers via a container command (stdio) or a remote HTTP endpoint, so an MCP-capable image plus a compose service is the most direct path to making OpenMed connectable from containerized agent setups.
Scope
Acceptance criteria
Out of scope
- Submitting to an external container MCP catalog (optional follow-up).
- OAuth for remote MCP (can follow).
Files
- Dockerfile
- Dockerfile.mcp
- docker-compose.yml
- docs/mcp-clients.md
- tests/unit/mcp/test_mcp_container.py
Task: OM-396 · Milestone: v2.0 · Priority: P1 · Size: M
Depends on: OM-395 · Blocks: —
Roadmap: agentic initiative
Spec: PLANS/V2/EXECUTION/tasks/OM-396.md
Summary
The current Dockerfile builds an image that runs only the REST service (uvicorn on 8080); there is no way to run the MCP server from the container. Many agents are wired to MCP servers via a container command (stdio) or a remote HTTP endpoint, so an MCP-capable image plus a compose service is the most direct path to making OpenMed connectable from containerized agent setups.
Scope
docker run -i --rm <image>runs the stdio MCP server and a flagged form runs the Streamable HTTP server on a documented port bound appropriately.Acceptance criteria
Out of scope
Files
Task: OM-396 · Milestone: v2.0 · Priority: P1 · Size: M
Depends on: OM-395 · Blocks: —
Roadmap: agentic initiative
Spec: PLANS/V2/EXECUTION/tasks/OM-396.md