MCP setup · Cursor

Add Repage to Cursor

Add Repage as a remote MCP server in Cursor and let the AI agent publish documents for you without leaving the editor.

Option A — Settings UI (Cursor 0.43+)

  1. Open Cursor Settings (Cmd/Ctrl + Shift + J) → MCP.
  2. Click Add new MCP server.
  3. Set the type to HTTP/SSE and paste:
    https://www.repage.app/api/mcp
  4. A browser tab opens for the Google sign-in. Authorise and return to Cursor — the server will show a green status dot.

Option B — config file

Edit (or create) ~/.cursor/mcp.json:

{
  "mcpServers": {
    "repage": {
      "url": "https://www.repage.app/api/mcp"
    }
  }
}

Restart Cursor after saving. Cursor will prompt you to authorise Repage the first time it makes a request.

To scope the server to a single project only, place the file at .cursor/mcp.json inside your project directory instead.

Using an API key instead of OAuth

If you prefer a static credential, create an API key on your Repage dashboard and add it as a header:

{
  "mcpServers": {
    "repage": {
      "url": "https://www.repage.app/api/mcp",
      "headers": {
        "Authorization": "Bearer rpg_your_key_here"
      }
    }
  }
}

Using Repage from Cursor

Open Cursor Chat (Cmd/Ctrl + L), switch to Agent mode, and describe what you want:

Generate an HTML summary of this codebase and publish it to Repage

Fetch Repage document abc123, fix the layout issues we discussed, and push a new version

All set — try it in Cursor Agent

Switch to Agent mode and ask Cursor to publish a report to Repage.

Publish a document