remember, recall and forget against your Cognee Cloud workspace. The Gemini CLI card on the Integrations page shows the same steps with your workspace URL and API key filled in.
1. Install uv
Cognee runs throughuvx, which comes with uv. There is nothing else to install.
- macOS:
brew install uv - macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh - Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
2. Add Cognee to your Gemini settings
Gemini CLI keeps its settings in~/.gemini/settings.json. If the file or the ~/.gemini folder does not exist yet, run gemini once to create them, or create the file yourself.
Add the cognee entry under mcpServers and save. Use your workspace URL and a key from the API keys page:
If you already have an
mcpServers block, add only the cognee entry inside it instead of replacing the file.3. Verify
- Start Gemini in your terminal with
gemini. - Type
/mcp. You should see cognee listed with its tools. - Ask What do you know from cognee? Gemini should call a cognee tool and answer from your memory.
/mcp does not list cognee, Gemini usually cannot find uvx on its PATH. Run which uvx (Get-Command uvx on Windows) and use that absolute path as the command value.
Cloud MCP
How MCP clients connect to Cognee Cloud
All agent integrations
Every agent and tool that can use Cognee as memory