Commit Graph

4 Commits

Author SHA1 Message Date
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
Marcelo Trylesinski 65c614e48e Rename FastMCP to MCPServer (#1951) 2026-01-25 14:45:52 +01:00
Felix Weinberger df039bf97c Add ergonomic Client class for testing MCP servers (#1870) 2026-01-16 15:49:26 +00:00
Marcelo Trylesinski 814c9c024a Add documentation about testing (#1426) 2025-10-03 14:17:31 +00:00