Highlights
- Migrates the server to the stable MCP Python SDK v2
MCPServerAPI. - Preserves all 19 Docker tool names with flat generated input schemas.
- Adds structured tool output and accurate MCP tool annotations.
- Uses typed lifespan state for Docker client creation and cleanup.
- Exposes container logs and stats through standard resource templates.
- Adds hermetic coverage for every tool plus a real stdio protocol smoke test.
Compatibility
This is a minor pre-1.0 release. The installed mcp-server-docker command and tool names remain compatible, but low-level Python exports were removed, resource discovery now uses templates, and v2 tool calls include structured output.
Install
uvx mcp-server-docker==0.3.0