Skip to content

Use DownBad in Devin Desktop (formerly Windsurf)

Goal: Devin Desktop, the IDE formerly called Windsurf, reads your DownBad monitors and incidents, works out why an incident happened, fixes it in your code, and has DownBad confirm the fix. Devin CLI, its terminal version, can do the same.

Both reach DownBad’s MCP server (MCP, the Model Context Protocol, is the standard way AI assistants reach other services). They share one settings format and the same files:

  • ~/.config/devin/mcp_config.json: your own settings, for every project (%APPDATA%\devin\mcp_config.json on Windows).
  • .devin/mcp_config.json: one project’s settings, meant to be committed.
  • .devin/mcp_config.local.json: your own settings for one project, which Git ignores.
WayAddressGood for
Sign in to DownBadhttps://mcp.downbad.app/mcpYour own machine, no key to keep
An API keyhttps://mcp.downbad.app/mcpMachines where no browser opens
No accounthttps://mcp.downbad.app/toolsTrying the health check and DownBad’s status only
  1. Add DownBad to ~/.config/devin/mcp_config.json, with no key:

    {
    "mcpServers": {
    "downbad": {
    "url": "https://mcp.downbad.app/mcp",
    "transport": "http"
    }
    }
    }

    With Devin CLI installed, devin mcp add downbad --url https://mcp.downbad.app/mcp --scope user writes the same entry.

  2. In Devin Desktop, choose Customize in the agent sidebar and open the MCPs tab. Under This computer, refresh the list and check downbad is turned on.

  3. Sign in. Devin opens DownBad in your browser the first time it uses the server; from a terminal, devin mcp login downbad does the same.

  4. Sign in to DownBad if you aren’t already. On DownBad’s Connect an app page, check the app’s name and the address it sends you back to, choose Read only or Read and write, and choose Approve. That page, and what each choice allows, is shown in Connect and Disconnect Apps.

Make a key first, named Devin: Create and Revoke API Keys.

Devin’s documentation doesn’t describe reading a header from an environment variable, so the key goes in the file itself. Put it in a file you never commit: ~/.config/devin/mcp_config.json, or .devin/mcp_config.local.json in a project. Replace dbk_your_key with your key:

{
"mcpServers": {
"downbad": {
"url": "https://mcp.downbad.app/mcp",
"transport": "http",
"headers": {
"Authorization": "Bearer dbk_your_key"
}
}
}
}

Never put the key in .devin/mcp_config.json, which is meant to be committed.

{
"mcpServers": {
"downbad-tools": {
"url": "https://mcp.downbad.app/tools",
"transport": "http"
}
}
}

It gives run_health_check and get_downbad_status only.

Expected result: ask Devin “List my DownBad monitors”. It calls list_monitors and answers with your monitors. By default Devin asks you before it calls any MCP tool.

The steps above have you ask your assistant. An agent webhook works the other way round: when DownBad confirms an incident, it sends the details to your agent and starts it, and again when the incident recovers. It’s a webhook channel on a paid plan, with one of three destinations:

In Devin Desktop, Customize › MCPs › This computer shows each server’s state. From a terminal, devin mcp get downbad shows the settings Devin read.

  1. Check the file is valid JSON, the address is exactly https://mcp.downbad.app/mcp, and transport is http.

  2. Check DownBad itself at downbad.app. If it’s down for everyone, wait.

  3. Under This computer, refresh the list, or turn downbad off and on again.

  4. If your company manages Devin, it may allow only servers from its own list. Ask your admin to allow https://mcp.downbad.app/mcp.

The sign-in ended or was revoked. Select Authenticate on downbad to sign in again, or run devin mcp logout downbad then devin mcp login downbad. With a key, check it under Account › API keys in DownBad. The reasons DownBad gives are in MCP Connection Problems.

The Connect an app page says why: a Viewer can approve Read only, the request expired, or your sign-in has no DownBad account. Each case and its fix is in Connected App Refused.

Devin passes on DownBad’s reason: the rule, what to do, and when to try again. A tool that changes your account needs Read and write access on a paid plan; a recheck needs the Pro plan or above. Find the rule in MCP Connection Problems.

Collect the output of devin mcp get downbad with the key removed, the tool that failed and its error word for word, and when it happened. Never include a whole key. Then send it to us through Contact Us.