# Bootstrap AgentDB from Cursor

Configure Cursor with the AgentDB MCP server or REST quickstart, pair, and persist a first entity.

> HTML version: https://staging.agentdb.com/start/cursor — this file (/docs/start/cursor.md) is its markdown twin.

This quickstart is the [Your agent signs in](/start#your-agent-signs-in)
and [Your agent works](/start#your-agent-works) stages of the
[workflow](/start), for Cursor.

## Two ways in

**MCP:** add the AgentDB MCP server to your `mcp.json` and authenticate with
a JWT — see [MCP + AgentDB](/integrations/mcp).

**REST:** follow the same pairing and round-trip flow as
[Claude Code](/start/claude-code); the contract is identical because there
is only one contract.

## Acceptance check

Pair → `CreateAction` → `SearchAction` → `FindAction` — the exact payloads
are in [the Claude Code quickstart](/start/claude-code) and the full
contract at [/start/contract](/start/contract). If all three actions
round-trip, your editor's agent has a working backend.

## Actions declared on this page (JSON-LD)

```jsonld
[
  {
    "@type": "RegisterAction",
    "name": "Pair an agent",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "https://staging-api.agentdb.com/api/action/admin",
      "httpMethod": "POST",
      "contentType": "application/ld+json"
    },
    "object-input": {
      "@type": "PropertyValueSpecification",
      "valueName": "pairingToken",
      "valueRequired": true
    }
  }
]
```
