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

# Cursor

> Connect webrain to Cursor — add a project .mcp.json or use Cursor Settings, then drive the 15 browser/scraping tools from the agent.

# Cursor

Cursor supports MCP servers via a project `.mcp.json`.

## Setup

Create `.mcp.json` at your project root:

```json theme={null}
{
  "mcpServers": {
    "webrain": { "command": "webrain", "args": ["mcp"] }
  }
}
```

Cursor picks it up automatically; enable **webrain** in Settings → MCP. Restart
if the tools don't appear.

## Example

> Use webrain to open [https://example.com](https://example.com), wait for results, and extract the
> table into JSON.

## Related

* [MCP Server](/mcp/server)
* [Agent Decision Guide](/guides/agent-decision-guide)
