Overview
The Secure MCP Gateway CLI provides comprehensive command-line tools for managing your gateway infrastructure. It enables you to configure MCP servers, manage projects and users, control access with API keys, and maintain system health.Installation
Install via pip
Verify Installation
Quick Start
1. Generate Default Configuration
Create the initial configuration file with default settings:~/.enkrypt/enkrypt_mcp_config.json (macOS/Linux) or %USERPROFILE%\.enkrypt\enkrypt_mcp_config.json (Windows).
2. Install Gateway for Your Client
- Claude Desktop
- Cursor
- Claude Code
CLI Structure
The CLI is organized into command groups:Configuration Commands
Manage MCP configurations and servers
Project Commands
Create and manage projects
User Commands
Manage users and API keys
System Commands
Backup, restore, and health checks
Getting Help
General Help
Command Group Help
Specific Command Help
Global Options
Display the CLI version
Display help information
Delegate command to Docker container (requires Docker installation)
Configuration File Location
The CLI reads and writes configuration to:- macOS/Linux
- Windows
- Docker
Common Workflows
Initial Setup
- Generate configuration
- Install for your MCP client
- Add MCP server configurations
- Create projects and users
- Generate API keys
Add New Server
- Add server to configuration
- Configure guardrails (optional)
- Test with discovery command
User Management
- Create user
- Add user to project
- Generate API key for user/project combination
Exit Codes
0- Success1- General error2- Invalid arguments
Environment Variables
API key for gateway authentication (set by install command)
Project identifier (set by install command)
User identifier (set by install command)
Host operating system (Docker only: macos, linux, windows)
Path to .enkrypt directory on host (Docker only)
Next Steps
Explore Configuration Commands
Learn how to manage MCP configurations and servers