How to connect Runheed to VS Code
VS Code runs MCP servers for Copilot agent mode. Point it at the Runheed URL and sign in when it asks, so no key lands in the repo.
Add to VS Code Opens VS Code with the Runheed server filled in; sign in when it asks. No key to copy.
Runheed is an error tracker with an MCP server: your app reports exceptions through a small SDK, and VS Code reads them through the server below.
Steps
- Create .vscode/mcp.json with the first block below.
- Start the server from the file (or run MCP: List Servers). VS Code asks to sign in to Runheed; sign in and click Allow.
- Open Copilot Chat in agent mode; the runheed tools appear in the tools picker.
- Prefer the local server with an agent key? Use the second block; VS Code prompts for the key once.
Where the config lives: Workspace: .vscode/mcp.json, which uses a "servers" key, not "mcpServers". VS Code labels this file deprecated in its guided flow in favor of a portable .mcp.json, but still reads it.
{
"servers": {
"runheed": {
"type": "http",
"url": "https://runheed.com/api/mcp"
}
}
}{
"inputs": [
{
"type": "promptString",
"id": "runheed-key",
"description": "Runheed agent key (al_...)",
"password": true
}
],
"servers": {
"runheed": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"https://runheed.com/dl/runheed-mcp-0.1.7.tgz"
],
"env": {
"RUNHEED_API_KEY": "${input:runheed-key}"
}
}
}
}The npm and PyPI releases are not out yet, so these commands install the same package files straight from runheed.com. Nothing else changes when the registry versions ship.
On first connect a runheed.com sign-in page opens: sign in and click Allow. Settings > Agent keys > Connected apps lists it, with Disconnect.
The server runs with npx, so Node.js 18 or newer must be installed on the machine. (local server only)
To try it first, point VS Code at https://runheed.com/api/mcp/demo (sample errors, no sign-in). Demo server.
How VS Code handles the server
Run MCP: List Servers from the Command Palette and pick runheed to Start, Stop, Restart, Authenticate, Enable or Disable, or Uninstall it. Stopping only ends the current run and a later request can start it again; disabling makes it unavailable in the scope you choose without touching the shared mcp.json.
Copilot picks the tools it needs, so you do not have to name the server in every request. Approve only the tool calls you understand: the resolve and ignore tools change an error group's status in Runheed.
Check that it works
In agent mode: "#runheed_get_recent what errors came in since yesterday?"
If VS Code doesn't connect
- runheed fails to start
- Open the server's ... menu in the MCP Servers section and choose Show Output. The output channel shows why it stopped; fix that and restart the server.
- A trust prompt keeps coming back, or you declined it by mistake
- Run MCP: Reset Trust to clear the earlier decisions, then start the server again.
- "Start a plan to connect" on the sign-in page
- Connecting needs an active plan. Pick one on that page, pay in Stripe Checkout, then connect again from the app.
- The app keeps asking you to sign in
- The app was disconnected in Settings (its key was revoked). Sign in again and click Allow.
Questions
- Does .vscode/mcp.json share Runheed with my team?
- Yes, if you commit it. The URL version carries no key, so each teammate signs in to Runheed with their own account. The key version prompts each person for their own key through the input.
- Can Copilot resolve the error after fixing it?
- Yes. In agent mode it can call runheed_resolve_error with a note such as the commit hash once the fix is in.
- What can VS Code change in Runheed?
- Error status (resolve with a note such as the commit hash, ignore, unignore), grouping (merge duplicates into one error), new projects and a test event. Not billing or keys, and Runheed has no access to your code or servers.
Next: the find, fix and resolve loop, and what VS Code can see.
SDK side: setup by framework, or tell VS Code Read https://runheed.com/SETUP.txt and set up error tracking. Reference: VS Code MCP servers docs.
Other clients: claude.ai · ChatGPT · Claude Code · Cursor · Claude Desktop · Windsurf · Codex CLI · Gemini CLI · Kiro · Lovable · Replit · Bolt · Antigravity · Zed · Cline