MCP Types
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.
from mcp_types import Tool, CallToolRequest
from mcp_types.version import LATEST_PROTOCOL_VERSION
The mcp package re-exports these names, so existing from mcp import Tool imports
keep working.
Metadata
Release files for mcp-types 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcp_types-2.3.0.tar.gz | 65.9 kB | With provenance | Details for mcp_types-2.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_types-2.3.0-py3-none-any.whl | Python 3 | none | any | Details for mcp_types-2.3.0-py3-none-any.whl |
Total release size: 135.0 kB
Release files / mcp_types-2.3.0.tar.gz
| Download URL | mcp_types-2.3.0.tar.gz |
|---|---|
| Size | 65.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1e46549edb35ee19a94940fcee6d1addd7e589ab7ea92dda83f5d84781fc362
|
|
BLAKE2b-256 checksum How to use checksums |
9e2d7c251e34207f6c51000312fc8839111ac45cfe02023f90b44e7f1051dd8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / mcp_types-2.3.0-py3-none-any.whl
| Download URL | mcp_types-2.3.0-py3-none-any.whl |
|---|---|
| Size | 69.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
968efdbdaedfab06adae40d378a34395f1090c5921d4be3c9cde283aaf76d91d
|
|
BLAKE2b-256 checksum How to use checksums |
ce4832583066b155bb5d4507e7887dc88ee23118cc4de8e2a12870c49719e2a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logSecurity for mcp-types 2.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mcp_types-2.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.