mcp-types 2.2.0


pip install mcp-types

  Latest version

Released: Sep 07, 2026


Meta
Author: Model Context Protocol a Series of LF Projects, LLC.
Maintainer: David Soria Parra, Marcelo Trylesinski, Max Isbey, Felix Weinberger
Requires Python: >=3.10

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

License
  • OSI Approved :: MIT License

Programming Language
  • Python :: 3
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14

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.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
pydantic (>=2.12.0)
typing-extensions (>=4.13.0)