The wire types for the Model Context Protocol.
This package holds the protocol message models, JSON-RPC envelope types, per-
version surface validators, and the protocol-version registry. Its only runtime
dependencies are pydantic and typing-extensions, so it can be installed on its
own when you need to (de)serialize MCP traffic without pulling in the full mcp
SDK.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-mcp-types listed in the above command, you can pick from the names under the Packages section.
misc/py-mcp-types: Add new port
The wire types for the Model Context Protocol.
This package holds the protocol message models, JSON-RPC envelope types, per-
version surface validators, and the protocol-version registry. Its only runtime
dependencies are pydantic and typing-extensions, so it can be installed on its
own when you need to (de)serialize MCP traffic without pulling in the full mcp
SDK.
https://pypi.org/project/mcp-types/
PR: 297537