MCP server · Audited from source
Agent Gateway MCP server
by roddutra/agent-mcp-gatewayMIT licenceAudited 8 Oct 2026 · source 1f7e6b2cb957
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
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 →
- creverse-ai-lab/agent_gateway Org-owned★ 3✕BLOCK
- roddutra/agent-mcp-gateway★ 41!CAUTION
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 5 findings |
L1 Static source | Secrets, path traversal, supply chain | FAIL 5 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 9 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 PyPI
agent-mcp-gatewayat 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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
LOWNetwork egressnet.raw_ip · docs/downstream-mcp-oauth-proxying.md:317
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
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
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
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
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
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
### Example 1: Admin with Full Access
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.authority_framing · docs/security-guide.md:193
- An "admin" agent exists with full access
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.credential_read · README.md:291
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
**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
**Load environment variables:**
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · docs/quickstart-config.md:30
export $(cat .env | xargs)
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · docs/quickstart-config.md:34
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
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.
| Tool | Risk | What it does |
|---|---|---|
delete_user | destructive | Delete a user |
drop_table | destructive | Drop a database table |
create_user | write | Create a new user |
query | write | Execute SQL query |
update_user | write | Update user details |
write_file | write | Write file contents |
brave_local_search | read | Search local businesses |
brave_web_search | read | Search the web using Brave |
complex_tool | read | A tool with many parameters |
get_user | read | Get user by ID |
get_users | read | List all users |
list_directory | read | List directory contents |
list_tables | read | List database tables |
read_file | read | Read file contents |
simple | read | No description in the source |
x | read | No 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
- !CAUTION C 75 / 100
First audit ·
1f7e6b2cb957
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Agent Gateway expose?
Is Agent Gateway safe to connect to an agent?
What credentials does Agent Gateway need?
How does Agent Gateway run?
How current is this page?
Which agent_gateway MCP server is the right one?
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.
- What is the Agent Gateway MCP server?
- What tools does Agent Gateway expose?
- Is Agent Gateway safe to connect to an agent?