Connector guide8-minute read28 MCP tools7 languages

How to Connect Brex to ChatGPT via MCP

Let your AI read your Brex account: cards, card and business account transactions, statements, expenses, budgets, spend limits, vendors, users and trips. Read-only API token; it cannot send money. Card lock and expense memo actions are optional and off by default.

HCBy HelpCode teamUpdated 8 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Brex

Brex

Let your AI read your Brex account: cards, card and business account transactions, statements, expenses, budgets, spend limits, vendors, users and trips. Read-only API token; it cannot send money. Card lock and expense memo actions are optional and off by default.

tools

28

Region

INTL

Category

Banking

Authentication

Bearer Token

Required env vars

BREX_API_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Brex in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Let your AI read your Brex account: cards, card and business account transactions, statements, expenses, budgets, spend limits, vendors, users and trips. Read-only API token; it cannot send money. Card lock and expense memo actions are optional and off by default.

Try asking

Example prompts for Brex

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Brex · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Brex, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Brex + ChatGPT

Let your AI read your Brex account: cards, card and business account transactions, statements, expenses, budgets, spend limits, vendors, users and trips. Read-only API token; it cannot send money. Card lock and expense memo actions are optional and off by default.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

BREX_API_TOKEN

Step 1 — Get credentials

It cannot move money, by design. The connector has no tool for transfers, payments, bill pay, ACH, wires, checks, new cards or limit changes, not even a switched-off one. Asking the AI to pay someone will not work. Your finance team gets answers about spend without opening a new way for money to leave the account.

  1. Sign in to https://dashboard.brex.com as an account admin or card admin and open Developer, then Settings. Accept the developer API terms if Brex asks.
  2. Click Create Token, give it a name such as AnythingMCP and select only the read-only scopes the connector uses: companies.readonly, users.readonly, departments.readonly, locations.readonly, cards.readonly, accounts.card.readonly, accounts.cash.readonly, transactions.card.readonly, transactions.cash.readonly, statements.card.readonly, statements.cash.readonly, expenses.card.readonly, budgets.readonly, vendors.readonly, travel.trips.readonly. Leave out the ones you do not need; the matching tools then answer 403.
  3. Never select transfers, incoming_transfers or cards.pan. They let software move money or read full card numbers, and this connector needs neither.
  4. Click Allow Access, copy the token (it starts with bxt_) into BREX_API_TOKEN and install the connector. Brex shows the token only once.
  5. Check the setup with brex_get_company: it shows your company's legal name and account type.

Read-only token: a token with only .readonly scopes cannot change anything in Brex.

Switched off at install: brex_lock_card and brex_unlock_card (for a lost card or suspected fraud; the card owner is notified) and brex_update_expense_memo (writes the business purpose and overwrites the old memo). To use them, an admin creates a token that also has the cards scope for the card actions or expenses.card for the memo, and switches the tool on. The AI then shows you the card name and last four digits, or the expense and the new memo, and waits for your yes. Brex's cards scope would also let other software issue cards; this connector has no such tool.

Financial data is sensitive: balances, transactions, expenses, cards and employee details are confidential company data. Share the MCP server only with people allowed to see them; the AI reads only what you ask for. Full card numbers, CVCs and bank account and routing numbers are never returned: cards show the last four digits, and the bank details of accounts and vendors are removed.

What it reads: company, users, departments and locations; cards with their spend controls; card account balances and limit, settled card transactions and card statements; business (cash) accounts with their transactions and statements; expenses (card, bill pay and reimbursement) with receipts and compliance status, where DUE and OVERDUE find expenses still missing a receipt or memo; budgets and spend limits with what has been spent; vendors; and Brex Travel trips. Pending card authorizations are not included, and Brex can post a transaction a few days late.

Amounts: Brex gives amounts in the smallest currency unit, so 700 in USD means 7.00 USD. The AI converts them before showing them.

Limits and tokens: 1,000 requests per 60 seconds per account. A token unused for 90 days expires, and a token stops working when its user is no longer active. You can revoke it at any time under Developer, Settings. Brex has no sandbox, so the connector always reads live data.

Common errors: 401, or 403 "Invalid or Revoked Token": the token is wrong, revoked or expired; create a new one. 403 on some tools only: the token lacks that tool's scope, or its user lacks the Brex role (most data needs an account admin). 404: the id does not exist in this Brex account. 429: wait a minute.

The connector does not move money, issue or terminate cards, change limits or budgets, approve expenses, upload receipts or manage users and webhooks.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in ChatGPT

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

ChatGPT adds MCP servers as plugins on its Plugins page, on the web and on paid plans. Developer mode is no longer needed. In a Business workspace only admins and owners can add one; in Enterprise and Edu an admin can grant the Create plugins with MCPs permission.

  1. Go to chatgpt.com/plugins, click +, then Add custom MCP server.
  2. Enter a name, e.g. Name: Brex.
  3. Under Connection, enter the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID and keep Authentication on OAuth.
  4. Select I understand and want to continue, then Create as a plugin. When ChatGPT asks, sign in to AnythingMCP and allow access.
  5. Install the new plugin from your personal plugins, then type @ in a chat and pick it.

Available tools

