mcp-types
Model Context Protocol wire types
Decision gist · record as of 2026-08-14
Yes. This is a production-stable, actively maintained package with minimal dependencies and no known vulnerabilities. Install it if you need to work with Model Context Protocol messages in isolation or want to avoid the overhead of the full SDK. The low install friction and permissive license make it a straightforward addition to any project that touches MCP.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Active maintenance with a recent release 17 days old.
- Low install friction: pure Python wheel with only pydantic and typing-extensions as runtime dependencies.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and open-source projects without significant legal constraints.
last release 2026-07-28 (17 days) · last repo commit 2026-08-14 · 24,002 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,666,612 downloads/mo, #1,372 on PyPI
Alternatives
Verify before relying
pip install mcp-types
from mcp_types import Tool, CallToolRequest
from mcp_types.version import LATEST_PROTOCOL_VERSION- Performance characteristics when deserializing large or deeply nested MCP messages
- Whether the package is suitable for production use beyond the classifier
What it is and what it does
mcp-types holds the wire types, protocol message models, JSON-RPC envelope types, and protocol-version registry for the Model Context Protocol. It lets you work with MCP traffic—serializing and deserializing protocol messages—without pulling in the full SDK. The package depends only on pydantic and typing-extensions, making it suitable for inclusion in environments where you want minimal overhead.
The package is actively maintained and supports Python 3.10 through 3.14. It re-exports its types through the main mcp package, so existing code using `from mcp import Tool` continues to work. If you need to handle MCP messages in isolation—for example, in a service that processes protocol traffic but doesn't need higher-level abstractions—this package provides exactly that surface.
Use it for
- Deserialize incoming MCP protocol messages in a standalone service without the full SDK.
- Build custom MCP clients or servers that need to validate and serialize protocol-compliant messages.
- Integrate MCP message handling into an existing application that already has pydantic as a dependency.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a production-stable, actively maintained package with minimal dependencies and no known vulnerabilities. Install it if you need to work with Model Context Protocol messages in isolation or want to avoid the overhead of the full SDK. The low install friction and permissive license make it a straightforward addition to any project that touches MCP.
Install
mcp-types on PyPI
Before you install
Active maintenance with a recent release 17 days old. Low install friction: pure Python wheel with only pydantic and typing-extensions as runtime dependencies.
Requires Python 3.10 or later.
License in practice
MIT license is permissive; you can use this package freely in commercial and open-source projects without significant legal constraints.
Quickstart
pip install mcp-types
from mcp_types import Tool, CallToolRequest
from mcp_types.version import LATEST_PROTOCOL_VERSION
Verify before relying
- Performance characteristics when deserializing large or deeply nested MCP messages
- Whether the package is suitable for production use beyond the classifier
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespydantictyping-extensions |
| Maintenance | Actively maintained 17 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 11,666,612 / month, #1,372 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: mcp_types-2.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “mcp protocol types”
- mcp-typesProvides the wire types and protocol message models for the Model…
- nvidia-nat-mcpIntegrates MCP (Model Context Protocol) servers with NVIDIA NeMo…
- llama-index-tools-mcpConnects LlamaIndex agents to MCP (Model Context Protocol) servers to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also fastapi-mcp · langchain-mcp-adapters · fastmcp-extensions · chroma-mcp · json-rpc · django-mcp-server · fastmcp · mcp-server-qdrant · ajsonrpc