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

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.0.1
File Size Uploaded
mcp_types-2.0.1.tar.gz 66.6 kB Details

Built distribution (wheel)

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

Total release size: 136.3 kB

Release files / mcp_types-2.0.1.tar.gz

Download URL mcp_types-2.0.1.tar.gz
Size 66.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ed30cb67e7a5cf6979c4befa451f363fe2d8a72b17ad405a5b95e777ad206646
BLAKE2b-256 checksum
How to use checksums
b08396ac3d891af54eab9ccee35485fbb162dccde38ba807639286eaef343013
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 26, 2026.

Transparency log

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

Download URL mcp_types-2.0.1-py3-none-any.whl
Size 69.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d009ecb80e074f66fd5d4b8ca1e72169a974732733b9ce01978aafb70d2dd27a
BLAKE2b-256 checksum
How to use checksums
b64937a1f580d94ee0f16c1f3d1c6e32bbb264e607f1739a4c0cb9232619dfd9
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 26, 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