Skip to main content

Gemini CLI Integration

BaseLayer works with Gemini CLI for both automatic capture and MCP recall.

Capture (automatic)

The desktop app’s IDE watcher detects Gemini CLI conversations automatically. No setup needed beyond having the desktop app running.

Recall (MCP setup)

To give Gemini CLI access to your memory:
gemini mcp add baselayer https://api.baselayer.id/mcp
Once added, Gemini can use all BaseLayer tools.

Verify

In a Gemini CLI session, try:
“What do you know about me?”
Gemini should call ask_question and return knowledge from your memory.