On this page
Build against it

MCP

The same API key, from Cursor, Claude, or your agents.

Getting Started

Overview#

The Model Context Protocol is how an AI client — Cursor, Claude, or an agent you wrote — calls tools on a remote server without you writing fetch. Brickroad runs one that wraps the same authenticated API this manual documents.

It takes your organization API key. The header is the same Authorization: Bearer value you mint from the dashboard. There is no second sign-in and no separate identity.

Endpoint

https://brickroad.network/mcp

Streamable HTTP. No local binary, and no separate SSE endpoint.

Install in Cursor#

Install in Cursor is in the dashboard's Agent access section, under MCP server. On the default dashboard, once you have an active key, the section folds to one line: click MCP setup to open it. The link below opens it directly. On the zero-data-retention dashboard it is always shown.

Create API key (or Create another key) fills the config and install link with the new key's full value while setup is open. Otherwise the config uses a <key> placeholder for you to replace in Cursor. An existing key is never used for installation, because its full value cannot be shown again.

The Install in Cursor button is on the dashboard's Agent access panel. Cursor asks you to confirm, then lists the server in its MCP settings.

Manual setup#

Every other client takes the same server as a config entry. Claude Desktop, Windsurf, and most agent frameworks read a file of this shape; the file's location differs, the object does not.

mcp.json
{
  "mcpServers": {
    "brickroad-api": {
      "url": "https://brickroad.network/mcp",
      "headers": {
        "Authorization": "Bearer <key>"
      }
    }
  }
}

Replace <key> with your full API key. Keep the Bearer prefix. If your client asks for a transport, choose streamable-http.

Cursor also supports ${env:BRICKROAD_API_TOKEN} in headers, but the variable must already be set in its shell or system environment. The create-and-install flow uses the full key directly and needs no environment setup.

Your client lists the tools and their inputs once it connects; each tool reaches the same data as its route in the API reference. This page is only the install path.

  1. 1

    Create a key under Settings › API keys. An owner or admin of the organization creates keys.

  2. 2

    Replace <key> in the header with the full key. Config copied during creation already includes it.

  3. 3

    Add the block above to your client config and restart the client so it loads the server.

MCP — Docs — Brickroad | Brickroad