MCP Python SDK
MCP Python SDK
MCP Python SDK is the Python implementation of the Model Context Protocol (MCP). Python SDK (Software Development Kit) is a collection of tools and libraries that developers use to create applications using the Python programming language. SDKs are designed to simplify and accelerate development by providing pre-written code, functions, and utilities.
The Model Context Protocol allows LLM applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction.
Install MCP SDK
With UV
uv add "mcp[cli]"
With PIP
pip install mcp
To run the mcp command with uv:
uv run mcp