The official Python SDK for Model Context Protocol servers and clients
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"python-sdk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-python-sdk"
]
}
}
}