Overview
The Secure MCP Gateway can be installed locally on your machine using Python package managers (pip or uv). This approach is ideal for development, testing, or single-machine deployments.Prerequisites
- Python: 3.8 or higher (Python 3.11+ recommended)
- pip: 25.0.1 or higher
- uv: 0.7.9 or higher (optional but recommended for faster installs)
- Git: 2.43 or higher
- MCP Client: Claude Desktop, Cursor, or Claude Code
Verify Prerequisites
Installation Methods
- pip (Recommended)
- uv (Faster)
- Git Clone (Development)
Step 1: Create Virtual Environment
Create an isolated Python environment to avoid conflicts with system packages:Your prompt should now show
(.secure-mcp-gateway-venv) indicating the virtual environment is active.Step 2: Install Package
Install the Secure MCP Gateway from PyPI:- Core gateway server (
gateway.py) - MCP client (
client.py) - CLI tool (
secure-mcp-gateway) - All required dependencies (FastMCP, Redis client, OpenTelemetry, etc.)
Step 3: Generate Configuration
Generate the default configuration file:- macOS/Linux:
~/.enkrypt/enkrypt_mcp_config.json - Windows:
%USERPROFILE%\.enkrypt\enkrypt_mcp_config.json
- Auto-generated API keys
- Default project and user
- Example echo server configuration
- Plugin configurations (auth, guardrails, telemetry)
Step 4: Install for MCP Client
Register the gateway with your MCP client:Step 5: Verify Installation
Check that the gateway is running by opening your MCP client and looking for:- Server Name: “Enkrypt Secure MCP Gateway”
- Status: Connected (green indicator)
- Available Tools: 6 gateway management tools
Configuration File Structure
The generated config file includes:MCP Client Configuration
After installation, the gateway is registered in your client’s config:Verification Steps
1
Check Gateway Status
Open your MCP client and verify the gateway appears in the server list with a connected status.
2
Test Tool Discovery
In your MCP client, ask:You should see the gateway’s 6 management tools and any configured MCP servers.
3
Test Echo Server
The default config includes an echo server. Test it with:
4
Check Logs
Logs are written to:
- macOS/Linux:
~/.enkrypt/logs/ - Windows:
%USERPROFILE%\.enkrypt\logs\
Uninstalling
To remove the gateway:Troubleshooting
Gateway Not Appearing in Client
-
Verify config file exists:
- Check client config file has gateway entry
- Restart MCP client completely
- Check client logs for connection errors
Import Errors
Permission Errors
Python Version Issues
Next Steps
Add MCP Servers
Configure GitHub, Slack, or other MCP servers
Enable Guardrails
Protect your servers with input/output guardrails
Docker Deployment
Deploy with Docker for production environments
CLI Commands
Manage gateway with CLI commands