python-sdk

modelcontextprotocol/python-sdk
★ 22,124 stars Python 💻 Code/Dev Tools Updated 1mo ago
The official Python SDK for Model Context Protocol servers and clients
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "python-sdk": {
      "command": "uvx",
      "args": [
        "python-sdk"
      ]
    }
  }
}

Or install with pip: pip install python-sdk