Skip to content

Connect an AI assistant

Connect an AI assistant to brix and ask it about your business in plain English: “How did HVAC sell this month?”, “Which quote requests for Atlas Finance are still open?”, “What’s on this job?”. By default the assistant only reads your brix data and answers. You can also let it change your price book, and brix asks you separately for that.

  • An API key that acts as you. Create it on the API Keys page, set Acts as to yourself, and give it the *:read scope. The assistant then sees exactly what you see in brix and nothing more.
  • The brix connector address:
https://mcp.brixco.io/mcp
  • The key saved on your computer as BRIX_API_KEY. Every setup below reads the key from there, so it never sits in a chat message or a shared settings file.
  1. Open Terminal.

  2. Run this. It asks for the key without showing it, so the key never appears on screen or in your command history:

    Terminal window
    read -s "k?Paste your brix key, then press Return: " && echo "export BRIX_API_KEY=\"$k\"" >> ~/.zshrc && unset k

    On Linux with bash, use this instead:

    Terminal window
    read -s -p "Paste your brix key, then press Return: " k && echo "export BRIX_API_KEY=\"$k\"" >> ~/.bashrc && unset k
  3. Close Terminal and open it again. Start your assistant from a new window so it can see the key.

Pick your assistant. For Claude Code, Codex, OpenClaw and Hermes you copy one message and send it to the assistant: it sets itself up and checks the connection. The manual steps underneath do the same thing by hand.

Works in the Claude Code terminal app and in its VS Code and JetBrains extensions, which share the same settings.

Copy and send this to Claude Code:

Set up the brix connector for me. Run exactly:
claude mcp add --transport http --scope user brix https://mcp.brixco.io/mcp --header 'Authorization: Bearer ${BRIX_API_KEY}'
Keep the single quotes so the key is read from my BRIX_API_KEY setting when you connect, and never print, save or ask me for the key itself.
Then run `claude mcp list` and tell me whether brix shows Connected.

Or by hand: run the same claude mcp add command in your terminal, then claude mcp list. You should see brix: https://mcp.brixco.io/mcp (HTTP) - ✔ Connected. Inside Claude Code, type /mcp to see the brix tools.

Once connected, start with these:

Which brix workspace are you connected to, and what can you see?
How did each business unit sell this month compared with last month?
Show me the open quote requests for <client name> and what's quoted on each.

The assistant picks the right brix tool for each question. It can look up dashboards, the revenue scorecard, goals, reviews, clients, quote requests and quote options, jobs, agreements, client assets, materials, services and business units.

  • It reads by default. Unless you also allow it to change your price book, it can’t create, change or delete anything in brix.
  • It sees what you see. With a key that acts as you, anything you can’t open in brix, the assistant can’t read either.
  • It sees one workspace: the one the key belongs to.
  • It works in pages. Long lists come back a page at a time. Ask for the next page, or narrow the question (“open quote requests from last week”) for faster answers.
  • It treats brix data as data. A client note or quote description that reads like an instruction is still just text from your records.

When you connect an assistant by signing in, brix shows a consent screen. Reading your data is always part of it. A second, optional permission, Change your price book, is asked separately, so you can leave it off.

If you allow it, the assistant can add and edit services, materials, material packs, pick lists, tech levels, equipment, assets, labour, markups, discounts and categories.

  • Open quotes reprice. Quotes that are still open update to the new prices straight away.
  • Changes overwrite. A change replaces the existing value, including values that came from a catalogue import or a service link.
  • Nothing is permanently deleted. The assistant can remove items from use, but brix keeps them and never erases them.

The Access column on the Connected apps list on the API Keys page shows which assistants can read only and which can also change the price book. To take the permission away, remove the connection there and connect again without it.

Whatever the assistant looks up is sent to the company that runs it (for example Anthropic for Claude, OpenAI for Codex), so it can answer you. That can include client names, contact details, addresses, quote amounts and notes. Their own terms cover how they handle it. If that isn’t acceptable for some of your data, use a key that acts as a user who can’t see it.

The assistant says the connection failed or shows an authorisation error

Check that BRIX_API_KEY is set in the window you started the assistant from: close it, open a new terminal or restart the app, and try again. Claude Code shows Missing environment variables: BRIX_API_KEY when it can’t see the key. If the key is set, open the API Keys page and check the key is still Active.

The assistant says the connector is not enabled for your account

The AI assistant connector is switched on per workspace. Ask brix support to switch it on for yours.

The assistant can’t see dashboards, goals or the scorecard

The assistant follows your own permissions. If you can’t open the Company Dashboard or Revenue Scorecard in brix, the assistant can’t read them either. Ask your workspace owner if you need access. Also check the key has the *:read scope.

The assistant says brix is busy

Each workspace can run up to four lookups at once. Extra lookups wait up to five seconds for a free slot, then come back as busy. Wait a few seconds and ask again, or ask for fewer things in one go.

OpenClaw connects but finds no tools

Check the brix block includes "transport": "streamable-http". Without it OpenClaw uses an older connection type that brix doesn’t accept.

  • To stop an assistant using brix, revoke its key on the API Keys page. It loses access straight away.
  • To give a script or integration access instead of an assistant, see Giving a key to an AI agent.