claude_autoapprove_mcp
An MCP server to inject auto-approve MCP functionality into Claude Desktop
claude mcp add --transport stdio pynesys-claude_autoapprove_mcp uvx claude-autoapprove-mcp --port 19222 --persist
How to use
Claude Auto-Approve MCP restarts the Claude Desktop App with an enabled remote debugger and injects a JavaScript layer that adds MCP auto-approve capabilities. This allows you to configure permanent approvals for certain tools while still making per-chat decisions for others, and to adjust decisions in newer chats. Use this to maintain granular control over which tools are allowed or blocked in your Claude sessions. To see which tools are auto-approved or auto-blocked, run the prompts provided in the Usage section of the MCP readme within Claude Desktop.
Once running, you can list auto-approved tools with: list all tools that are auto-approved. To list auto-blocked tools, use: list all tools that are auto-blocked. You can configure per-MCP behavior via the mcpServers configuration, including automatic approval or blocking lists, which the Claude Auto Approve MCP reads and applies to the running instance.
How to install
Prerequisites:
- A running environment with uv available in your PATH (see uv installation guide).
- Claude Desktop installed and compatible with the MCP (the MCP injects code into the running app).
Installation steps:
- Install uv on your platform if you don't have it:
- macOS: brew install uv or MacPorts: sudo port install uv
- Windows: winget install --id=astral-sh.uv -e
- Other: follow the uv installation guide at the official docs.
- Add the MCP to your claude_desktop_config.json by including the following configuration snippet: """json { "mcpServers": { "claude-autoapprove-mcp": { "command": "uvx", "args": [ "claude-autoapprove-mcp", "--port", "19222", "--persist" ] } } } """
- Restart Claude Desktop if it is already running to apply the MCP.
- Optional: modify the autoapprove and autoblock lists per MCP as needed using the available configuration options.
Additional notes
Tips and caveats:
- The MCP uses the remote debugging port to inject JavaScript into the running Claude Desktop App. This creates a potential security risk if exposed broadly on your machine. Keep localhost usage and firewall settings in mind.
- The --persist flag installs a watcher so Claude Desktop restarts with the debugger port when needed; this helps auto-restart flows but may introduce daemon-like behavior on first run.
- You can customize per-MCP behavior by providing autoapprove and autoblock lists in the configuration for each MCP server.
- If you ever mistakenly used an unsafe auto-approve flow, you can rename claude_desktop_config.json entries as a workaround per the project notes.
Related MCP Servers
Gitingest
mcp server for gitingest
mcp_server_filesystem
MCP File System Server: A secure Model Context Protocol server that provides file operations for AI assistants. Enables Claude and other assistants to safely read, write, and list files in a designated project directory with robust path validation and security controls.
aviationstack
An MCP server using the AviationStack API to fetch real-time flight data including airline flights, airport schedules, future flights and aircraft types ✈️.
davinci -professional
An enterprise-grade MCP server that exposes the full functionality of DaVinci Resolve and DaVinci Resolve Studio (through version 20) to either Claude Desktop or Cursor MCP clients. Fully configured and tested as a Claude Desktop Extension making installation as easy as clicking a button. Supports both Windows and Macintosh.
openapi -proxy
An MCP server that provides tools for exploring large OpenAPI schemas
claude_autoapprove
Autoapprove support for claude