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.1.tar.gz (5.7 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.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: claude_autoapprove_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 5.7 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.1.tar.gz
Algorithm Hash digest
SHA256 199ec1aa6a83f8e5f6f1efe8f9441b0237386a2b01203d2a1328c0a40f79fef0
MD5 8fb1789a205894015ae689793a0a0b6d
BLAKE2b-256 e9d2fdf2f4f8cc1d89446180e2897388b7a3ffd201ccbabaa140d61ef712455d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for claude_autoapprove_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 331dbd87d435204e22a5d82e16bbbc362318a536d2629258143e2d95b2fbc267
MD5 8b94910d00b1291b2b7b3dba0d69188d
BLAKE2b-256 6c8fa80c1947feabc834cda829d98e7df5030ebefa0e9a25297960865916c40e

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