# Windsurf MCP Setup

The fastest way to use Yavy with Windsurf is the CLI. Search your docs and generate Skills. For real-time access, connect via MCP.

## Quick Start with CLI

Install the CLI, authenticate, and search. No MCP setup required.

```terminal
npm install -g @yavydev/cli && yavy init
```

```terminal
yavy search "your query"
```

[Full CLI documentation](/content/docs/skills/cli/index.html)

## MCP Configuration

`mcp_config.json`

```json
{
  "mcpServers": {
    "yavy": {
      "serverUrl": "https://yavy.dev/mcp/your-org/your-project"
    }
  }
}
```

### Setup Steps

1. Open Windsurf Settings:

Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on macOS)

Type `Open Windsurf Settings`

2. Navigate to **Cascade** → **MCP Servers** and click **Add Server**
3. Select **Add custom server +** to open the raw config
4. Copy the configuration above and merge it into your `mcp_config.json`
5. Restart Windsurf for changes to take effect

## Config File Location

The configuration file is located at `~/.codeium/windsurf/mcp_config.json`

## Next Steps

[Learn about Skills packages](/content/docs/skills/index.html) [Getting Started guide](/content/docs/getting-started/index.html)
