secure-protocol-gateway-service
Implements comprehensive security analysis, including adversarial testing, prompt validation, and AI safety oversight for workflows leveraging the Model Context Protocol.
Author

enkryptai
Quick Info
Actions
Tags
Secure Protocol Gateway Service
The Secure Protocol Gateway Service provides integration of robust red-teaming methodologies, rigorous prompt validation procedures, and advanced AI safety assessments directly within any environment compliant with the Model Context Protocol (MCP), such as the Cursor IDE or Claude Desktop client.
This utility enables the examination of input prompts, detection of circumvention attempts (jailbreaks), simulation of hostile scenarios, and embedding of crucial AI risk mitigation tools directly into assistant-centric operational pipelines.
🌟 Core Capabilities
- Immediate assessment of prompt vulnerability levels
- Red-teaming exercises driven by synthetic adversarial prompt generation
- Utilization of standardized MCP tooling for continuous LLM oversight
- Effortless connection with Claude Desktop, Cursor IDE, and other conforming MCP frontends
🛠️ Setup Procedure
Ensure that the uv package manager is installed on your system prior to initialization.
1. Obtain the Source Code
bash git clone https://github.com/enkryptai/enkryptai-mcp-server.git cd enkryptai-mcp-server
2. Install Required Dependencies
bash uv pip install -e .
🔑 API Credential Retrieval
A complimentary API key is required to activate Enkrypt tools. Obtain yours here:
https://app.enkryptai.com/settings/api
🖥️ Deployment Configuration
This gateway service can interface with any MCP-compliant application. Below details the connection process for Cursor and Claude Desktop.
💻 Cursor Integration
- Navigate to Settings and select the MCP configuration tab within Cursor.
- Choose the option to "Add new global MCP server".
- Insert the following configuration structure into the
mcp.jsonfile:
{ "mcpServers": { "EnkryptAI-MCP": { "command": "uv", "args": [ "--directory", "PATH/TO/enkryptai-mcp-server", "run", "src/mcp_server.py" ], "env": { "ENKRYPTAI_API_KEY": "YOUR ENKRYPTAI API KEY" } } } }
Mandatory Substitutions:
- Replace PATH/TO/enkryptai-mcp-server with the absolute filesystem location of the cloned repository.
- Substitute YOUR ENKRYPTAI API KEY with your actual obtained secret key.
The service will initiate, and its presence will be reflected in your list of available MCP utilities.
🗨️ Claude Desktop Integration
- Access the Claude menu bar item (external to the main application window).
- Navigate to Settings… and then select the Developer tab.
- Select Edit Config.
This action will open or generate the MCP configuration file at the following location:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json
Overwrite the file contents with:
{ "mcpServers": { "EnkryptAI-MCP": { "command": "uv", "args": [ "--directory", "PATH/TO/enkryptai-mcp-server", "run", "src/mcp_server.py" ], "env": { "ENKRYPTAI_API_KEY": "YOUR ENKRYPTAI API KEY" } } } }
Finalization Steps: - Confirm the repository path is accurately set. - Ensure your unique API key is correctly entered.
Finally, restart Claude Desktop. Upon reloading, a wrench icon should appear within the chat input field, signifying that the MCP tooling is now operational.
