Connect your AI to Brila, or build on it with the API

Brila speaks the Model Context Protocol, so Claude, Cursor or any MCP client can read your account and answer in plain language. The REST API covers the rest — your profile, links, codes, automations and statistics — with the same token. Both are on every plan, including the free one.

  • Claude
  • Cursor
  • and any client that lets you set a request header

MCP server

Ask your assistant instead of opening a dashboard

Add Brila to your AI client once, with a token you create in Settings. From then on your discount codes are something you can simply ask about — which ones are live, which expire this week, what that code you saved last month was.

  • Two read-only tools today: the codes on your page, and the codes you have saved
  • Expired and scheduled codes stay out of the answer unless you ask for them
  • The same scopes as the API, so a token can be allowed to read and nothing else
  • Nothing an assistant does can change your account
  • Creating and editing codes from your assistant soon
  • A Connect button in place of a pasted token soon

Public API

Everything the app does, from your own code

Personal access tokens over a documented OpenAPI surface. Reads and writes both: publish a discount code, reorder your links, update your bio, pull yesterday's statistics.

  • 40 endpoints across your profile, links, discount codes, automations, Instagram and statistics
  • Create, update and delete — not a read-only mirror of the app
  • Scopes per token, an expiry you choose, and revocation that takes effect at once
  • An OpenAPI spec you can generate a client from

Connected in three steps

  1. 1

    Create a token

    Settings → API Tokens. Choose what it may reach, and copy it once — Brila stores only a hash.

  2. 2

    Add it to your client

    One command in Claude Code, or a few lines of JSON in Claude Desktop and Cursor. The docs carry both.

  3. 3

    Ask it something

    “Which of my codes expire this week?” Your client calls Brila and answers from your own rows.

Included on every plan

No extra charge

The API and the MCP server are on every plan, the free one included. Your calls are not metered.

25 tokens

One per machine, script or client, so a credential that leaks costs you one of them rather than all of them.

See where you stand

The usage endpoint reports every quota on your account and how much of it you have spent.

Your account, your tools

Create a free account, make a token, and connect your assistant.

Get started