@sigyl-dev/cli
v1.4.4
Published
Official Sigyl CLI for installing and managing MCP packages. Zero-config installation for public packages, secure API-based authentication.
Readme
Sigyl CLI
The official CLI tool for installing and managing MCP (Model Context Protocol) packages from the Sigyl registry.
🚀 Quick Start
Install any public MCP package immediately:
npx @sigyl-dev/cli install package-nameThat's it! No configuration required for public packages.
📦 Installation
# Install globally (optional)
npm install -g @sigyl-dev/cli
# Or use directly with npx
npx @sigyl-dev/cli install package-name🔧 Configuration (Optional)
Configuration is only needed for private packages or custom registry URLs.
Set up your API key:
sigyl configThis will prompt you for:
- Registry URL:
https://api.sigyl.dev(default) - API Key: Get yours from sigyl.dev/dashboard
View current configuration:
sigyl config showReset to defaults:
sigyl config reset🎯 Usage
Install MCP packages:
# Public packages (no config needed)
sigyl install weather-tools
sigyl install file-manager
# Private packages (requires API key)
sigyl install my-private-package
# Specify client (default: claude)
sigyl install package-name --client claude
sigyl install package-name --client vscode
sigyl install package-name --client cursorList installed packages:
sigyl install --listRemove packages:
sigyl install --remove package-name🔑 API Key Setup
- Go to sigyl.dev/dashboard
- Generate an API key
- Run
sigyl configand enter your key - Install private packages with
sigyl install
🎛️ Advanced Configuration
Environment Variables (for development):
export SIGYL_REGISTRY_URL="http://localhost:3000"
export SIGYL_API_KEY="sk_your_key_here"Configuration File Location:
- macOS/Linux:
~/.sigyl/config.json - Windows:
%USERPROFILE%\.sigyl\config.json
Configuration File Format:
{
"registryUrl": "https://api.sigyl.dev",
"apiKey": "sk_your_api_key_here"
}🔒 Security
- No database credentials: CLI uses secure API-based authentication
- API keys: Scoped permissions (read/write/admin)
- Rate limiting: Built into the API layer
- Audit trail: All CLI usage tracked via API
🌐 Supported Clients
- Claude Desktop (default)
- VS Code with MCP extension
- Cursor with MCP extension
📚 Examples
# Zero-config installation
npx @sigyl-dev/cli install weather-api
# With custom client
sigyl install file-tools --client vscode
# With API key for private packages
sigyl config # Set up API key once
sigyl install my-company/internal-tools
# List what's installed
sigyl install --list
# Remove a package
sigyl install --remove weather-api🆘 Troubleshooting
Package not found:
❌ Package 'package-name' not found in the registry.
💡 Check available packages at https://sigyl.dev/marketplaceAuthentication failed:
❌ Authentication failed. Invalid API key.
💡 Get your API key from https://sigyl.dev/dashboard
💡 Or run 'sigyl config' to set it upConnection issues:
❌ Failed to connect to registry API
💡 Check your internet connection and try again
💡 Registry URL: https://api.sigyl.dev🔗 Links
- Marketplace: sigyl.dev/marketplace
- Dashboard: sigyl.dev/dashboard
- Documentation: docs.sigyl.dev
- Support: Discord
🚀 What's New
- ✅ Zero Configuration: Public packages work immediately
- ✅ API-First: Secure authentication via registry API
- ✅ Simple Setup: Single API key for private packages
- ✅ Better Errors: Clear guidance and helpful links
- ✅ Multi-Client: Support for Claude, VS Code, and Cursor
MCP Inspector (Local Playground)
The CLI can now run both your MCP server and the Inspector Playground UI locally for robust local development and debugging.
Usage (Programmatic)
import inspectCommand from './src/commands/inspect';
// Basic usage (defaults)
inspectCommand();
// With options
inspectCommand([], undefined, {
serverEntry: './.mcp-generated/server.js', // Path to your MCP server
serverPort: 8080, // Port for MCP server
playgroundDir: './playground', // Path to playground directory
playgroundPort: 3001, // Port for playground UI
autoBuildPlayground: true, // Auto-build playground if missing
inspectorMode: 'local', // 'local' (default) or 'remote'
});CLI Behavior
- Starts your MCP server on the specified port (default: 8080)
- Serves the Inspector Playground UI on the specified port (default: 3001)
- Waits for both to be ready, then opens the browser to the playground UI
- Cleans up all child processes on exit
- If the playground build is missing, will prompt you to build it (or auto-build if enabled)
Troubleshooting
- If you see an error about missing
distin the playground, run:cd packages/cli/ts-cli/playground && npm run build - You can enable auto-build by passing
autoBuildPlayground: truein options.
