VS Code

Connect Scrubby to VS Code's MCP-aware AI agents through the MCP server.

Setup

1

Add the MCP server

Create .vscode/mcp.json at the root of your workspace (you can also put the same config in your user profile's mcp.json):

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

Authenticate

The first time an MCP-aware extension connects, you're prompted to authenticate via GitHub OAuth in a browser tab. Sign in with your GitHub account.

3

Confirm the server is running

Open the Command Palette (Cmd/Ctrl + Shift + P) and run MCP: List Servers. Scrubby should appear with its tools listed.

4

Index a repository

From your AI agent's chat, ask it to index the repository in owner/repo form. See Your First Index.

Using Scrubby

Scrubby's tools are available in agent mode, where the agent can call them on its own. In plain chat mode, prompt for Scrubby calls explicitly. Scrubby works with any MCP-aware VS Code extension; the same .vscode/mcp.json entry serves all of them. The full tool list is in the MCP Tools reference.

Workspace vs. user config. Put project servers like Scrubby in the workspace file (.vscode/mcp.json) so every contributor who clones the repo gets it. Use the user profile's mcp.json for servers you want available in every workspace.

Troubleshooting