skillfed

mcp

Model Context Protocol SDK

mcp Permissive license MIT Active 24,000 v2.0.0 released

Install

mcp on PyPI

pip

pip install mcp

uv

uv add mcp

poetry

poetry add mcp

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 14 — anyio, httpx2, jsonschema, mcp-types, opentelemetry-api, pydantic, pyjwt, python-multipart, pywin32, sse-starlette, starlette, typing-extensions, typing-inspection, uvicorn
Maintenance actively maintained — 16 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: mcp-2.0.0-py3-none-any.whl

Keywords: automation, llm, mcp

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

About mcp

from the package's own PyPI description — quoted content, verbatim

MCP Python SDK

<div align="center">

<strong>Python implementation of the Model Context Protocol (MCP)</strong>

[![PyPI][pypi-badge]][pypi-url] [![MIT licensed][mit-badge]][mit-url] [![Python Version][python-badge]][python-url] [![Documentation][docs-badge]][docs-url] [![Protocol][protocol-badge]][protocol-url] [![Specification][spec-badge]][spec-url]

</div>

> [!NOTE] > This is v2 of the MCP Python SDK, the current stable release line. It is a major rework of the SDK, both to support the 2026-07-28 MCP specification (and every earlier revision) and to fix long-standing architectural issues. Coming from v1? See What's new in v2 for the tour of what changed and the migration guide for every breaking change. > > Not ready to migrate? v1.x lives on the v1.x branch, continues to receive critical bug fixes and security patches, and is documented at <https://py.sdk.modelcontextprotocol.io/v1/>. Since pip install mcp now...

Read as markdown · JSON record · Source repository · Homepage · Docs

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Python SDK for building and connecting to Model Context Protocol servers, enabling LLM applications to interact with tools, resources, and prompts through a standardized protocol.

Low friction: pure Python wheel with 14 runtime dependencies including pydantic, starlette, and uvicorn. Active maintenance with release 16 days old and current commit activity.

MIT license permits unrestricted commercial and private use with minimal obligations—only attribution and license inclusion required.

Usage

pip install mcp

from mcp.server import MCPServer

mcp = MCPServer("Demo")

@mcp.tool()
def add(a: int, b: int) -> int:
    return a + b

Python 3.10 or later required.

Verdict: Production-ready SDK (stable classification) with zero known vulnerabilities, active maintenance, and permissive MIT licensing. Broad Python version support (3.10–3.14) and low install friction make it suitable for immediate adoption in LLM integration projects.

Needs verification

  • Whether httpx2 is a typo or intentional fork of httpx, and its maintenance status.
  • Compatibility guarantees between mcp-types and mcp versions.
  • Performance characteristics under high-concurrency server loads.
  • Repository star count accuracy and its significance for project maturity.
mcp server client sdkmodel context protocol pythonllm tool integration frameworkbuild mcp servers pythonllm resource exposure sdkmodel context protocol toolsai context protocol implementation

Similar packages