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.jsonon 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.
| Way | Address | Good for |
|---|---|---|
| Sign in to DownBad | https://mcp.downbad.app/mcp | Your own machine, no key to keep |
| An API key | https://mcp.downbad.app/mcp | Machines where no browser opens |
| No account | https://mcp.downbad.app/tools | Trying the health check and DownBad’s status only |
Connect by signing in
Section titled “Connect by signing in”-
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 userwrites the same entry. -
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.
-
Sign in. Devin opens DownBad in your browser the first time it uses the server; from a terminal,
devin mcp login downbaddoes the same. -
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.
Connect with an API key
Section titled “Connect with an API key”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.
Connect without an account
Section titled “Connect without an account”{ "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.
Have DownBad start your agent
Section titled “Have DownBad start your agent”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:
- Claude Code Routine: starts a Claude Code routine, which can then use this connection to read the incident and recheck.
- GitHub repository_dispatch: starts whichever workflow or agent runs in your repository.
- Agent Webhook: the signed incident payload for any other agent.
Troubleshooting
Section titled “Troubleshooting”In Devin Desktop, Customize › MCPs › This computer shows each server’s
state. From a terminal, devin mcp get downbad shows the settings Devin
read.
downbad won’t connect
Section titled “downbad won’t connect”-
Check the file is valid JSON, the address is exactly
https://mcp.downbad.app/mcp, andtransportishttp. -
Check DownBad itself at downbad.app. If it’s down for everyone, wait.
-
Under This computer, refresh the list, or turn downbad off and on again.
-
If your company manages Devin, it may allow only servers from its own list. Ask your admin to allow
https://mcp.downbad.app/mcp.
downbad shows Needs authentication
Section titled “downbad shows Needs authentication”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.
DownBad’s page refuses to connect Devin
Section titled “DownBad’s page refuses to connect Devin”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.
A tool is refused
Section titled “A tool is 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.
Still stuck
Section titled “Still stuck”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.