Back to Home
roddutra icon

agent-mcp-gateway

Verified Safe

by roddutra

Overview

An MCP gateway that aggregates multiple downstream MCP servers, providing policy-based access control and on-demand tool discovery to optimize context window usage for agents and subagents.

Installation

Run Command
uvx agent-mcp-gateway

Environment Variables

  • GATEWAY_MCP_CONFIG
  • GATEWAY_RULES
  • GATEWAY_DEFAULT_AGENT
  • GATEWAY_DEBUG
  • GATEWAY_AUDIT_LOG
  • BRAVE_API_KEY
  • DATABASE_URL
  • API_TOKEN
  • GITHUB_PAT

Security Notes

The project demonstrates strong security awareness through its 'deny-before-allow' policy, environment variable substitution for secrets, and explicit gating of diagnostic tools behind a debug flag. Critical guidance is provided for storing sensitive access control rules outside the project directory to prevent agent inspection or modification, and OAuth token storage is documented with security recommendations. The main security risks stem from potential misconfiguration of the rules file location or lax permissions on token caches, which are explicitly addressed in the documentation.

Similar Servers

Stats

Interest Score55
Security Score8
Cost ClassLow
Avg Tokens2000
Stars22
Forks2
Last Update2025-12-02

Tags

MCP GatewayAccess ControlPolicy EngineTool DiscoveryContext OptimizationHot Reload