连接器指南阅读约 5 分钟28 个 MCP 工具7 种语言

如何通过 MCP 将 Brex 连接到 ChatGPT

让你的 AI 读取你的 Brex 账户:卡片、卡账户和企业账户的交易、对账单、费用、预算、支出限额、供应商、用户和差旅行程。使用只读 API 令牌,无法转出资金。锁卡和费用备注操作为可选项,默认关闭。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

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.

个工具

28

区域

INTL

类别

银行

身份验证

Bearer Token

所需环境变量

BREX_API_TOKEN
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 Brex,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

让你的 AI 读取你的 Brex 账户:卡片、卡账户和企业账户的交易、对账单、费用、预算、支出限额、供应商、用户和差旅行程。使用只读 API 令牌,无法转出资金。锁卡和费用备注操作为可选项,默认关闭。

试试这样问

Brex 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Brex · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Brex、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Brex + ChatGPT

让你的 AI 读取你的 Brex 账户:卡片、卡账户和企业账户的交易、对账单、费用、预算、支出限额、供应商、用户和差旅行程。使用只读 API 令牌,无法转出资金。锁卡和费用备注操作为可选项,默认关闭。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

BREX_API_TOKEN

步骤 1 — 获取凭证

按设计无法转移资金。 这个连接器没有任何用于转账、付款、Bill Pay、ACH、电汇、支票、新开卡片或修改限额的工具,连默认关闭的也没有。即使让 AI 给某人付款,它也做不到。财务团队可以了解支出情况,而不会多出一条让资金离开账户的新通道。

  1. 以 account admin 或 card admin 身份登录 https://dashboard.brex.com,打开 Developer,再打开 Settings。如果 Brex 要求,请接受开发者 API 条款。
  2. 点击 Create Token,起一个名字,例如 AnythingMCP,并只勾选连接器使用的只读 scope: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。不需要的可以不选,对应的工具会返回 403。
  3. 绝不要勾选 transfers、incoming_transfers 或 cards.pan。它们允许软件转移资金或读取完整卡号,而这个连接器两者都不需要。
  4. 点击 Allow Access,把令牌(以 bxt_ 开头)复制到 BREX_API_TOKEN,然后安装连接器。Brex 只显示一次令牌。
  5. 用 brex_get_company 检查设置:它会显示公司的法定名称和账户类型。

只读令牌:只包含 .readonly scope 的令牌无法在 Brex 中做任何修改。

安装时关闭:brex_lock_card 和 brex_unlock_card(用于卡片丢失或疑似欺诈,持卡人会收到通知),以及 brex_update_expense_memo(写入业务用途,并覆盖原有备注)。要使用它们,管理员需创建一个额外包含 cards scope(用于卡片操作)或 expenses.card scope(用于备注)的令牌,并打开该工具。AI 会先向你显示卡片名称和末四位,或费用和新备注,等你确认后才执行。Brex 的 cards scope 还会允许其他软件开卡,这个连接器没有这样的工具。

财务数据属于敏感信息:余额、交易、费用、卡片和员工信息都是公司机密数据。只与有权查看的人共享 MCP 服务器;AI 只读取你要求的内容。完整卡号、CVC、银行账号和路由号码永远不会返回:卡片只显示末四位,账户和供应商的银行信息会被移除。

可读取的内容:公司、用户、部门和地点;带支出控制的卡片;卡账户的余额和额度、已入账的卡交易和卡对账单;企业(cash)账户及其交易和对账单;费用(卡片、Bill Pay 和报销)及收据和合规状态,用 DUE 和 OVERDUE 可以找出仍缺收据或备注的费用;预算和支出限额及已花费金额;供应商;以及 Brex Travel 的差旅行程。待处理的卡授权不包含在内,Brex 的交易入账可能会晚几天。

金额:Brex 以货币的最小单位返回金额,所以 USD 的 700 表示 7.00 USD。AI 会先换算再显示。

限制和令牌:每个账户每 60 秒最多 1,000 个请求。90 天未使用的令牌会过期,令牌所属用户不再活跃时令牌也会失效。你可以随时在 Developer、Settings 中撤销它。Brex 没有沙盒,所以连接器读取的始终是真实数据。

