Skip to main content
Glama
enkryptai

Enkrypt AI Secure MCP Gateway

Official
by enkryptai
example_enkrypt_mcp_config.json4.98 kB
{ "admin_apikey": "EXAMPLE_256_CHAR_ADMIN_API_KEY_FOR_ADMINISTRATIVE_OPERATIONS_GENERATED_DURING_CONFIG_GENERATION", "common_mcp_gateway_config": { "enkrypt_log_level": "INFO", "enkrypt_use_remote_mcp_config": false, "enkrypt_remote_mcp_gateway_name": "enkrypt-secure-mcp-gateway-1", "enkrypt_remote_mcp_gateway_version": "v1", "enkrypt_mcp_use_external_cache": false, "enkrypt_cache_host": "localhost", "enkrypt_cache_port": 6379, "enkrypt_cache_db": 0, "enkrypt_cache_password": null, "enkrypt_tool_cache_expiration": 4, "enkrypt_gateway_cache_expiration": 24, "enkrypt_async_input_guardrails_enabled": false, "enkrypt_async_output_guardrails_enabled": false, "timeout_settings": { "default_timeout": 30, "guardrail_timeout": 15, "auth_timeout": 10, "tool_execution_timeout": 60, "discovery_timeout": 20, "cache_timeout": 5, "connectivity_timeout": 2, "escalation_policies": { "warn_threshold": 0.8, "timeout_threshold": 1.0, "fail_threshold": 1.2 } } }, "plugins": { "auth": { "provider": "local_apikey", "config": {} }, "guardrails": { "provider": "enkrypt", "config": { "api_key": "YOUR_ENKRYPT_API_KEY", "base_url": "https://api.enkryptai.com" } }, "telemetry": { "provider": "opentelemetry", "config": { "enabled": true, "url": "http://localhost:4317", "insecure": true } } }, "mcp_configs": { "UNIQUE_MCP_CONFIG_ID": { "mcp_config_name": "default_config", "mcp_config": [ { "server_name": "echo_server", "description": "Dummy Echo Server", "config": { "command": "python", "args": ["PATH_TO_YOUR_ECHO_MCP_FILE"] }, "oauth_config": { "enabled": false, "is_remote": false, "OAUTH_VERSION": "2.1", "OAUTH_GRANT_TYPE": "client_credentials", "OAUTH_CLIENT_ID": "your-client-id", "OAUTH_CLIENT_SECRET": "your-client-secret", "OAUTH_TOKEN_URL": "https://auth.example.com/oauth/token", "OAUTH_AUTHORIZATION_URL": "https://auth.example.com/authorize", "OAUTH_REDIRECT_URI": "http://localhost:8080/callback", "OAUTH_AUDIENCE": "https://api.example.com", "OAUTH_ORGANIZATION": "your-org-id", "OAUTH_SCOPE": "read write", "OAUTH_RESOURCE": "https://resource.example.com", "OAUTH_USE_PKCE": false, "OAUTH_CODE_CHALLENGE_METHOD": "S256", "OAUTH_TOKEN_EXPIRY_BUFFER": 300, "OAUTH_USE_BASIC_AUTH": true, "OAUTH_ENFORCE_HTTPS": true, "OAUTH_TOKEN_IN_HEADER_ONLY": true, "OAUTH_VALIDATE_SCOPES": true, "OAUTH_USE_MTLS": false, "OAUTH_CLIENT_CERT_PATH": null, "OAUTH_CLIENT_KEY_PATH": null, "OAUTH_CA_BUNDLE_PATH": null, "OAUTH_REVOCATION_URL": null, "OAUTH_ADDITIONAL_PARAMS": {}, "OAUTH_CUSTOM_HEADERS": {} }, "tools": {}, "enable_server_info_validation": false, "enable_tool_guardrails": false, "input_guardrails_policy": { "enabled": false, "policy_name": "Sample Airline Guardrail", "additional_config": { "pii_redaction": false }, "block": [ "policy_violation", "injection_attack", "topic_detector", "nsfw", "toxicity", "pii", "keyword_detector", "bias", "sponge_attack" ] }, "output_guardrails_policy": { "enabled": false, "policy_name": "Sample Airline Guardrail", "additional_config": { "relevancy": false, "hallucination": false, "adherence": false }, "block": [ "policy_violation", "injection_attack", "topic_detector", "nsfw", "toxicity", "pii", "keyword_detector", "bias", "sponge_attack" ] } } ] } }, "projects": { "UNIQUE_PROJECT_ID": { "project_name": "default_project", "mcp_config_id": "UNIQUE_MCP_CONFIG_ID", "users": ["UNIQUE_USER_ID"], "created_at": "2025-01-01T00:00:00.000000" } }, "users": { "UNIQUE_USER_ID": { "email": "default@example.com", "created_at": "2025-01-01T00:00:00.000000" } }, "apikeys": { "UNIQUE_GATEWAY_KEY": { "project_id": "UNIQUE_PROJECT_ID", "user_id": "UNIQUE_USER_ID", "created_at": "2025-01-01T00:00:00.000000" } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/enkryptai/secure-mcp-gateway'

If you have feedback or need assistance with the MCP directory API, please join our Discord server