Overview
This guide will help you install the Secure MCP Gateway, generate a configuration, and connect it to Claude Desktop with a test echo server. You’ll be up and running in under 10 minutes.This quick start uses the pip installation method and Claude Desktop as the MCP client. For other installation methods or clients, see the installation guide.
Prerequisites
Before starting, ensure you have:- Python 3.11 or higher - Check with
python --version - pip 25.0.1 or higher - Check with
pip --version - Claude Desktop - Download from claude.ai/download
If you don’t have these installed, refer to the installation guide for detailed setup instructions.
Step 1: Install the gateway
Step 2: Generate configuration
The gateway uses a JSON configuration file that defines projects, users, servers, and guardrails.- Location (macOS):
~/.enkrypt/enkrypt_mcp_config.json - Location (Windows):
%USERPROFILE%\.enkrypt\enkrypt_mcp_config.json
The generated config includes a default project, user, API key, and an echo server for testing.
What’s in the config?
The generated configuration includes:- Common settings - Log level, cache settings, telemetry configuration
- Default project - Named “default_project” with a unique project ID
- Default user - Email “[email protected]” with a unique user ID
- API key - A 50-character random string for authentication
- Echo server - A test MCP server that echoes back messages
Step 3: Install for Claude Desktop
Connect the gateway to Claude Desktop:- Reads your gateway configuration
- Extracts the API key, project ID, and user ID
- Updates Claude’s config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Configures the gateway as an MCP server
What gets added to Claude’s config?
Step 4: Verify the connection
Check for the gateway
In Claude, look for the MCP server icon (🔌) in the bottom right corner. Click it to see “Enkrypt Secure MCP Gateway” listed.
Test the echo server
Ask Claude: “List all available MCP servers and their tools.”You should see:
- Server:
echo_server - Tools:
send_echo_message
If you don’t see the gateway or encounter errors, check the troubleshooting section below.
Step 5: View gateway tools (optional)
The gateway itself provides management tools you can invoke from Claude:enkrypt_list_all_servers- List all configured MCP serversenkrypt_get_server_info- Get details about a specific serverenkrypt_discover_all_tools- Discover tools from all serversenkrypt_secure_call_tools- Execute tools with guardrailsenkrypt_get_cache_status- View cache statisticsenkrypt_clear_cache- Clear cached data
What’s next?
Add a real MCP server
Now that the gateway is working, add a real MCP server like GitHub:You’ll need to set the
GITHUB_PERSONAL_ACCESS_TOKEN environment variable. See the GitHub MCP Server documentation for details.Enable guardrails
Protect your servers with input and output guardrails:- Get an Enkrypt API key from app.enkryptai.com/settings
- Add it to your config:
- Enable guardrails for a server:
Set up monitoring
For production deployments, enable observability:- Run the OpenTelemetry stack:
- Access Grafana at http://localhost:3000
- View traces in Jaeger at http://localhost:16686
- Check metrics in Prometheus at http://localhost:9090
Troubleshooting
Gateway not showing in Claude
- Verify the config file exists:
- Check that the path to
gateway.pyis correct - Ensure Claude Desktop was restarted (not just the window, but the entire app)
- Check Claude’s logs:
- macOS:
~/Library/Logs/Claude/ - Windows:
%APPDATA%\Claude\logs\
- macOS:
”Gateway key is required” error
This means the gateway couldn’t find a valid API key. Verify:- The
ENKRYPT_GATEWAY_KEYis set in Claude’s config - The key exists in the
apikeyssection ofenkrypt_mcp_config.json - The key matches exactly (no extra spaces or quotes)
Echo server not found
If the echo server doesn’t appear:- Check the config file at
~/.enkrypt/enkrypt_mcp_config.json - Verify the
argspath points to the actualecho_mcp.pyfile - Test the server directly:
Python version mismatch
If you see errors about Python versions:- Ensure you’re using Python 3.11+:
- Create a new virtual environment with the correct Python:
Other MCP clients
Cursor
Install for Cursor instead of Claude Desktop:~/.cursor/mcp.json (or %USERPROFILE%\.cursor\mcp.json on Windows).
Claude Code
For the Claude Code CLI:claude mcp add to register the gateway.
Learn more
Installation guide
Docker, from source, and advanced installation options
Configuration
Configure servers, guardrails, and advanced settings
CLI reference
Complete command reference for managing the gateway
API reference
REST API documentation for programmatic management