ops-cage
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ops-cage
Zero-dependency secret redactor, destructive shell guardrail, stdio MCP firewall proxy, and mcp.json security scanner for AI coding agents (Claude Code, Cursor, Codex, Gemini CLI, Antigravity).
Quickstart (Zero Install)
# Scan .mcp.json / claude_desktop_config.json for leaks & poisoning
npx ops-cage scan ~/.claude/.mcp.json
# Wrap any untrusted or powerful MCP server behind the ops-cage stdio firewall
npx ops-cage proxy -- npx @modelcontextprotocol/server-filesystem /srv/app
# Guard a shell command before execution
npx ops-cage guard "sudo rm -rf /*"
# Redact secrets from logs before sharing with an LLM
cat .env | npx ops-cage redactRelated MCP server: toolfence
Capabilities
Transparent Stdio MCP Proxy (
ops-cage proxy -- <cmd>): Intercepts incomingtools/callarguments in real time to blockrm -rf /,find / -delete,mkfs/dd of=/dev/...,curl|sh,iptables -F, and fork bombs, and automatically redacts leaked API tokens from child tool responses before they enter agent context.Linear-Time Secret Redaction (
ops-cage redact): Scrubs.envvalues, PEM private keys, JWTs,Authorization: Bearerheaders, PostgreSQL/MySQL/Redis/MongoDB credentials, and Stripe/AWS/GCP/GitHub/Slack/Telegram/SAU keys with ReDoS protection.MCP Config Audit (
ops-cage scan): Detects plaintext tokens, unpinnednpx/uvxrunners,StrictHostKeyChecking=no, cleartext non-loopbackhttp://MCP transports, host-root container mounts (-v /:/host), and hidden prompt-injection / Bidi Unicode directives.
MCP Firewall Proxy & --mcp Mode
{
"mcpServers": {
"ops-cage": { "command": "npx", "args": ["ops-cage@1.1.0", "--mcp"] },
"guarded-shell": { "command": "npx", "args": ["ops-cage@1.1.0", "proxy", "--", "my-mcp-server"] }
}
}Prefer instant browser scanning or short-lived 60–3600s Ed25519 SSH leases enforced server-side? Try the Free MCP Security Scanner and ServersAreUp MCP Docs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.
Security & DLP proxy for MCP: tool-poisoning scans, PII redaction on tool args/results. Beta.
Real-time MCP & A2A prompt-injection, jailbreak, and tool-schema poisoning firewall for AI agents.
Autonomous agent guardrails, bash sandboxing, MCP rugpull diffing & prompt firewalls.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceRuntime safety guardrails for AI coding agents. Checks file access, validates shell commands, and scores your repo's AI safety — all via MCP.10 npm8MIT
- AlicenseNot gradedqualityAmaintenanceA local, fail-closed firewall for MCP tool calls that enforces least-privilege policies and human approval between AI agents and stdio MCP servers.24 npm100MIT
- FlicenseNot gradedqualityCmaintenanceEnables autonomous AI agents and MCP clients to route tool calls through a zero-trust firewall that blocks dangerous shell commands, redacts secrets and PII, restricts sensitive file access, and logs verdicts. It provides an MCP interceptor decorator to protect MCP server tools with AST-based command injection checks and allow, block, or redact decisions.2-
- AlicenseNot gradedqualityBmaintenanceEnables MCP servers and local AI agents to safely interact with host environments by blocking indirect prompt injections, directory traversal, and malicious shell commands.MIT