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.
Release files for mcp-types 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_types-2.1.1.tar.gz | 66.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_types-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 136.3 kB
Release files / mcp_types-2.1.1.tar.gz
| Download URL | mcp_types-2.1.1.tar.gz |
|---|---|
| Size | 66.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77dcbe48fba73cca71a673f2646a5f037a017b7a0a07ac89cec1113028890eda
|
|
BLAKE2b-256 checksum How to use checksums |
6add1c4417dc0b722c23a1669032d5f044e41170fe5d4773b488a50fcce98c32
|
| 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 Aug 25, 2026.
Transparency logRelease files / mcp_types-2.1.1-py3-none-any.whl
| Download URL | mcp_types-2.1.1-py3-none-any.whl |
|---|---|
| Size | 69.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26f9f7f03f2a5730717a5b98e2ab7eb640ac352d05a00cdc725c311864778295
|
|
BLAKE2b-256 checksum How to use checksums |
71d0242e63c510f4a17381f55b1549a3f94f5687a0595984febd2b6f87a687a0
|
| 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 Aug 25, 2026.
Transparency log