mcp-types
توضیحات
Model Context Protocol wire types
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | mcp-types-2.3.0 |
| نام | mcp-types |
| نسخه کتابخانه | 2.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | ['David Soria Parra <davidsp@anthropic.com>, Marcelo Trylesinski <marcelotryle@gmail.com>, Max Isbey <maxisbey@anthropic.com>, Felix Weinberger <fweinberger@anthropic.com>'] |
| نویسنده | Model Context Protocol a Series of LF Projects, LLC. |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/mcp-types/ |
| مجوز | MIT |
# MCP Types
The wire types for the [Model Context Protocol](https://modelcontextprotocol.io).
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.
```python
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.
نیازمندی
| مقدار | نام |
|---|---|
| - | pydantic>=2.12.0 |
| - | typing-extensions>=4.13.0 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl mcp-types-2.3.0:
pip install mcp-types.whl
نصب پکیج tar.gz mcp-types-2.3.0:
pip install mcp-types.tar.gz