ToolWhat it does
brex_get_companyRead the Brex company this token belongs to: id, legal name, account type and mailing address
brex_get_current_userRead the Brex user who created the token: id, name, email, status, manager, department and location ids
brex_list_usersList Brex users (employees and admins) with id, name, email, status, manager, department, location, title, cost center and legal entity ids
brex_get_userRead one Brex user by id: name, email, status, manager, department, location, title, cost center and legal entity ids
brex_list_departmentsList the departments set up in Brex (id, name, description)
brex_list_locationsList the office locations set up in Brex (id, name, description)
brex_list_cardsList Brex cards with id, name, status (ACTIVE, SHIPPED, LOCKED, TERMINATED), virtual or physical, last four digits, owner user id, budget…
brex_get_cardRead one Brex card by id: name, status, type, last four digits, owner, budget and spend controls
brex_lock_cardLock a Brex card so it cannot be used, for example when it is lost or suspected of fraud
brex_unlock_cardUnlock a locked Brex card so it can be used again
brex_list_card_accountsList the Brex card accounts with status, current balance, available balance, account limit and the current statement period
brex_list_card_transactionsList settled card transactions for all Brex card accounts: description, amount, initiated and posted dates, type (PURCHASE, REFUND…
brex_list_card_statementsList finalized statements of the primary Brex card account: statement id, period (start and end date) and start and end balance
brex_list_cash_accountsList Brex business (cash) accounts with id, name, status, whether it is the primary account, current and available balance
brex_get_cash_accountRead one Brex business (cash) account by id: name, status, primary flag, current and available balance
brex_list_cash_transactionsList transactions of one Brex business (cash) account: description, amount, type (PAYMENT, DIVIDEND, FEE, INTEREST, CARD_COLLECTION and…
brex_list_cash_statementsList finalized statements of one Brex business (cash) account: statement id, period and start and end balance
brex_list_expensesList Brex expenses (card, bill pay and reimbursement) with memo, status, payment status, category, purchase date, amounts, merchant, user…
brex_get_expenseRead one Brex expense by id with memo, status, amounts, merchant, user, budget, receipts, policy and compliance status
brex_update_expense_memoSet the memo of a Brex card expense, for example the business purpose
brex_list_budgetsList Brex budgets with name, description, parent budget, owners, period (WEEKLY, MONTHLY, QUARTERLY, YEARLY, ONE_TIME), start and end date…
brex_get_budgetRead one Brex budget by id: name, parent, owners, period, dates, amount, status and limit type
brex_list_spend_limitsList Brex spend limits with name, status, period, dates, authorization settings (base limit and limit with increases), per-transaction…
brex_get_spend_limitRead one Brex spend limit by id: limits, current period balance, owners, members and settings
brex_list_vendorsList the vendors saved in Brex with id, company name, email, phone and the payment methods on file (ACH, DOMESTIC_WIRE, CHEQUE…
brex_get_vendorRead one Brex vendor by id: company name, email, phone and the payment methods on file
brex_list_tripsList Brex Travel trips with name, status, traveler, booker, start and end time and reference
brex_get_tripRead one Brex Travel trip by id: name, status, traveler, booker, dates and reference

Example prompts

  • "Which card expenses from last month are still missing a receipt or a memo? Group them by employee."
  • "List last month's settled card transactions over 1,000 USD with merchant, card holder and date."
  • "What is the current balance and available limit of our Brex card account, and when does the statement period end?"
  • "Which spend limits have already used more than 80 percent of this period's limit?"
  • "Which Brex Travel trips start next week? Show traveler, trip name and dates."

FAQ

Does the free ChatGPT plan work with custom MCP servers? OpenAI documents custom MCP servers for paid plans only; the Free plan is not on its list.

Next steps

Was this guide helpful?

Your Brex agent is one click away.

Install the connector, paste the key, prompt ChatGPT. Free for 7 days, no credit card.

Related guides

Connectors

Brex to MCP: Read-Only Cards, Expenses and Budgets in any AI Agent

Let your AI read your Brex account: cards, card and business account transactions, statements, expenses, budgets, spend limits, vendors, users and trips. Read-only API token; it cannot send money. Card lock and expense memo actions are optional and off by default.

Connectors

How to Connect Brex to Claude via MCP

Let your AI read your Brex account: cards, card and business account transactions, statements, expenses, budgets, spend limits, vendors, users and trips. Read-only API token; it cannot send money. Card lock and expense memo actions are optional and off by default.

Connectors

How to Connect Brex to Cursor via MCP

Let your AI read your Brex account: cards, card and business account transactions, statements, expenses, budgets, spend limits, vendors, users and trips. Read-only API token; it cannot send money. Card lock and expense memo actions are optional and off by default.

Connectors

How to Connect Brex to Gemini via MCP

Let your AI read your Brex account: cards, card and business account transactions, statements, expenses, budgets, spend limits, vendors, users and trips. Read-only API token; it cannot send money. Card lock and expense memo actions are optional and off by default.

Connectors

How to Connect Brex to Meta Muse via MCP

Let your AI read your Brex account: cards, card and business account transactions, statements, expenses, budgets, spend limits, vendors, users and trips. Read-only API token; it cannot send money. Card lock and expense memo actions are optional and off by default.

Connectors

How to Connect Avito to ChatGPT via MCP

Let your AI work with your Avito business account: list your ads and change their prices, read views, contacts and calls statistics, check autoload uploads and their errors, the feed format and your wallet, and read Avito Messenger chats. Sending messages and changing autoload settings are optional and off by default.