> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cline with Cognee Cloud

> Connect the Cline agent in VS Code to your Cognee Cloud workspace over MCP.

[Cline](https://cline.bot) is a coding agent that runs inside VS Code and supports the [Model Context Protocol](https://modelcontextprotocol.io). Register Cognee as an MCP server and Cline can `remember`, `recall` and `forget` against your Cognee Cloud workspace. The **Cline** card on the [Integrations](https://docs.cognee.ai/cognee-cloud/ui/integrations.md#mcp-clients) page shows the same block with your workspace URL and API key filled in.

## 1. Install uv

Cognee runs through `uvx`, which comes with [uv](https://docs.astral.sh/uv/): `brew install uv`, or `curl -LsSf https://astral.sh/uv/install.sh | sh` on macOS and Linux. There is nothing else to install.

## 2. Add Cognee to Cline's MCP servers

In VS Code, open the Cline sidebar, then **MCP Servers** → **Configure MCP Servers**. Paste the `cognee` entry and save, using your workspace URL and a key from the [API keys](https://docs.cognee.ai/cognee-cloud/ui/api-keys.md) page:

```json theme={null}
{
  "mcpServers": {
    "cognee": {
      "command": "uvx",
      "args": ["cognee-mcp@0.5.6"],
      "env": {
        "COGNEE_BASE_URL": "https://your-tenant.aws.cognee.ai",
        "COGNEE_API_KEY": "your-api-key"
      }
    }
  }
}
```

> [!NOTE]
>
> If Cline already lists other MCP servers, add only the `cognee` entry inside the existing `mcpServers` block.

## 3. Verify

Ask Cline *What do you know from cognee?* It should call the Cognee memory tool and answer from your dataset. If it never calls a **cognee** tool, VS Code usually cannot find `uvx` on its `PATH`: run `which uvx` and use that absolute path as the `command` value.

***

> [card] [Cloud MCP](https://docs.cognee.ai/cognee-cloud/connections/cloud-mcp.md)
>
> How MCP clients connect to Cognee Cloud

> [card] [VS Code extension](https://docs.cognee.ai/cognee-cloud/agent-integrations/vscode.md)
>
> A citable project memory with in-editor commands


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.