Agents
Gemini CLI
Add Oort to Gemini CLI.
Install the CLI.
Terminal npm i -g oortmemSkip this if you already have it. Node.js 22.15 or newer.
Connect Gemini CLI.
Terminal oort connect geminiOort backs up the file, prints the change, then adds one server named
oort. Add--dry-runto see the change without writing it.Restart Gemini CLI.
Exit Gemini CLI and start it again in your project.
Check it is connected.
Gemini CLI /mcpYou should see
oortand its tools.
What Oort writes
{
"mcpServers": {
"oort": {
"command": "/abs/path/to/oort",
"args": ["mcp"]
}
}
}command is the full path of your installed oort. The rest of the file stays as it was. The first change keeps a copy of the original next to it, ending in .oort-backup.
Undo
oort disconnect geminiThis removes only the oort entry. Your memories stay in ~/.oort. If something does not work, see Troubleshooting.
Which memories it sees
Gemini CLI starts the server in the folder you run it from, so memories follow your project.