Skip to main content

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.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-types 2.2.0
File Size Uploaded
mcp_types-2.2.0.tar.gz 65.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-types 2.2.0
File Interpreter ABI Platform
mcp_types-2.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 135.0 kB

Release files / mcp_types-2.2.0.tar.gz

Download URL mcp_types-2.2.0.tar.gz
Size 65.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d3ed53703ddd10d9c6399f29d322bb66f3f67ab41348ac8556ba23e07fedefad
BLAKE2b-256 checksum
How to use checksums
ae91762d7755d971aff8a28d75f7961656148edf27875c8026e6385aaab08ae7
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 Sep 7, 2026.

Transparency log

Release files / mcp_types-2.2.0-py3-none-any.whl

Download URL mcp_types-2.2.0-py3-none-any.whl
Size 69.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea476b73ee86709ab5abc9452385ed36cc05907e582355622e294595c9a04f13
BLAKE2b-256 checksum
How to use checksums
8fd76ffba5d8cd5dd9b8a19478875c50e04945314ba5074e84d749283f27f62d
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 Sep 7, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page