Claude Code

Connect Scrubby to Claude Code through the MCP server.

Setup

1

Add the MCP server

Add this to your project's .mcp.json file. Create it in the repository root if it doesn't exist:

{
  "mcpServers": {
    "scrubby": {
      "type": "http",
      "url": "https://mcp.scrubby.ai/mcp"
    }
  }
}
2

Authenticate

The first time Claude Code connects, it opens a browser window for GitHub OAuth. Sign in with your GitHub account. If the session later expires, run /mcp in Claude Code to reconnect.

3

Index a repository

Ask Claude Code to index the repository you're working in:

"Index this repo with Scrubby — it's owner/repo-name."

See Your First Index for what happens next.

Using Scrubby

Scrubby's usage instructions are delivered to Claude Code automatically over MCP, so it consults Scrubby before editing files, answering architecture questions, and reviewing changes. You can also ask for specific tools directly:

The full set of tools is documented in the MCP Tools reference.

Troubleshooting