Back to directory

MCP Python SDK

The official Python implementation of the Model Context Protocol, for building MCP servers that expose tools, resources and prompts, and MCP clients that connect to them.

Visit website (opens in a new tab)py.sdk.modelcontextprotocol.io
MCP Python SDK

MCP Python SDK is the official Python implementation of the Model Context Protocol (MCP), which lets a developer build servers that expose data and functionality to LLM applications in a secure, standardized way, similar to a web API designed for LLM interactions.

With the SDK a developer can build MCP servers that expose tools, resources and prompts to any MCP host, and MCP clients that connect to any MCP server, over every standard transport: stdio, Streamable HTTP and SSE. An optional CLI extra adds commands for developing, running and installing a server, including the MCP Inspector for trying one out.

Version 2 is the current stable release line, reworked to support the latest MCP specification and to fix long-standing architectural issues; version 1.x remains available on its own branch with critical fixes. It requires Python 3.10 or newer, installs with pip or uv, and is licensed under the MIT license.

More in MCP servers

See all 734
  • Light Cloud

    light-cloud.com

    A hosting platform that deploys a static site, a container, or a managed Postgres database straight from a GitHub, GitLab, or Bitbucket push, with a preview URL for every branch and an MCP server for deploying from Claude Code.

  • ForensicDbg

    forensicdbg.com

    A post-mortem debugger for native Windows x86 and x64 crashes, with an MCP interface so AI tools can consume crash-dump analysis directly.

  • Karada.ai

    karada.ai

    A CI/CD platform that auto-compiles existing APIs into Go MCP servers, attaches composable middleware, and exposes them through one gateway usable from Cursor, Claude Code, and Windsurf.