{"_id":"@agent-wall/cli","_rev":"2-52101d3175a1a369dfb929e49a62e743","name":"@agent-wall/cli","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@agent-wall/cli","version":"0.1.0","keywords":["agent-wall","mcp","ai-security","firewall","proxy","model-context-protocol","agent-security","llm","prompt-injection"],"author":{"name":"Yalelet Dessalegn"},"license":"MIT","_id":"@agent-wall/cli@0.1.0","maintainers":[{"name":"higgs_boson","email":"yabelectronics@gmail.com"}],"homepage":"https://agent-wall.github.io/agent-wall/","bugs":{"url":"https://github.com/agent-wall/agent-wall/issues"},"bin":{"agent-wall":"dist/index.js"},"dist":{"shasum":"e9abfc9e1f6b8483e652f0ec4dc5c96b87de7635","tarball":"https://registry.npmjs.org/@agent-wall/cli/-/cli-0.1.0.tgz","fileCount":30,"integrity":"sha512-K73IW4s8RRM8Fe2QxqUNZM9bTOLQ1Bi0b5nRSvFodG+3RgUKKNpwlVilJ3qcSM3tlndTXuwSY2hrEliHDN0HXw==","signatures":[{"sig":"MEYCIQDCuxX3B/VUjOSEh7sw1+XVwbQ5wPlyf90NQF1MJs5gmwIhAMziC+PeeRv+Z0tdyLnxYwhfdBlfNWat2oCPxqJhB9C/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1391910},"main":"./dist/index.js","type":"module","_from":"file:agent-wall-cli-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run --passWithNoTests","build":"tsup && node -e \"const fs=require('fs'),p=require('path');const s=p.resolve(__dirname,'../dashboard/dist');const d=p.resolve(__dirname,'dist/dashboard');if(fs.existsSync(s)){fs.cpSync(s,d,{recursive:true});console.log('✓ Dashboard assets bundled')}else{console.log('⚠ Dashboard not built, skipping asset bundle')}\"","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"higgs_boson","email":"yabelectronics@gmail.com"},"_resolved":"/tmp/cef17699ef539e7b6ac0ca9533f618f1/agent-wall-cli-0.1.0.tgz","_integrity":"sha512-K73IW4s8RRM8Fe2QxqUNZM9bTOLQ1Bi0b5nRSvFodG+3RgUKKNpwlVilJ3qcSM3tlndTXuwSY2hrEliHDN0HXw==","repository":{"url":"git+https://github.com/agent-wall/agent-wall.git","type":"git"},"_npmVersion":"10.8.2","description":"Security firewall for AI agents — intercept MCP tool calls, enforce policies, block attacks","directories":{},"_nodeVersion":"20.20.0","dependencies":{"chalk":"^5.4.1","commander":"^14.0.0","@agent-wall/core":"0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^22.16.4"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1771324796272_0.9410217429744441","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agent-wall/cli","version":"0.1.1","description":"Security firewall for AI agents — intercept MCP tool calls, enforce policies, block attacks","license":"MIT","author":{"name":"Yalelet Dessalegn"},"homepage":"https://agent-wall.github.io/agent-wall/","bugs":{"url":"https://github.com/agent-wall/agent-wall/issues"},"repository":{"type":"git","url":"git+https://github.com/agent-wall/agent-wall.git"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"agent-wall":"dist/index.js"},"exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"dependencies":{"commander":"^14.0.0","chalk":"^5.4.1","@agent-wall/core":"0.1.1"},"devDependencies":{"@types/node":"^22.16.4","tsup":"^8.5.1","typescript":"^5.9.3","vitest":"^3.2.4"},"keywords":["agent-wall","mcp","ai-security","firewall","proxy","model-context-protocol","agent-security","llm","prompt-injection"],"scripts":{"build":"tsup && node -e \"const fs=require('fs'),p=require('path');const s=p.resolve(__dirname,'../dashboard/dist');const d=p.resolve(__dirname,'dist/dashboard');if(fs.existsSync(s)){fs.cpSync(s,d,{recursive:true});console.log('✓ Dashboard assets bundled')}else{console.log('⚠ Dashboard not built, skipping asset bundle')}\"","dev":"tsup --watch","test":"vitest run --passWithNoTests","test:watch":"vitest","typecheck":"tsc --noEmit","clean":"rm -rf dist"},"_id":"@agent-wall/cli@0.1.1","_integrity":"sha512-YgWVzzKD+mcby6Eu1gMc1ka7+UsVqeITOIiyVTNAXHHxYMD6kc5W8zIwbDP19BkIA1bKTL9OJJWib7fLhN4tHw==","_resolved":"/tmp/469d5b14e3aa8f54ed04e8cbafb27a05/agent-wall-cli-0.1.1.tgz","_from":"file:agent-wall-cli-0.1.1.tgz","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-YgWVzzKD+mcby6Eu1gMc1ka7+UsVqeITOIiyVTNAXHHxYMD6kc5W8zIwbDP19BkIA1bKTL9OJJWib7fLhN4tHw==","shasum":"c486d48fefb5d98ccb1073d05a7662973676ebe4","tarball":"https://registry.npmjs.org/@agent-wall/cli/-/cli-0.1.1.tgz","fileCount":30,"unpackedSize":1391919,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICpt8+qyN7P3Wm9w4wLZKwGrZFGFTqyP45ax11QnLWbcAiAoq0kyuNjUnR6JMCy3lpoi7HkOm/50FYPodJzoTOuqzQ=="}]},"_npmUser":{"name":"higgs_boson","email":"yabelectronics@gmail.com"},"directories":{},"maintainers":[{"name":"higgs_boson","email":"yabelectronics@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.1_1771325773085_0.5187989787159657"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-17T10:39:56.176Z","modified":"2026-02-17T10:56:13.410Z","0.1.0":"2026-02-17T10:39:56.440Z","0.1.1":"2026-02-17T10:56:13.263Z"},"bugs":{"url":"https://github.com/agent-wall/agent-wall/issues"},"author":{"name":"Yalelet Dessalegn"},"license":"MIT","homepage":"https://agent-wall.github.io/agent-wall/","keywords":["agent-wall","mcp","ai-security","firewall","proxy","model-context-protocol","agent-security","llm","prompt-injection"],"repository":{"type":"git","url":"git+https://github.com/agent-wall/agent-wall.git"},"description":"Security firewall for AI agents — intercept MCP tool calls, enforce policies, block attacks","maintainers":[{"name":"higgs_boson","email":"yabelectronics@gmail.com"}],"readme":"# Agent Wall\n\n**Security firewall for AI agents.** Intercepts MCP tool calls, enforces policies, blocks attacks.\n\n> *\"Cloudflare for AI agents\"* — Zero-config protection for any MCP server.\n\n[![CI](https://github.com/agent-wall/agent-wall/actions/workflows/ci.yml/badge.svg)](https://github.com/agent-wall/agent-wall/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/agent-wall/agent-wall/blob/main/LICENSE)\n[![npm](https://img.shields.io/npm/v/@agent-wall/cli)](https://www.npmjs.com/package/@agent-wall/cli)\n\n## Install\n\n```bash\nnpm install -g @agent-wall/cli\n```\n\n## Quick Start\n\n```bash\n# Generate a starter policy\nagent-wall init\n\n# Wrap any MCP server\nagent-wall wrap -- npx @modelcontextprotocol/server-filesystem /home/user\n\n# With real-time dashboard\nagent-wall wrap --dashboard -- npx mcp-server\n```\n\n## 30-Second Integration\n\nReplace your MCP config entry:\n\n```json\n{\n  \"mcpServers\": {\n    \"filesystem\": {\n      \"command\": \"agent-wall\",\n      \"args\": [\"wrap\", \"--\", \"npx\", \"@modelcontextprotocol/server-filesystem\", \"/home/user\"]\n    }\n  }\n}\n```\n\nWorks with **Claude Code**, **Cursor**, **Claude Desktop**, **VS Code**, **Windsurf**, and any MCP client.\n\n## Defense-in-Depth Pipeline\n\nEvery tool call runs through a **5-step inbound pipeline**:\n\n```\n1. Kill Switch     — Emergency deny-all\n2. Injection       — 30+ prompt injection patterns\n3. Egress Control  — Block SSRF, private IPs, metadata endpoints\n4. Policy Engine   — YAML rules (first-match-wins, glob, rate limiting)\n5. Chain Detection — Suspicious multi-step patterns\n```\n\nPlus an **outbound response scanner** — 14 secret patterns, 5 PII patterns, custom regex.\n\n## CLI Commands\n\n| Command | Description |\n|---------|-------------|\n| `agent-wall wrap` | Wrap an MCP server with policy enforcement |\n| `agent-wall init` | Generate a starter config |\n| `agent-wall test` | Dry-run a tool call against your policy |\n| `agent-wall audit` | View and analyze audit logs |\n| `agent-wall scan` | Scan MCP config for security risks |\n| `agent-wall validate` | Validate policy configuration |\n| `agent-wall doctor` | Health check for config and environment |\n\n## Documentation\n\nFull docs: [agent-wall.github.io/agent-wall](https://agent-wall.github.io/agent-wall/)\n\n## License\n\n[MIT](https://github.com/agent-wall/agent-wall/blob/main/LICENSE)\n","readmeFilename":"README.md"}