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.1.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.1.0
File Size Uploaded
mcp_types-2.1.0.tar.gz 66.7 kB Details

Built distribution (wheel)

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

Total release size: 136.3 kB

Release files / mcp_types-2.1.0.tar.gz

Download URL mcp_types-2.1.0.tar.gz
Size 66.7 kB
Tags Source
SHA-256 checksum
How to use checksums
16f91064ce33d7ee7a75a7e198a437172215180c16d4bbcfa0e61488ede92c54
BLAKE2b-256 checksum
How to use checksums
d8975b1c2e40d6121172c97638a0f1d6240526f5aeebdc9ebea11ddcf2139249
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 24, 2026.

Transparency log

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

Download URL mcp_types-2.1.0-py3-none-any.whl
Size 69.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a65bfb7d057ceaf2418781ee61b3041e1f4b5418199297f8939a4b4ed334c3a
BLAKE2b-256 checksum
How to use checksums
b699f9041368b5af773de32af6192ff0627a71368c240123e57262439ae5b594
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 24, 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