python-sdk

The official Python SDK for Model Context Protocol servers and clients

GitHub Stars

18,247

User Rating

Not Rated

Favorites

0

Views

84

Forks

2,432

Issues

479

Installation
Difficulty
expert
Estimated Time
20-45 minutes

Installation

Installation

Prerequisites

Please specify required software and versions:
Python: 3.6 or higher

Installation Steps

1. Clone Repository

bash
git clone https://github.com/modelcontextprotocol/python-sdk.git
cd python-sdk

2. Install Dependencies

bash
pip install -r requirements.txt

3. Start Server

bash
python -m server

Troubleshooting

Common Issues

Issue: Server won't start Solution: Check Python version and reinstall dependencies.