MCP Python SDK banner
modelcontextprotocol modelcontextprotocol

MCP Python SDK

Development community intermediate

Description

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

Installation

Terminal
claude install-skill https://github.com/modelcontextprotocol/python-sdk

README

MCP Python SDK

Python implementation of the Model Context Protocol (MCP)

[![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]

[!NOTE] **This README documents v1.x of the MCP Python SDK (the current stable release).**

For v1.x code and documentation, see the [`v1.x` branch](https://github.com/modelcontextprotocol/python-sdk/tree/v1.x). For the upcoming v2 documentation (pre-alpha, in development on `main`), see [`README.v2.md`](README.v2.md).

Table of Contents

    undefined

...