Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Agent Gateway MCP server

by roddutra/agent-mcp-gatewayMIT licenceAudited 8 Oct 2026 · source 1f7e6b2cb957

PyPI agent-mcp-gateway 0.2.5stdiostreamable-http★ 41
!CAUTIONGrade C · 75/100 · 8 Oct 2026 · 1f7e6b2
41GitHub stars

Is it safe? With care — CAUTION, grade C (75/100). It exposes 16 tools: 10 read, 4 write and 2 destructive. The audit recorded 20 findings (0 critical, 1 high, 1 medium, 18 low). Maintainer's description: Provides per-subagent MCP access controls to Claude Code (or any MCP client) across all your MCPs and prevents context window bloat. Loads only 3 tools instead of all your MCP Server's tool definitions. Agents discover tools on-demand, only when needed. Control which servers and individual tools eac

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Agent Gateway MCP server (roddutra/agent-mcp-gateway)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/roddutra/agent-gateway

2 MCP servers are called agent_gateway. You are viewing roddutra/agent-mcp-gateway. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score75/100!CAUTION C
0 critical1 high1 medium18 low0 info

20 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkNone observedNothing seen in the source
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 5 findings
L1 Static sourceSecrets, path traversal, supply chainFAIL 5 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 9 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner roddutraUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIagent-mcp-gateway at version 0.2.5
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push10 months agoActivity of the repository when we read it.
  • Source commit read1f7e6b2cb957The audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory16 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (20)

Sorted by severity

HIGHHard-coded secretssecret.db_uri · .env.example:9
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_user, drop_table
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · config/.mcp-gateway-rules.json.example
F-13 Inventory / provenanceCWE-1104Layer L0
.mcp-gateway-rules.json.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · config/.mcp.json.example
F-13 Inventory / provenanceCWE-1104Layer L0
.mcp.json.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · config/.mcp.test.json
F-13 Inventory / provenanceCWE-1104Layer L0
.mcp.test.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · src/config/.mcp-gateway-rules.json.example
F-13 Inventory / provenanceCWE-1104Layer L0
.mcp-gateway-rules.json.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · src/config/.mcp.json.example
F-13 Inventory / provenanceCWE-1104Layer L0
.mcp.json.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWNetwork egressnet.raw_ip · docs/downstream-mcp-oauth-proxying.md:317
F-04 Network egressCWE-200 · CWE-319Layer L1
mcp_url="http://127.0.0.1:8000/mcp",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/downstream-mcp-oauth-proxying.md:325
F-04 Network egressCWE-200 · CWE-319Layer L1
url="http://127.0.0.1:8000/mcp",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/specs/m2-production.md:424
F-04 Network egressCWE-200 · CWE-319Layer L1
and not origin.startswith("http://127.0.0.1"):
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/specs/m2-production.md:541
F-04 Network egressCWE-200 · CWE-319Layer L1
base_url = "http://127.0.0.1:8000"
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · config/README.md:116
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
4. **admin** - Full access to all servers and tools
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · docs/claude-code-subagent-mcp-limitations.md:261
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
5. Gateway checks rules: developer agent has full access (configured as `"*"`)
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · docs/policy-rules-specification.md:108
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
### Example 1: Admin with Full Access
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · docs/security-guide.md:193
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- An "admin" agent exists with full access
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.credential_read · README.md:291
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
If you use `${VAR_NAME}` syntax in `.mcp.json`, note that macOS GUI applications run in isolated environments without access to your shell's environment variables. For Claude Desktop and similar apps,
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · README.md:488
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**Note on GUI Applications:** macOS GUI applications (Claude Desktop, etc.) run in isolated environments without access to shell environment variables. If using `${VAR_NAME}` syntax in `.mcp.json`, ad
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · docs/quickstart-config.md:23
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**Load environment variables:**
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · docs/quickstart-config.md:30
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
export $(cat .env | xargs)
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · docs/quickstart-config.md:34
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
If using `${VAR_NAME}` syntax in `.mcp.json`, macOS GUI applications don't access shell environment variables. Add API keys to the gateway's `env` object in your MCP client configuration instead. See
Why
asks the agent to read credentials
Fix
—

Tools it exposes

16 declared in source · 2 destructive

10 read4 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_userdestructiveDelete a user
drop_tabledestructiveDrop a database table
create_userwriteCreate a new user
querywriteExecute SQL query
update_userwriteUpdate user details
write_filewriteWrite file contents
brave_local_searchreadSearch local businesses
brave_web_searchreadSearch the web using Brave
complex_toolreadA tool with many parameters
get_userreadGet user by ID
get_usersreadList all users
list_directoryreadList directory contents
list_tablesreadList database tables
read_filereadRead file contents
simplereadNo description in the source
xreadNo description in the source

Install

Package version 0.2.5 · audited commit 1f7e6b2

Read the findings first. The most severe is Hard-coded secrets (high) at .env.example.

No connect command is recorded for this server yet. Follow the repository's own instructions, and read the findings above first.

Audit history

  1. !CAUTION C 75 / 100

    First audit · 1f7e6b2cb957

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/mcp/roddutra/agent-gateway/badge.svg)](https://modelsatlas.com/mcp/roddutra/agent-gateway/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Agent Gateway MCP server

What is the Agent Gateway MCP server?
Provides per-subagent MCP access controls to Claude Code (or any MCP client) across all your MCPs and prevents context window bloat. Loads only 3 tools instead of all your MCP Server's tool definitions. Agents discover tools on-demand, only when needed. Control which servers and individual tools eac
What tools does Agent Gateway expose?
16 in total: 10 read-only, 4 that write, and 2 that can delete or overwrite (delete_user, drop_table). Every one is listed on this page with its risk.
Is Agent Gateway safe to connect to an agent?
With care. The audit graded it C (75/100) and found 20 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Agent Gateway need?
No credential environment variables were found in its source, so it appears to need none.
How does Agent Gateway run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as agent-mcp-gateway.
How current is this page?
The grade is for one exact copy of the source (1f7e6b2cb957), read on 2026-10-08. The repository is watched and re-audited when it changes.
Which agent_gateway MCP server is the right one?
2 unrelated servers share the name “agent_gateway”; compare them side by side before you install.

Sources

  • roddutra/agent-mcp-gateway on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 1f7e6b2cb957Observed · 8 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.