Docs / Connect / Cline
Cline keeps its MCP servers in its own settings file, and the easiest way to find that file is to let Cline open it for you.
Where Cline keeps that file depends on which editor it runs in, so a path copied from a blog post is often wrong for you. Letting Cline open its own file is more reliable than any path we could print.
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.
cline_mcp_settings.json in your editor.mcpServers. Keep any servers already listed.{
"mcpServers": {
"modelbrain": {
"command": "/Applications/ModelBrain.app/Contents/MacOS/mcp_server"
}
}
}Available in 0.5.0. Setup for Cline is in ModelBrain 0.5.0 and later. It is tested on sample files only, and the settings location comes from Cline's docs. We have not yet tried it on a real Cline 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.
Cline's file lives in a different place for the VS Code extension, the editor forks and the Cline command line tool. Opening it from the Configure MCP Servers button always lands on the right one.
Not yet. The setup code exists but is not in a released build, and its Cline file locations have not been confirmed on a real install.
Remove the modelbrain entry from mcpServers and save. 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 Cline. If ModelBrain does not appear in Cline 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 →