docs

Set up with other agents

Connect opencode, Gemini CLI, Amp, Zed or Windsurf to Unhandled with one command or one config entry.

Every agent here connects to https://unhandled.net/mcp/x/debug, the debug toolset. npx @unhandled/cli mcp install --agent <agent> runs the agent's own command where one exists. Otherwise it merges the unhandled entry into the config file, keeps every other key and backs the file up first. Add --print to only print what it would run or write.

Agent--agentFix and watch from the CLI
opencodeopencodeYes
Gemini CLIgeminiYes
AmpampYes
ZedzedNo
WindsurfwindsurfNo
~/.config/opencode/opencode.json
{
  "mcp": {
    "unhandled": {
      "type": "remote",
      "url": "https://unhandled.net/mcp/x/debug",
      "enabled": true
    }
  }
}

More options are in the opencode MCP servers docs.

Any other client that supports remote MCP servers with OAuth works with the same URL. See Connect a client.