Split the client SDK into a standalone mcp-client package
KL
2mo ago+14829+14829+01234567890123456789012345678901234567890123456789-12687-12687-01234567890123456789012345678901234567890123456789
Summary
Extract the clients, transports, OAuth support, and shared protocol machinery into mcp-client, imported as mcp_client, without the HTTP server dependencies. Keep existing mcp imports as permanent aliases and preserve Client(server) when the full SDK is installed.
Release mcp, mcp-client, and mcp-types in lockstep with exact dependency pins. Update workspace configuration, publishing, documentation, and isolated wheel/sdist checks.
Validation
- 5,983 tests pass with 100% branch coverage;
strict-no-coverand all pre-commit checks pass. - Client and compatibility tests pass on Python 3.10; standalone artifacts pass on Python 3.10 and 3.14.
- Client wheel and sdist complete a request without
mcpor its server dependencies. All three wheels have matching versions and no overlapping files. - Strict documentation builds pass for English and all translated sites.
Before release
Verify ownership of the existing mcp-client PyPI project and configure its trusted publisher for this repository's publish-pypi.yml workflow and release environment.
AI Disclaimer
This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.