MCP · Lesson 7 of 120
Installing the SDK
Mcp for Python.
The official Python SDK is a package called m c p. It has everything for building servers and clients. In this course we use version two, which has some new names compared with older tutorials.

- Official SDK
- Servers and clients
- Version 2
Checking the install
We install it with pip install m c p. Then we import it, and print its version. Run it. We have version two point three.
check.pypython
# pip install mcp
from importlib.metadata import version
import mcp
print("mcp version:", version("mcp"))Output
mcp version: 2.3.0
Also uses sitecustomize.py
import logging, warnings
logging.disable(logging.INFO)
warnings.filterwarnings("ignore")Names in version 2
Older tutorials use Fast MCP. In version two, it's called MCP server. Clients use one simple class, called Client. Field names use snake case, like input schema.
| key | value |
|---|---|
| Server class | MCPServer |
| Old name | FastMCP |
| Client class | Client |
| Fields | snake_case |
Summary
Install the m c p package. In version two, servers use MCP server, and clients use Client. Next, your first server.
Key takeaways- pip install mcp
- MCPServer
- Client
Next up: Your First Server — one tool