VS Code
Connect Scrubby to VS Code's MCP-aware AI agents through the MCP server.
Setup
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"
}
}
}
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.
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.
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
- Server not showing in MCP: List Servers — confirm
.vscode/mcp.jsonexists at the workspace root, then run Developer: Reload Window. - Tools not exposed to the agent — make sure you're in agent mode, not the default chat mode.
- Other issues — see Editor Not Connecting.