/integrations, under the CONNECT section of the sidebar alongside API Keys) is the in-product hub for wiring external tools into your Cognee memory. Each card opens a step-by-step modal that injects your tenant’s live base URL and API key into copy-on-click code blocks, so the snippets are ready to paste without editing.
Everything in these flows runs locally on your machine — nothing is sent to Cognee. When a step writes to an existing config file, the previous version is backed up to .bak before being overwritten.
The page has three sections, in order: Agents (“Connect your AI agents and coding tools to Cognee for persistent memory”), Automation platforms (“Give your automation workflows access to Cognee memory via MCP”), and Data sources (marked Coming soon).
Agents
Agent cards come in two styles depending on how the tool reads memory.Prompt-based
These cards (CTA Connect via prompts) write a memory instruction file into your project or workspace so the agent learns to use Cognee through its system prompt:| Tool | File written |
|---|---|
| Claude Code | CLAUDE.md |
| Codex | AGENTS.md |
| OpenClaw | ~/.openclaw/workspace/AGENTS.md |
COGNEE_BASE_URL environment variable. The instruction file teaches the agent to recall context before answering and to remember new facts afterward.
For Claude Code you can also install the marketplace plugin, which adds Cognee memory commands:
MCP-based
These cards (CTA Connect via MCP) register Cognee as an MCP server in the client’s config. First install the server:cognee-mcp. The flow writes a stdio entry shaped like this:
| Client | Config location |
|---|---|
| Claude Desktop | $HOME/Library/Application Support/Claude/claude_desktop_config.json |
| Cursor | ~/.cursor/mcp.json |
| Hermes Agent | ~/.hermes/config.yaml (YAML) |
| VS Code | .vscode/mcp.json (Copilot agent mode) |
| Gemini CLI | ~/.gemini/settings.json |
| Cline | VS Code Cline sidebar → MCP Servers |
For VS Code, the key is supplied via an input prompt and kept out of the committed config file.
API / MCP
The Connect via API or MCP card is for any tool not covered above. It gives you acurl recall example and the option to install the generic Cognee skill:
Automation platforms
Bring Cognee memory into your workflow tools (CTA Connect via node / Connect via plugin):| Platform | How |
|---|---|
| n8n | Install the community node package n8n-nodes-cognee, then add a Cognee API credential. |
| Dify | Install the Marketplace plugin by topoteretes. |
Credentials and environment variables
The flows export three variables together. Which one a tool reads depends on how it was built:| Variable | Used by |
|---|---|
COGNEE_BASE_URL | Prompts and skills |
COGNEE_SERVICE_URL | Plugins and MCP servers — if missing, the client drops into local mode |
COGNEE_API_KEY | All clients, for authentication |
X-Api-Key header (not Bearer). To confirm a key and URL work, run a health ping against the datasets endpoint:
200 means the connection is good, 401 means the key is wrong, and 404 or a 5xx means the URL is wrong or the service is unavailable.
How memory works once connected
Connected tools read and write memory through two endpoints. Recall (POST /api/v1/recall) retrieves context. The search_type parameter controls how results are assembled:
search_type | Behavior |
|---|---|
HYBRID_COMPLETION | Default — combines graph and chunk retrieval. |
GRAPH_COMPLETION | Answers from the knowledge graph. |
CHUNKS | Returns raw matching text chunks. |
GRAPH_SUMMARY_COMPLETION | Summarized graph-based answer. |
POST /api/v1/remember/entry) stores a fact. Tie related entries together with a shared session_id:
default_dataset.
Use
/remember/entry for inline text. The plain /remember endpoint requires a file upload and returns 422 for inline text.Verify the connection
After running any flow, verify the integration by asking the connected agent:What do you know from cognee?If memory is wired up correctly, the agent recalls context from your knowledge graph. The final step of each flow includes a Go to Sessions → button that takes you to your live Sessions.
Data sources
The Data sources section is marked Coming soon. These cards are disabled today and show a Notify me button:- Slack
- Notion
- Google Drive
- Google Drive Sheets
- GitHub
- Linear
- Confluence
- Jira
Related
Sessions
Inspect the live memory your connected tools read and write.
API Keys
Create and manage the keys these integrations authenticate with.
Cloud SDK
Call recall and remember programmatically from your own code.
Cloud MCP
Details on the Cognee MCP server and its tools.