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.
7 天免费 · 无需信用卡 · EU 托管
问 Brex 任何事
通过 AnythingMCP 对 Brex 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 BrexClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 Brex。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 Brex
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
Brex
This connector reads one Brex account through the official Brex API (https://api.brex.com): company, users, departments, locations, cards, card and cash accounts, card and cash transactions, statements, expenses, budgets, spend limits, vendors and Brex Travel trips. Three small admin actions are included and installed switched off: lock a card, unlock a card and set an expense memo.
It cannot send money, by design. There is no tool for transfers, payments, payouts, bill payments, ACH, wires, checks, card creation or limit changes, not even a switched-off one. Asking the model to pay someone will not work.
Setup (about 5 minutes, Brex account admin or card admin)
- Sign in to https://dashboard.brex.com and open Developer, then Settings (accept the developer API terms if Brex asks).
- Click Create Token, give it a name such as AnythingMCP and select only the read-only scopes this 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. - Do not select
transfers,incoming_transfers,cards.panor any other write scope unless you want the switched-off admin actions below. - Click Allow Access, copy the token (it starts with
bxt_) intoBREX_API_TOKENand install. Brex shows it only once. - Run
brex_get_companyto check.
Read-only by default. A token with only .readonly scopes cannot change anything in Brex. To use the admin actions, create a token that also has cards (for brex_lock_card and brex_unlock_card) or expenses.card (for brex_update_expense_memo) and switch those tools on in the connector. Brex's cards scope would also let other software create cards; this connector has no such tool.
Financial data is sensitive. Balances, transactions, expenses, card details and employees are confidential company data. Share this MCP server only with people allowed to see them, read only what the user asks for and do not copy it elsewhere. Card numbers, CVCs and bank account and routing numbers are never returned: the tools only show the last four card digits and drop bank details.
Writes: confirm first. Before brex_lock_card, brex_unlock_card or brex_update_expense_memo, show the user what will change (card name and last four digits, or expense and new memo) and wait for a clear yes.
How to work
- Who and where:
brex_get_company,brex_get_current_user,brex_list_users,brex_get_user,brex_list_departments,brex_list_locations. - Cards:
brex_list_cards,brex_get_card; admin actionsbrex_lock_card,brex_unlock_card. - Card spend:
brex_list_card_accounts(balances and limit),brex_list_card_transactions(settled card transactions, filter with posted_at_start),brex_list_card_statements. - Business account:
brex_list_cash_accounts,brex_get_cash_account,brex_list_cash_transactions,brex_list_cash_statements. - Expenses:
brex_list_expenses(use compliance_status DUE or OVERDUE to find missing receipts or memos),brex_get_expense,brex_update_expense_memo. - Budgets and limits:
brex_list_budgets,brex_get_budget,brex_list_spend_limits,brex_get_spend_limit. - Vendors and travel:
brex_list_vendors,brex_get_vendor,brex_list_trips,brex_get_trip.
Amounts are objects {amount, currency} in the smallest unit of the currency: {"amount": 700, "currency": "USD"} is 7.00 USD. Divide by 100 for USD and EUR before showing them.
Paging: list tools answer with next_cursor and items. Pass cursor = next_cursor for the next page; it is null on the last page. limit is up to 1000 (expenses up to 100).
Limits and tokens: Brex allows 1,000 requests per 60 seconds per account; a 429 means wait a minute. A token that is not used for 90 days expires, and a token stops working when its user is no longer active. Revoke it any time under Developer, Settings.
Common errors
- 403 "Invalid or Revoked Token" (or 401): the token is wrong, revoked or expired. Create a new one.
- 403 on some tools only: the token lacks the scope of that tool, or the token's user lacks the Brex role (most data needs an account admin).
- 404: the id does not exist in this Brex account.
Out of scope: moving money of any kind, issuing or terminating cards, changing limits or budgets, approving expenses, uploading receipts, managing users and webhooks. There is no sandbox: Brex only offers production.