Files
Marcelo Trylesinski b42d5cd5fe Extract protocol types into a standalone mcp-types package
Convert the repository into a uv workspace mirroring pydantic/httpx2. The
root pyproject becomes a pure coordinator (package = false) and the two
distributable packages live nested under src/<pkg>/<pkg>/ each with their
own pyproject:

- src/mcp/mcp/ -> mcp
- src/mcp-types/mcp_types/ -> mcp-types (import mcp_types)

The protocol types (_types.py, jsonrpc.py) move into mcp_types, which only
depends on pydantic and typing-extensions. mcp depends on mcp-types via
uv-dynamic-versioning, so installing mcp still pulls the types in. The
mcp.types module path is removed; all imports now use mcp_types. The
curated re-exports on the top-level mcp package are unchanged.
2026-06-02 18:06:12 +02:00
..