Docs / Connect / Goose
Goose calls MCP servers extensions, and it can write the entry for you, so connecting ModelBrain does not require editing a file.
Goose has its own walkthrough for adding a command line extension, and using it is safer than editing YAML by hand, where one wrong indent breaks the whole file.
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.
goose configure, choose Add Extension, then Command-line Extension./Applications/ModelBrain.app/Contents/MacOS/mcp_server, accept or set a timeout such as 300 seconds, and answer no when it asks about environment variables.~/.config/goose/config.yaml. Add this under the top-level extensions: key, lined up with the entries already there, using spaces and not tabs. modelbrain:
name: ModelBrain
cmd: /Applications/ModelBrain.app/Contents/MacOS/mcp_server
args: []
enabled: true
type: stdio
timeout: 300Goose's own format calls the field cmd. The walkthrough fills it in for you, which is one reason to use it.
No. Leave them empty.
Remove the extension in the desktop app, or delete the entry from config.yaml. 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 Goose. If ModelBrain does not appear in Goose 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 →