Installation
Install globally
Section titled “Install globally”npm install -g @nimblebrain/mpakVerify the installation:
mpak --versionRequirements
Section titled “Requirements”- Node.js 22+ - The CLI is built on Node.js
- Python 3.10+ - Required to run Python-based MCP servers
- Platform - macOS, Linux, or Windows
Alternative: Use without installing
Section titled “Alternative: Use without installing”Run commands directly with npx:
npx @nimblebrain/mpak bundle search echonpx @nimblebrain/mpak bundle run @nimblebraininc/echoThis downloads the CLI on first use and caches it locally.
Configuration
Section titled “Configuration”The CLI stores configuration in ~/.mpak/config.json:
{ "version": "1.0.0", "lastUpdated": "2025-01-01T00:00:00.000Z", "registryUrl": "https://registry.mpak.dev"}Environment Variables
Section titled “Environment Variables”| Variable | Description | Default |
|---|---|---|
MPAK_REGISTRY_URL | Override the registry API URL | https://registry.mpak.dev |
Cache Location
Section titled “Cache Location”Downloaded bundles are cached in ~/.mpak/cache/. To clear the cache:
rm -rf ~/.mpak/cache