# Cursor MCP Setup

The fastest way to use Yavy with Cursor 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.json

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

### Setup Steps

1. Create or open the configuration file:
   - Global: `~/.cursor/mcp.json`
   - Project: `.cursor/mcp.json`
2. Copy the configuration above and paste it into your `mcp.json` file
3. Restart Cursor for changes to take effect

Alternative: Use Cursor Settings

Go to **Cursor Settings > Features > MCP** and click **\+ Add New MCP Server** to configure visually.

## Next Steps

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