常见错误:401,或 403 "Invalid or Revoked Token":令牌错误、已撤销或已过期,请新建一个。只有部分工具返回 403:令牌缺少该工具的 scope,或令牌用户缺少相应的 Brex 角色(大多数数据需要 account admin)。404:这个 Brex 账户中没有该 ID。429:请等一分钟。

这个连接器不会转移资金,不会开卡或注销卡片,不会修改限额或预算,不会审批费用,不会上传收据,也不会管理用户和 webhook。

步骤 2 — 安装 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

步骤 3 — 在 ChatGPT 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

ChatGPT 在网页版的 Plugins 页面把 MCP 服务器添加为插件,仅付费套餐可用,不再需要开发者模式。在 Business 工作区中只有管理员和所有者可以添加;在 Enterprise 和 Edu 中,管理员可以授予 Create plugins with MCPs 权限。

  1. 前往 chatgpt.com/plugins,点击 +,然后选择 Add custom MCP server。
  2. 填写名称,例如 Name: Brex。
  3. 在 Connection 下的 Server URL 中填入 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,Authentication 保持为 OAuth。
  4. 选择 I understand and want to continue,然后点击 Create as a plugin。ChatGPT 提示时,登录 AnythingMCP 并允许访问。
  5. 在个人插件中安装这个新插件,然后在对话中输入 @ 并选择它。

可用工具

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

示例提示

  • “上个月有哪些卡片费用还缺收据或备注?按员工分组。”
  • “列出上个月已入账、金额超过 1,000 USD 的卡交易,附上商户、持卡人和日期。”
  • “我们 Brex 卡账户的当前余额和可用额度是多少?本期对账单什么时候结束?”
  • “哪些支出限额在本期已经用掉了超过 80% 的额度?”
  • “下周出发的 Brex Travel 行程有哪些?显示出行人、行程名称和日期。”

FAQ

ChatGPT 免费套餐能用自定义 MCP 服务器吗? OpenAI 只为付费套餐提供自定义 MCP 服务器的说明,Free 套餐不在其列。

下一步

这份指南对你有帮助吗?

你的 Brex 智能体只差一次点击。

安装连接器,粘贴密钥,向 ChatGPT 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

Brex 接入 MCP:在任意 AI 代理中只读查看卡片、费用和预算

让你的 AI 读取你的 Brex 账户:卡片、卡账户和企业账户的交易、对账单、费用、预算、支出限额、供应商、用户和差旅行程。使用只读 API 令牌,无法转出资金。锁卡和费用备注操作为可选项,默认关闭。

连接器

如何通过 MCP 将 Brex 连接到 Claude

让你的 AI 读取你的 Brex 账户:卡片、卡账户和企业账户的交易、对账单、费用、预算、支出限额、供应商、用户和差旅行程。使用只读 API 令牌,无法转出资金。锁卡和费用备注操作为可选项,默认关闭。

连接器

如何通过 MCP 将 Brex 连接到 Cursor

让你的 AI 读取你的 Brex 账户:卡片、卡账户和企业账户的交易、对账单、费用、预算、支出限额、供应商、用户和差旅行程。使用只读 API 令牌,无法转出资金。锁卡和费用备注操作为可选项,默认关闭。

连接器

如何通过 MCP 将 Brex 连接到 Gemini

让你的 AI 读取你的 Brex 账户:卡片、卡账户和企业账户的交易、对账单、费用、预算、支出限额、供应商、用户和差旅行程。使用只读 API 令牌,无法转出资金。锁卡和费用备注操作为可选项,默认关闭。

连接器

如何通过 MCP 将 Brex 连接到 Meta Muse

让你的 AI 读取你的 Brex 账户:卡片、卡账户和企业账户的交易、对账单、费用、预算、支出限额、供应商、用户和差旅行程。使用只读 API 令牌,无法转出资金。锁卡和费用备注操作为可选项,默认关闭。

连接器

如何通过 MCP 将 Avito 连接到 ChatGPT

让你的 AI 使用你的 Avito 企业账户:列出广告并修改价格,读取浏览、联系和来电统计,检查自动上传 (autoload) 的上传记录及其错误、Feed 格式和钱包,并读取 Avito Messenger 聊天。发送消息和修改自动上传设置为可选功能,默认关闭。