VS Code
Connect Scrubby to VS Code's MCP-aware AI agents — GitHub Copilot agent mode, Continue, Cline, and others — for codebase-aware code generation and review.
VS Code ships with first-class Model Context Protocol support. GitHub Copilot’s agent mode and any other MCP-aware AI extension can pick up Scrubby out of the box.
Setup
1. Add the MCP server
Create .vscode/mcp.json at the root of your workspace (VS Code reads this file automatically; you can also put the same config in your user profile’s mcp.json):
{
"servers": {
"scrubby": {
"type": "http",
"url": "https://mcp.scrubby.ai/mcp"
}
}
}
VS Code provides IntelliSense for this file, so it’ll autocomplete and validate as you type.
2. Authenticate
The first time an MCP-aware extension connects to Scrubby, you’ll be prompted to authenticate via GitHub OAuth in a browser tab. Sign in with the GitHub account you used for Scrubby.
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 and a green status indicator.
4. Index your repository
From your AI agent’s chat (Copilot agent mode or whichever extension you’re using), ask it to index:
"Index this repo with Scrubby — it's owner/repo-name."
Indexing takes 1–3 minutes. After that it stays current incrementally.
Tool access
The full tool list is documented in the MCP Tools Reference. Tools surface in agent mode, where the agent can autonomously call them. In plain chat mode, you’ll need to prompt for Scrubby calls explicitly or switch the agent on.
Notes
- Use any MCP-aware extension. Scrubby works with anything in VS Code that speaks MCP — GitHub Copilot’s agent mode, Continue, Cline, and others. The same
.vscode/mcp.jsonentry serves all of them. - Sandboxing. Scrubby is a remote HTTP MCP server, so VS Code’s stdio sandboxing settings don’t apply. Auth and traffic flow over HTTPS to
scrubby.ai.
Troubleshooting
See Editor Not Connecting. Quick fixes:
- Server not showing in MCP: List Servers — check that
.vscode/mcp.jsonexists at the workspace root and reload the window (Developer: Reload Window). - Tools not exposed to Copilot — make sure you’re in agent mode, not the default chat mode.
- OAuth never completes — check your default browser is reachable. You can also visit your Scrubby dashboard and reset the session.
Last updated