MCP Jail — Security skill for Claude Code
Run any MCP server in a jail: egress allowlist, filesystem scope, per-tool allow/deny/ask policy, rug-pull lock on tool definitions, JSONL audit log.
How to install MCP Jail
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ltchurik/mcp-jail and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What MCP Jail does
Run any MCP server in a jail: egress allowlist, filesystem scope, per-tool allow/deny/ask policy, rug-pull lock on tool definitions, JSONL audit log. Linux namespaces via bubblewrap. Drop-in for Claude Desktop, Cursor, Claude Code.
Alternatives in Security
- Token Scan — Meme coin and token security scan — checks for rug pull vectors (hidden mint, honeypot, fee manipulation, LP l 3.8k ★
- AegisGate — Open-source security gateway for LLM APIs — prompt injection detection, PII redaction, dangerous response sani 62 ★
- Claude Guardrails — Hardened security configuration for Claude Code; permission deny rules, shell hooks, and prompt injection defe 33 ★
README
mcp-jail
**Run any MCP server in a jail.** Egress allowlist, filesystem scope, per-tool policy, rug-pull lock, audit log, and a local dashboard to watch and approve what your servers do.
[](https://github.com/ltchurik/mcp-jail/actions/workflows/ci.yml) [](https://github.com/ltchurik/mcp-jail/releases/latest) [](go.mod) [](LICENSE)
Static scanners tell you a server *looks* suspicious. `mcp-jail` makes sure it *can't do* anything your policy doesn't allow: at runtime, for any server, in any language, without touching its code.
Claude / Cursor / Claude Code ──stdio──▶ mcp-jail ──stdio──▶ MCP server (in a jail)
│
policy · lock · audit
│
mcp-jail ui
mcp-jail ui: approve a headless call, catch a rug-pull, see what every server did in the last 24 hours.
Contents
Related Skills
Snarx
Local-first security sandbox, MCP proxy, and offline time-travel policy debugger for AI coding agents (Claude
Characterize Agent
Step 1 of an agent pentest — fingerprint the target before sending any payload. Maps visibility, tool allowlis
Serio Focus
Agent law for a one-person organisation: egress lock, audit trail, verification gate and budget caps for Claud
MCP Intercepter
Transparent proxy + enterprise gateway for MCP: audit logging, tool allow/deny policy, secrets/PII redaction,
Agent Overwatch
A deterministic guard for AI coding agents — checks each tool call before it runs (allow/ask/deny) and blocks
LLM Filesystem Tools
Python filesystem tools for AI models and LLMs. Secure directory access, file reading, grep search for Ollama,
Related Agents
Egress Reader
Reads an egress-ledger recording and lists what a run actually reached, destination by destination, against th
Auth Policy Validator
Валидатор ZenStack access control policies. USE PROACTIVELY после изменений @@allow/@@deny для проверки безопа
Permissions Manager
Manage tool permission rules. Use when user says 'allow', 'deny', or 'ask' for a command, wants to modify perm