All documentation
On this page

Set-up documentation

Connect your mailbox to Windsurf

Windsurf is Devin Desktop now. Its agent reads MCP servers from ~/.config/devin/mcp_config.json with a url key, and it registers itself to sign in.

Time About 2 minutes
Where Customize, then MCPs
It needs URL only, then sign in
Top-level key mcpServers
URL key url

Windsurf in 3 steps

  1. Open Customize, then MCPs

    In Devin Desktop, which is what Windsurf is called now, open Customize in the agent sidebar and click MCPs. The file behind it is mcp_config.json in the devin folder of your user configuration.

  2. Add the server under mcpServers

    A name, a url of https://mcp.mailbox-mcp.com/db/mcp/YOUR-MAILBOX-KEY and a transport of http. The old serverUrl key is not needed.

  3. Sign in when it asks

    Devin registers itself with this server and asks you to sign in through your browser. If it reports the server as unauthorised instead, add an access token in a headers block.

Windsurf is called Devin Desktop now

Worth knowing before you go looking. Cognition's own words are "Devin Desktop is the new name for Windsurf", and the change arrived as an ordinary update on 2 June 2026. The app is called Devin, the documentation lives at docs.devin.ai, and docs.windsurf.com redirects there.

The agent changed too. The one Windsurf users knew as Cascade is now labelled legacy, and the agent Devin documents now is Devin Local, which shares its workings with the Devin command-line tool. That is why the MCP set-up below looks different from the Windsurf guides you will find in search results: it follows the Devin format, not the old Cascade one.

The configuration

~/.config/devin/mcp_config.json macOS and Linux, every project
{
  "mcpServers": {
    "work-mail": {
      "url": "https://mcp.mailbox-mcp.com/db/mcp/YOUR-MAILBOX-KEY",
      "transport": "http"
    }
  }
}

On Windows the same file is %APPDATA%\devin\mcp_config.json. Either way it applies to every project. For one project only, the same block goes in .devin/mcp_config.json at its root, which is shared through version control, or .devin/mcp_config.local.json, which is not.

transport is optional: Devin says a URL implies Streamable HTTP, and "http" is the value it uses in its own examples, so it is there to make the entry say what it is. The screen route is Customize in the agent sidebar, then MCPs, with This computer chosen in the Install MCPs for selector.

serverUrl was the old Windsurf key

Until this year the usual Windsurf instruction was a serverUrl key in ~/.codeium/windsurf/mcp_config.json, and this page said the same when we first wrote it in August 2026. That was the Cascade format.

Devin Local's field for a remote server is url, and it is the only URL field in its table. Legacy Cascade accepts either serverUrl or url, so url is the spelling that works in both. Devin also says its agent imports MCP servers from the old Windsurf file by default, so an entry you already have there may carry over. If its tools do not appear, add the block above.

Signing in, and the fallback

Devin's documentation now answers the question this page used to leave open. For a server that supports dynamic client registration, which this one does, it "registers itself automatically and you don't need to provide any client credentials". So paste the block above with no credential in it, and Devin asks you to sign in through your browser the first time the server is used. Sign in to the control panel and choose which mailbox this connection opens.

If it reports the server as unauthorised instead, create an access token in the control panel and add a headers block. Devin's own advice is the same: a server that expects a static token takes it in headers.

~/.config/devin/mcp_config.json Fallback: token instead of sign-in
{
  "mcpServers": {
    "work-mail": {
      "url": "https://mcp.mailbox-mcp.com/db/mcp/YOUR-MAILBOX-KEY",
      "transport": "http",
      "headers": {
        "Authorization": "Bearer YOUR-ACCESS-TOKEN"
      }
    }
  }
}

Tell us which way it went for you. We have not yet run the sign-in from Devin Desktop ourselves, and this page will say so definitely once somebody has.

Check that it worked

Try this first

Look through my inbox for anything about the deploy that failed and tell me who noticed first.

Devin asks for your approval before it calls any MCP tool unless you change that, so expect a prompt on the first search. Nothing is marked read by asking. If the agent lists the tools but every call fails, the mailbox credential in the control panel is the thing to check rather than this file.

The free tier is 5 MCP calls a day on any mailbox, with no card, which is enough to try this before deciding whether it belongs in your editor.

Where to go next

The key table is worth a glance if you also run Cursor or VS Code. All 3 now use mcpServers and url, and they still differ on the transport line: VS Code wants "type": "http", Devin "transport": "http", and Cursor neither.

What we could not confirm
  • The sign-in against this server from Devin Desktop itself. Devin says its agent registers itself with servers that support dynamic client registration, which this one does; nobody here has yet run it from Devin Desktop.
  • Whether an entry in the old Windsurf mcp_config.json, under .codeium, carries over unchanged. Devin says its agent imports MCP servers from that file by default, and does not say whether it reads the serverUrl key when it does.

Read 25 November 2026 Every value on this page came off Devin documentation: Devin Local customizations on that day. The old Cascade MCP page and docs.windsurf.com both redirect there. The key names, the Windows path and the sign-in come from the Devin CLI MCP configuration page it points to, which Devin Local shares, read the same day. If it has changed since, tell us and we will read it again.