How to connect Runheed to Windsurf
Windsurf (now Devin Desktop) can use Runheed through the same mcpServers block other clients use.
Runheed is an error tracker with an MCP server: your app reports exceptions through a small SDK, and Windsurf reads them through the server below.
Steps
- Create an agent key in Runheed under Settings > Agent keys.
- Open mcp_config.json and add the runheed entry.
- Check that runheed is switched on in the MCPs section of the Cascade panel.
Where the config lives: macOS and Linux: ~/.config/devin/mcp_config.json. Windows: %APPDATA%\devin\mcp_config.json. In the Cascade panel, the ... (Actions) menu opens it from the MCPs section.
{
"mcpServers": {
"runheed": {
"command": "npx",
"args": [
"-y",
"https://runheed.com/dl/runheed-mcp-0.1.7.tgz"
],
"env": {
"RUNHEED_API_KEY": "al_your_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.
The server runs with npx, so Node.js 18 or newer must be installed on the machine.
The Devin Local agent reads the same user file (devin mcp add -s user writes to it), so one entry covers both agents.
How Windsurf handles the server
After you add or change an entry in mcp_config.json, press the refresh button so Cascade loads it. Cascade interpolates environment variables in command, args, env, serverUrl, url and headers, so the agent key can live in your shell instead of the file.
On a team, admins can turn MCP access on or off and keep an allowlist of approved servers. If Runheed is missing from the list on a team account, the allowlist is the first thing to check. A disabledTools array hides individual tools from the agent.
Check that it works
Ask Cascade: "Check Runheed for new errors after my last deploy."
If Windsurf doesn't connect
- The new runheed entry does not appear
- Press refresh after saving mcp_config.json. Cascade does not pick up edits on its own.
- Runheed is blocked on a team workspace
- Ask a team admin to allow the server in the team's MCP settings.
- "RUNHEED_API_KEY is not set"
- The key is missing from the server env. Add it and restart the client.
- "That is a project key (pk_...)"
- You pasted the DSN key. The MCP server needs an agent key that starts with al_.
Questions
- Can I hide the tools that change things?
- Yes. Add runheed_resolve_error, runheed_ignore_error, runheed_unignore_error and runheed_merge_errors to the server's disabledTools array and Cascade keeps only the read tools.
- Can Cascade look up an error right after a deploy?
- Yes. Ask it to call runheed_get_recent, or runheed_get_trends for the last 24 hours, and compare against the release you just shipped.
- What can Windsurf 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 Windsurf can see.
SDK side: setup by framework, or tell Windsurf Read https://runheed.com/SETUP.txt and set up error tracking. Reference: Devin Desktop (Windsurf) MCP docs.
Other clients: claude.ai · ChatGPT · Claude Code · Cursor · Claude Desktop · VS Code · Codex CLI · Gemini CLI · Kiro · Lovable · Replit · Bolt · Antigravity · Zed · Cline