Installation
protomcp binary
Homebrew (macOS / Linux)
brew install msilverblatt/tap/protomcpBinary download
Download the latest release from GitHub Releases and place the binary on your PATH:
# macOS (Apple Silicon)curl -L https://github.com/msilverblatt/protomcp/releases/latest/download/protomcp_darwin_arm64.tar.gz | tar xzsudo mv protomcp /usr/local/bin/
# Linux (amd64)curl -L https://github.com/msilverblatt/protomcp/releases/latest/download/protomcp_linux_amd64.tar.gz | tar xzsudo mv protomcp /usr/local/bin/From source
Requires Go 1.25+.
git clone https://github.com/msilverblatt/protomcp.gitcd protomcpgo build -o protomcp ./cmd/protomcpsudo mv protomcp /usr/local/bin/Verify
protomcp --versionPython SDK
Requires Python 3.10+.
pip install protomcpOr with a virtual environment:
python -m venv .venvsource .venv/bin/activatepip install protomcpTypeScript SDK
Requires Node.js 18+.
npm install protomcpOr with yarn / pnpm:
yarn add protomcppnpm add protomcpGo SDK
Requires Go 1.25+.
go get github.com/msilverblatt/protomcp/sdk/goRust SDK
Requires Rust 1.70+ and protoc (protobuf compiler).
cargo add protomcp tokio --features tokio/fullcargo add serde_jsonInstall protoc if not already available:
# macOSbrew install protobuf
# Linux (apt)sudo apt install -y protobuf-compilerRuntime detection
protomcp detects the runtime from the file extension automatically:
| Extension | Runtime |
|---|---|
.py | python3 (or $PROTOMCP_PYTHON) |
.ts | npx tsx (or $PROTOMCP_NODE) |
.js | node (or $PROTOMCP_NODE) |
.go | go run |
.rs | cargo run --manifest-path <Cargo.toml path> |
Use --runtime to override: pmcp dev tools.py --runtime python3.12