Model Context Protocol (MCP) 1 · Python server
Install the Python SDK
Install the SDK with its command-line tools.
pip install "mcp[cli]"
Official Model Context Protocol (MCP) 1 documentation
More python server commands
- Create a Python server with a tool
- Expose a resource
- Expose a prompt template
- Serve over HTTP
- Log without breaking stdio
- Test with the dev server
All python server commands · Model Context Protocol (MCP) 1 cheatsheet