Skip to main content
Glama
aki83reo

Secure Agent MCP Gateway

by aki83reo

Secure Agent MCP Gateway

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.policy

Related 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. 각 컨테이너는 해당 역할에 대한 전체 체인(maingatewaymcp_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

환경

변수

용도

LLM_API_KEY

에이전트 / 결과 요약에 필요

LLM_MODEL

기본값 gpt-4o-mini

LLM_PROVIDER

기본값 openai

GATEWAY_ROLE

viewer | operator | admin

.env는 gitignore 처리됩니다. .env.example만 커밋됩니다.

역할(정책)

역할

사용 가능

viewer

check_ip_reputation

operator

평판, 트라이프, 요약, 알림

admin

block_ip + escalate_alert 포함한 모든 도구

gateway/policy.yaml에 정의되어 있습니다.

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    C
    maintenance
    A 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
  • A
    license
    Not graded
    quality
    A
    maintenance
    A 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
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to securely call MCP tools with risk scoring, checkpoints, rollback, and approval workflows.
    134
    MIT

View all related MCP servers

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.

View all MCP Connectors

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/aki83reo/secure-agent-mcp-gateway'

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