claude_autoapprove
Autoapprove support for claude
claude mcp add --transport stdio pynesys-claude_autoapprove python -m claude_autoapprove
How to use
Claude AutoApprove is a CLI tool that automatically approves tool requests from Claude Desktop App according to your configured rules. It reads a local configuration to determine which tools/servers should be auto-approved and injects remote-debugging interactions to streamline your workflow while preserving granular control. You can set up permanent approvals for trusted servers and authorize per-chat decisions for others, helping to keep security intact across conversations. The server expects a port parameter to designate which debugging port Claude should expose, typically using the default 19222 if you don’t specify one.
To use it, run the CLI (after installation) and point Claude Desktop App to the tool’s remote debugging interface. The tool will apply your trusted list from claude_desktop_config.json and auto-approve matching tool requests when Claude attempts to call your configured servers. It supports macOS and Windows environments where Claude Desktop App is installed.
How to install
Prerequisites
- Python 3.11 or newer
- Claude Desktop App installed (macOS or Windows)
From PyPI (recommended)
- Install the package: pip install claude-autoapprove
From source (for development)
- Clone the repository
- Install in editable mode: pip install -e .
Usage
- Run the CLI with an optional port parameter (default is 19222): claude-autoapprove [port]
Notes
- The tool will attempt to launch Claude Desktop App with remote debugging enabled if it isn't already running.
- Ensure Claude Desktop App’s remote debugging port is accessible to the tool (default 19222).
- Edit the claude_desktop_config.json file (located in your user profile) to configure trusted servers and autoapprove rules.
Additional notes
- Security: The remote debugging port exposes control to any app on localhost. Use strong trusted configurations and limit exposure.
- The configuration file (claude_desktop_config.json) must have an mcpServers section listing servers that are allowed to auto-approve.
- The tool supports granular control via per-server and per-chat settings; changes in newer chats can be reflected by updating the config.
- If you need to temporarily disable auto-approval, adjust the autoapprove lists or remove a server from the config.
- If you encounter issues, ensure Claude Desktop App is compatible with remote debugging and that the port you provide is not in use by another process.
Related MCP Servers
claude_autoapprove_mcp
An MCP server to inject auto-approve MCP functionality into Claude Desktop
stitch -auto
Automated installer for Stitch MCP - The easiest way to set up your Universal MCP server for Google Stitch.
create -kit
Scaffold a production-ready Model Context Protocol (MCP) server in seconds.
mcp -webscan
A Model Context Protocol (MCP) server for web content scanning and analysis. This server provides tools for fetching, analyzing, and extracting information from web pages.
substack -plus
The most advanced Substack MCP server. 12 tools, browser auth, rich text support. Not affiliated with Substack Inc.
keyshade
This is the official repository of Keyshade MCP Server