Prerequisites
Node.js 20+
UMCP requires Node.js version 20 or higher. Check your version:
Installation Methods
Choose the installation method that best fits your workflow:- GitHub (Recommended)
- npx (No Install)
- npm (Local Dev)
Install directly from the GitHub repository to get the latest version:This method:
- Installs the latest code from the
mainbranch - Bypasses npm registry delays
- Perfect for early adopters and contributors
umcp command will be available in your project’s node_modules/.bin directory.If you install globally with
npm install -g github:grittyninja/umcp, the umcp command will be available system-wide.Verify Installation
Confirm UMCP is installed correctly:Configuration File
UMCP uses a single JSONC configuration file:~/.config/umcp/umcp.jsoncOn first run, UMCP automatically creates this file with detailed placeholder examples if it doesn’t exist.
Schema Validation
UMCP provides a JSON schema for editor validation and autocomplete: Hosted Schema URL:Config File Format
JSONC (JSON with Comments) allows:- Single-line comments:
// comment - Multi-line comments:
/* comment */ - Trailing commas in objects and arrays
Package Structure
When installed, UMCP includes these files:Troubleshooting
EACCES: permission denied
EACCES: permission denied
If you encounter npm permission errors, use one of these solutions:Option 1: Use npx (recommended)Option 2: Fix npm permissionsOption 3: Use UMCP’s fallback cacheUMCP automatically applies a fallback npm cache at
~/.cache/umcp/npm when it detects permission issues.node: command not found
node: command not found
Node.js is not installed or not in your PATH.Install Node.js:
- macOS:
brew install node - Ubuntu/Debian:
sudo apt install nodejs npm - Windows: Download from nodejs.org
Module not found errors after installation
Module not found errors after installation
Rebuild the project:
Config file not found
Config file not found
UMCP creates the config file automatically on first run. To trigger creation:This will create
~/.config/umcp/umcp.jsonc with example configuration.You can also specify a custom path:Next Steps
Quick Start Guide
Get UMCP running in under 5 minutes
Configuration
Learn how to configure providers and tools
CLI Reference
Explore all CLI commands and options
Examples
See real-world configuration examples