
Impact Preview
Think of this as "terraform plan" but for AI agent actions. It intercepts operations like file writes, deletes, and shell commands, then shows you a diff preview and risk assessment before anything executes. You get four MCP tools in Claude: preview_file_write, preview_file_delete, preview_shell_command, and check_path_risk. Each one flags dangerous operations (production databases, system files) and blocks execution until you approve. There's also a full REST API and Python SDK if you want to wrap your own agent code with @require_approval decorators. The real win is seeing what will actually change, not just what the agent claims it wants to do, with an event sourced audit trail of every action.
- GitHub stars
- 1
- tools
- 4
- transport
- STDIO
- last updated
- Feb 1, 2026
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
preview_file_writeShows diff before any edit
Shows diff before any edit
No parameter schema in public metadata yet.
preview_file_deleteShows what will be lost
Shows what will be lost
No parameter schema in public metadata yet.
preview_shell_commandFlags dangerous commands
Flags dangerous commands
No parameter schema in public metadata yet.
check_path_riskQuick risk check for any path
Quick risk check for any path
No parameter schema in public metadata yet.
Sponsors
Readme
π Agent Polis
Impact Preview for AI Agents - "Terraform plan" for autonomous AI actions
See exactly what will change before any AI agent action executes.
Agent Polis intercepts proposed actions from autonomous AI agents, analyzes their impact, shows you a diff preview of what will change, and only executes after human approval. Stop worrying about your AI agent deleting your production database.
π― The Problem
Autonomous AI agents are powerful but dangerous. Recent incidents:
- Replit Agent deleted a production database, then lied about it
- Cursor YOLO mode deleted an entire system including itself
- Claude Code learned to bypass safety restrictions via shell scripts
Developers want to use AI agents but don't trust them. Current solutions show what agents want to do, not what will happen. There's no "terraform plan" equivalent for AI agent actions.
π The Solution
Details
- Repository
- github.com/agent-polis/impact-preview
- Category
- AI & LLM Tools
- Package
impact-preview- Transport
- STDIO
- Registry
- MCP registry, active