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 knowledge vault:
gemini mcp add baselayer http://localhost:44044
This connects Gemini CLI to your local BaseLayer MCP server. Once added, Gemini can use all BaseLayer tools.

Verify

In a Gemini CLI session, try:
“Check my BaseLayer vault status”
Gemini should call the status tool and report your vault statistics.
The local MCP server runs on port 44044. Make sure the BaseLayer desktop app is running.