Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Berth Documentation

The safe runtime & package manager for MCP servers.

Berth is a single-binary CLI that lets you discover, install, configure, run, and secure MCP servers — replacing manual JSON config editing with a clean developer experience and a real security layer.

Quick Start

cargo install berth

berth search github
berth install github
berth config github --set token=$GITHUB_TOKEN
berth start github
berth link claude-desktop

What’s Covered

SectionTopics
InstallationBinary installer, Homebrew, building from source
CLI ReferenceAll commands, flags, and registry API endpoints
Security ModelPermissions, audit trail, sandbox, org policy, encrypted secrets
Runtime OperationsStart/stop/restart, health checks, auto-restart, resource limits, global config
Client IntegrationClaude Desktop, Cursor, Windsurf, Continue, VS Code, watch mode
Team WorkflowsConfig export/import, org policy, analytics

Install Methods

# Cargo
cargo install berth

# npm
npx @berth/cli search github

# Shell script
curl -fsSL https://raw.githubusercontent.com/berth-mcp/berth/main/install.sh | sh

# Homebrew (source)
brew install --HEAD ./Formula/berth.rb