A Node.js wrapper for the MCP Gearbox CLI Python CLI tool, allowing easy installation and usage via npm.
npm install -g mcp-gearbox- Node.js 20.0.0 or higher
- uv or Python 3.11+ (automatically detected during installation)
- Git (for installation from source)
After installation, you can use the CLI commands directly:
# Interactive MCP server selection
mcp init
# Configure for specific AI agent
mcp init -a copilot
mcp init -a continue
mcp init -a kiro
mcp init -a cursor
mcp init -a qoder
mcp init -a claude
mcp init -a gemini
mcp init -a lmstudio
# Initialize in current directory
mcp init .
# Initialize in specific directory
mcp init my-project -a kiroThis Node.js wrapper:
- Installation: Automatically installs the Python
mcp-clipackage usinguv(preferred) orpip(fallback) - Execution: Provides
mcp-cliandmcpcommands that proxy to the Python implementation - Cross-platform: Works on Windows, macOS, and Linux
You can also use this package programmatically in your Node.js applications:
const { executeMcpCli, isMcpCliInstalled } = require('mcp-gearbox');
async function example() {
// Check if mcp-cli is installed
const isInstalled = await isMcpCliInstalled();
console.log('MCP Gearbox installed:', isInstalled);
// Execute mcp-cli command
const result = await executeMcpCli(['init', '.', '-a', 'kiro']);
console.log('Exit code:', result.code);
}import { executeMcpCli, isMcpCliInstalled, ExecutionResult } from 'mcp-gearbox';
async function example(): Promise<void> {
const isInstalled: boolean = await isMcpCliInstalled();
console.log('MCP Gearbox installed:', isInstalled);
const result: ExecutionResult = await executeMcpCli(['init', '.', '-a', 'kiro']);
console.log('Exit code:', result.code);
}If you get a "Python not found" error:
- Install Python 3.11+ from python.org
- Ensure Python is in your PATH
- Try reinstalling:
npm uninstall -g mcp-gearbox && npm install -g mcp-gearbox
If the automatic installation fails:
- Install manually:
pip install git+https://github.com/rohitsoni007/mcp-gearbox-cli - Or use uv:
uv tool install mcp-gearbox --force --from git+https://github.com/rohitsoni007/mcp-gearbox-cli
- GitHub Copilot
- Continue
- Kiro
- Cursor
- Claude Code
- Gemini CLI
- Qoder
- LM Studio
MIT - See the main MCP Gearbox CLI repository for details.