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

# Windsurf

> Capture and recall with Windsurf.

# Windsurf Integration

BaseLayer works with Windsurf for both **automatic capture** of your conversations and **MCP recall** so Windsurf can search your memory.

## Capture (automatic)

The BaseLayer desktop app automatically detects Windsurf conversations via its IDE watcher. No setup needed, just make sure the desktop app is running.

Verify in **Settings → IDE Watchers**. You should see Windsurf listed.

## Recall (MCP setup)

To give Windsurf access to your memory, add BaseLayer as an MCP server. The easiest way is through the **Connections** tab in the BaseLayer desktop app, which configures it automatically.

To set it up manually, add this to your Windsurf MCP configuration (`~/.codeium/windsurf/mcp_config.json`):

```json theme={null}
{
  "mcpServers": {
    "baselayer": {
      "url": "https://api.baselayer.id/mcp"
    }
  }
}
```

Restart Windsurf to activate the connection.

### Verify

In a Windsurf chat session, try:

> "What do you know about my current project?"

Windsurf should call `ask_question` and return knowledge from your memory.

<Tip>With both capture and recall active, Windsurf becomes a fully integrated part of your knowledge workflow. Conversations are captured, and Windsurf can search your memory for context from all your AI tools.</Tip>
