How to connect Runheed to Cursor

Add Runheed to Cursor with one JSON block, and Cursor's agent can search, read and resolve your production errors.

Add to Cursor Opens Cursor 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 Cursor reads them through the server below.

Steps

  1. Create or open .cursor/mcp.json and paste the first block below (just the URL, no key).
  2. Open Customize in the Cursor sidebar, find runheed and click Connect (or Needs login). Sign in to Runheed and click Allow.
  3. Check that runheed is switched on. To use an agent key instead, paste the second block with your key.

Where the config lives: Project-only: .cursor/mcp.json in the repo. Every project: ~/.cursor/mcp.json.

.cursor/mcp.jsonjson
{
  "mcpServers": {
    "runheed": {
      "url": "https://runheed.com/api/mcp"
    }
  }
}
.cursor/mcp.json (local server, agent key)json
{
  "mcpServers": {
    "runheed": {
      "type": "stdio",
      "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.

On first connect a runheed.com sign-in page opens: sign in and click Allow. Settings > Agent keys > Connected apps lists it, with Disconnect.

With the key block, keep .cursor/mcp.json out of git or use the global file. The server runs with npx, so Node.js 18 or newer must be installed on the machine.

To try it first, point Cursor at https://runheed.com/api/mcp/demo (sample errors, no sign-in). Demo server.

How Cursor handles the server

Cursor asks for approval before its agent uses an MCP tool, and MCP follows the same run modes as terminal commands. In Auto-review mode, allowlisted MCP tools run at once and everything else goes through Cursor's classifier, so you can allowlist Runheed's read tools and keep resolve and ignore behind a check.

Servers can be toggled off without deleting them from mcp.json. Cursor signs in with the authorization code flow and PKCE, registers itself through dynamic client registration with no client secret, and renews the access token with the refresh token Runheed issued, so you sign in once.

Check that it works

In the agent chat: "List unresolved Runheed errors from the last 24 hours."

If Cursor doesn't connect

runheed will not connect and there is no error in the chat
Open the Output panel (Cmd+Shift+U) and pick MCP Logs from the dropdown. Connection and sign-in failures are written there.
You want the agent key out of the file
Cursor resolves ${env:NAME} in command, args, env, url and headers. Put "RUNHEED_API_KEY": "${env:RUNHEED_API_KEY}" in the env block and set the variable in your shell.
"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

Can Cursor fix the error it reads?
Yes. The agent reads the error with its stack trace and breadcrumbs, opens the files named in the frames, makes the change, and can mark the group resolved with the commit as the note.
Does the project file or the global file win?
.cursor/mcp.json is for servers this project needs and ~/.cursor/mcp.json for ones you want everywhere. Define runheed in one of them to avoid two copies.
What can Cursor 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 Cursor can see. Want Cursor to check errors before it debugs? See how to give Cursor access to production errors.

SDK side: setup by framework, or tell Cursor Read https://runheed.com/SETUP.txt and set up error tracking. Reference: Cursor MCP docs.

7-day trial, then $29/moSee what Cursor readsCancel any time from the billing portal

Other clients: claude.ai · ChatGPT · Claude Code · Claude Desktop · VS Code · Windsurf · Codex CLI · Gemini CLI · Kiro · Lovable · Replit · Bolt · Antigravity · Zed · Cline