Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 679 Bytes

File metadata and controls

50 lines (29 loc) · 679 Bytes

PythonMCPServer

Requirements

uv An extremely fast Python package and project manager, written in Rust.

curl -LsSf https://astral.sh/uv/install.sh | sh

To enable shell autocompletion for uv commands

echo 'eval "$(uv generate-shell-completion zsh)"' >> ~/.zshrc

MCP Python SDK

To create a new project

uv init .

uv venv

source .venv/bin/activate

uv add "mcp[cli]"

uv run mcp install main.py

Install after cloning

uv venv

source .venv/bin/activate

uv add "mcp[cli]"

uv run mcp install main.py