Model Context Protocol wire types
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_types-2.0.0b1.tar.gz.
File metadata
- Download URL: mcp_types-2.0.0b1.tar.gz
- Upload date:
- Size: 65.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a26910a737c4cd4de36c7d5629febe7d33d4556a9d196166b5c7187a6516944
|
|
| MD5 |
35637ca8915db01cfeea6cc0a85b17d3
|
|
| BLAKE2b-256 |
2b88f3e4322a5bfc382f8851e584f2e2c87354467dc17fb602dd4b13dee65b7c
|
Provenance
The following attestation bundles were made for mcp_types-2.0.0b1.tar.gz:
Publisher:
publish-pypi.yml on modelcontextprotocol/python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_types-2.0.0b1.tar.gz -
Subject digest:
6a26910a737c4cd4de36c7d5629febe7d33d4556a9d196166b5c7187a6516944 - Sigstore transparency entry: 2028079750
- Sigstore integration time:
-
Permalink:
modelcontextprotocol/python-sdk@0da90920376949705e834580c05a32784f626cfa -
Branch / Tag:
refs/tags/v2.0.0b1 - Owner: https://github.com/modelcontextprotocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0da90920376949705e834580c05a32784f626cfa -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_types-2.0.0b1-py3-none-any.whl.
File metadata
- Download URL: mcp_types-2.0.0b1-py3-none-any.whl
- Upload date:
- Size: 68.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1b22b56b0ba7b1d51c84dc99afdd603ae225c55e9e8f07477774552bf34c8cd
|
|
| MD5 |
759cd35695afb4a4222b7a6b87b953c0
|
|
| BLAKE2b-256 |
3f052da79c73dd07d028163c2b24d4cc6e988da11dff83f7902a07d69a87df80
|
Provenance
The following attestation bundles were made for mcp_types-2.0.0b1-py3-none-any.whl:
Publisher:
publish-pypi.yml on modelcontextprotocol/python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_types-2.0.0b1-py3-none-any.whl -
Subject digest:
c1b22b56b0ba7b1d51c84dc99afdd603ae225c55e9e8f07477774552bf34c8cd - Sigstore transparency entry: 2028080250
- Sigstore integration time:
-
Permalink:
modelcontextprotocol/python-sdk@0da90920376949705e834580c05a32784f626cfa -
Branch / Tag:
refs/tags/v2.0.0b1 - Owner: https://github.com/modelcontextprotocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0da90920376949705e834580c05a32784f626cfa -
Trigger Event:
release
-
Statement type: