Docs / Connect / Devin Desktop
Devin Desktop's Cascade agent reads MCP servers from one JSON file, so connecting ModelBrain means adding one entry to it.
Devin Desktop is Windsurf renamed, and its MCP file still lives in a folder called windsurf. The old name is the one to look for, and a guide that points you at a folder called devin will send you to the wrong place.
This client needs the full path to ModelBrain's mcp_server program. The commands and snippets on this page show the macOS path; on Windows or Linux, put the path for your system in the same place. Write the full path rather than a variable such as %LOCALAPPDATA% or ~, because a client may not expand it.
/Applications/ModelBrain.app/Contents/MacOS/mcp_server
C:\Users\you\AppData\Local\Programs\ModelBrain\mcp_server.exe (that is %LOCALAPPDATA%\Programs\ModelBrain\mcp_server.exe, with your own user name). Inside JSON, TOML or a quoted YAML string, double each backslash.
/home/you/.local/lib/modelbrain/mcp_server, with your own home folder. The install script puts ModelBrain in ~/.local/lib/modelbrain.
mcp_config.json. The file normally lives at ~/.codeium/windsurf/mcp_config.json, and you can create it there if it does not exist.mcpServers. Keep any servers already listed.{
"mcpServers": {
"modelbrain": {
"command": "/Applications/ModelBrain.app/Contents/MacOS/mcp_server"
}
}
}Available in 0.5.0. Setup for Devin Desktop is in ModelBrain 0.5.0 and later. It is tested on sample files only, and the config location comes from the vendor's docs. We have not yet tried it on a real Devin Desktop install. If anything differs on your machine, use the manual steps above and tell us through the Support page.
Running the wizard twice is safe: it recognises its own entry and does nothing. The uninstaller removes only the entry that points at ModelBrain.app.
No. Devin Desktop has two agents, the older Cascade and a newer Devin Local. This guide is for Cascade. Devin Local reads its own command line configuration, which we have not covered.
The product was renamed but, as far as we can tell, the settings folder was not. If you cannot find the file, use the Configure button in the MCPs panel, which opens whichever file your version reads.
Remove the modelbrain entry and restart. Your memories are not stored in that file.
We have tested this configuration against sample files and the ModelBrain setup code, but not yet by hand on a real install of Devin Desktop. If ModelBrain does not appear in Devin Desktop after you follow these steps, tell us through the Support page and we will fix this guide.
A 10-minute walkthrough: add a folder, ask something that needs two notes, see the citation.
Quickstart →