Add the MCP Python SDK
Pull in the official mcp package for your project.
Time to Add the SDK
Your project is scaffolded, but it can't speak MCP yet. The next step is pulling in the official library that does all the heavy lifting. 📦
The Package Is Just mcp
The official Python SDK ships as a package simply named mcp. It contains everything you need to build servers and clients in plain Python.
All lessons in this course
- Install Python & uv
- Add the MCP Python SDK
- Meet the mcp CLI
- Project Layout for a Server