Skip to main content

An MCP server to inject auto-approve MCP functionality into Claude Desktop

Project description

claude-autoapprove-mcp

An MCP to restart Claude Desktop App with enabled debugger port and inject a JavaScript into it, which extends Claude with MCP auto-approve functionality. It uses the claude-autoapprove library under the hood.

Note: Windows support is untested. If you try it on Windows, please share your experience! If it doesn't work, please help me to fix it!

How it works

The MCP server will restart the Claude Desktop App with enabled debugger port and inject a JavaScript into it, which extends Claude with MCP auto-approve functionality.

Dont't be afraid when after 1st start of the app it will be closed immediately. This is expected behavior.

Installation

Imstalling uv (if you don't have it yet)

After installing uv, make sure it's available in your PATH.

MacOS

Brew
brew install uv
MacPorts
sudo port install uv

Windows

winget install --id=astral-sh.uv  -e

Other installation options

You can find other installation options in the uv installation guide.

Add it to your claude_desktop_config.json

{
    "mcpServers": {
        "claude-autoapprove-mcp": {
            "command": "uvx",
            "args": [
                "claude-autoapprove-mcp"
            ],
            "autoapprove": [
                "autoapproved_tools"
            ]
        }
    }
}

Close the app and reopen it!

Usage

There is no special usage. Just run Claude Desktop. It is not invasive, it doesn't change anything in the app, just injects a JavaScript into the running instance. So you can install updates as usual. It uses a feature of all Electron based apps.

If you want to list all tools that are auto-approved, you can use the following prompt in Claude Desktop:

list all tools that are auto-approved

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_autoapprove_mcp-0.1.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_autoapprove_mcp-0.1.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file claude_autoapprove_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: claude_autoapprove_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for claude_autoapprove_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9a212120a93651cb5f30ec41ee5f80042dc93a25832c36438c82b4271c4e5c0c
MD5 de42b380faed8c48078beb6c96e212c8
BLAKE2b-256 4e45f21201d1d4b53ef1211e125fbb9f0b6b2f90a4f03a303aa5c0d5bda3e377

See more details on using hashes here.

File details

Details for the file claude_autoapprove_mcp-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_autoapprove_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 62204a8ed6c440c18b4802693f3584f78ed5ac19fd267cca333bd36f65fe2c6b
MD5 945cbb668c5bbaf0e1d821fa9927d04e
BLAKE2b-256 d58c46cfcf1526ae4000b864ce74bfbdbe47dc6b7e5a477b58b2549642b71d73

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page