Step 1 — Start the MCP server
Connect the MCP server to Cognee Cloud using your API Base URL and API key from the API Keys page:For local mode (no Cloud connection), omit the
--serve-url and --serve-api-key flags. The server will manage its own local knowledge graph. Local mode requires an LLM_API_KEY environment variable.Step 2 — Add to your MCP client config
Add Cognee as a tool server in your MCP client’s configuration:Step 3 — Available tools
Once connected, your MCP client gets the Cognee API v1 memory tools:| Tool | Description |
|---|---|
remember | Store data in memory (add + cognify in one step) |
recall | Search memory with auto-routing |
forget | Delete data from memory |
Next steps
Cloud SDK
Connect to Cognee Cloud programmatically using the Python SDK.
Cloud functionality
Explore the full API surface available in Cognee Cloud.