The mcp-agent-security-gateway Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and Monitor MCP tool calls for prompt injection, PII leakage, shadow servers, and exfiltration patterns. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Code/Dev Tools domain.
Once installed in Claude Desktop or Cursor, try asking your assistant:
Copy the config for your editor. Verify environment variables or setup notes in the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-agent-security-g": {
"command": "uvx",
"args": [
"mcp-agent-security-gateway"
]
}
}
}
Or install with pip: pip install mcp-agent-security-gateway
Stdio proxy that intercepts MCP tools/call JSON-RPC messages and runs them through a multi-layer security pipeline. Returns Allow / Block / Redact verdicts. Sits between an MCP agent and tool server, inspects every tools/call request, and makes a security decision before anything reaches the downstream server. No code changes required on either side.