Secure Agent MCP Gateway
Безопасный шлюз MCP для агента
Триаж оповещений SOC с защитным шлюзом MCP-to-MCP: агент никогда
не взаимодействует с реальными инструментами напрямую. Каждый
tools/list / tools/call ограничен и авторизован по роли
(viewer | operator | admin).
main.py (agent) → gateway → mcp_server (tools)Подробнее: gateway/README.md.
Быстрый старт (локально)
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# edit .env — set LLM_API_KEY (never commit .env)Три ролевых сервиса (локально)
# 1) Viewer — reputation lookups only
python main.py --mcp --role viewer --alert sample_alert.json
# 2) Operator — triage / summarize / notify (no block or escalate)
python main.py --mcp --role operator --alert sample_alert.json
# 3) Admin — full tool set through the gateway
python main.py --mcp --role admin --alert sample_alert.jsonДетерминированный путь (без MCP / без шлюза):
python main.py --alert sample_alert.jsonПроверка только по политике:
python -m gateway.policyRelated MCP server: Nervora
Развертывание в Docker
Требуется Docker + Compose. Секреты остаются вне образа:
cp .env.example .env
# set LLM_API_KEY in .envСборка
docker compose build
# or:
docker build -t secure-agent-mcp-gateway:latest .Три сервиса (по одной роли каждый)
Один и тот же образ; разные GATEWAY_ROLE. Каждый контейнер запускает
полную цепочку (main → gateway → mcp_server) для своей роли.
# 1) Viewer
docker compose run --rm triage-viewer
# 2) Operator
docker compose run --rm triage-operator
# 3) Admin
docker compose run --rm triage-adminИли запустите по имени сервиса:
docker compose up triage-viewer
docker compose up triage-operator
docker compose up triage-adminПередайте ключ без файла:
LLM_API_KEY=sk-... docker compose run --rm triage-adminОбычный Docker (без Compose)
docker build -t secure-agent-mcp-gateway:latest .
docker run --rm \
-e LLM_API_KEY \
-e LLM_MODEL=gpt-4o-mini \
-e GATEWAY_ROLE=viewer \
secure-agent-mcp-gateway:latest \
python main.py --mcp --role viewer --alert sample_alert.json
docker run --rm -e LLM_API_KEY -e GATEWAY_ROLE=operator \
secure-agent-mcp-gateway:latest \
python main.py --mcp --role operator --alert sample_alert.json
docker run --rm -e LLM_API_KEY -e GATEWAY_ROLE=admin \
secure-agent-mcp-gateway:latest \
python main.py --mcp --role admin --alert sample_alert.jsonПеременные окружения
Переменная | Назначение |
| Требуется для агента / сводки результатов |
| По умолчанию |
| По умолчанию |
|
|
.env игнорируется git. Коммитится только .env.example.
Роли (политика)
Роль | Может использовать |
|
|
| репутация, триаж, сводка, уведомление |
| все инструменты, включая |
Определено в gateway/policy.yaml.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- AlicenseNot gradedqualityCmaintenanceA secure MCP gateway for enterprise AI tool execution, enabling governed invocation of business tools with authentication, RBAC, audit logging, PII redaction, and async processing.Apache 2.0
- AlicenseNot gradedqualityAmaintenanceA zero-trust security gateway for MCP tool calls, inspecting tool identity, arguments, execution decisions, and returned content before risk reaches your coding agent.Apache 2.0

AgentsGateofficial
AlicenseNot gradedqualityAmaintenanceEnables AI agents to securely call MCP tools with risk scoring, checkpoints, rollback, and approval workflows.134MIT
Related MCP Connectors
Runtime permission, approval, and audit layer for AI agent tool execution.
Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.
Remote MCP for A2A caller identity, scope policy, verdict receipts, and audit history.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/aki83reo/secure-agent-mcp-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server