docs/integrations/claude-desktop

How to connect the GitHub PR Automator MCP Tool to Claude Desktop

Automate opening GitHub pull requests directly from your AI agent. Includes two-step verification for safe PR drafting. This guide provides the exact configuration required to load the create_pr tool inside Claude Desktop.

Step 1: Open the configuration file

Locate and open your Claude Desktop configuration file at the following path:

macOS / Linux~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json

Step 2: Add the server config

Copy and paste the following JSON snippet into the file. Save the file and restart Claude Desktop.

claude_desktop_config.json
{
  "mcpServers": {
    "agenticstore": {
      "command": "uvx",
      "args": ["agentic-store-mcp", "--tools", "create_pr"]
    }
  }
}

Step 3: Try it out

Once restarted, ask Claude Desktop something like this to trigger the tool:

"Create a pull request in 'myorg/myrepo' from 'feature/login' to 'main'."

Explore more