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.

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)

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

Built distribution (wheel)

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

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 log

Release 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 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