インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Brex をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI に Brex アカウントを読み取らせます。カード、カード口座とビジネス口座の取引、明細書、経費、予算、支出上限、取引先、ユーザー、出張を参照できます。読み取り専用の API トークンなので送金はできません。カードのロックと経費メモの更新は任意で、初期状態ではオフです。
こう聞いてみよう
Brex のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Brex をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Brex + Cursor
AI に Brex アカウントを読み取らせます。カード、カード口座とビジネス口座の取引、明細書、経費、予算、支出上限、取引先、ユーザー、出張を参照できます。読み取り専用の API トークンなので送金はできません。カードのロックと経費メモの更新は任意で、初期状態ではオフです。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
BREX_API_TOKEN
ステップ 1 — 認証情報を取得
設計上、お金を動かすことはできません。 このコネクタには、送金、支払い、請求書払い(Bill Pay)、ACH、電信送金、小切手、カードの新規発行、上限の変更を行うツールがありません。オフになっているツールとしても存在しません。AI に誰かへの支払いを頼んでも実行できません。財務チームは、口座からお金が出ていく新しい経路を作ることなく、支出について答えを得られます。
- アカウント管理者またはカード管理者として
https://dashboard.brex.comにサインインし、Developer、続いて Settings を開きます。Brex から求められたら、開発者 API の利用規約に同意します。 - Create Token をクリックし、AnythingMCP などの名前を付け、コネクタが使う読み取り専用スコープだけを選びます:
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 を返します。 transfers、incoming_transfers、cards.panは絶対に選ばないでください。これらはソフトウェアにお金の移動やカード番号全体の読み取りを許すもので、このコネクタにはどちらも必要ありません。- Allow Access をクリックし、トークン(
bxt_で始まります)をBREX_API_TOKENにコピーして、コネクタをインストールします。トークンは一度しか表示されません。 brex_get_companyで設定を確認します。会社の正式名称とアカウントの種類が表示されます。
読み取り専用トークン: .readonly スコープだけのトークンでは、Brex の内容を何も変更できません。
インストール時にオフ: brex_lock_card と brex_unlock_card(カードの紛失や不正利用の疑いがあるとき。カード保有者に通知されます)、brex_update_expense_memo(業務目的を書き込み、既存のメモを上書きします)。使うには、管理者がカード操作用の cards スコープ、またはメモ用の expenses.card スコープも付けたトークンを作成し、ツールをオンにします。AI はカード名と下 4 桁、または経費と新しいメモを示し、あなたの承認を待ちます。Brex の cards スコープは他のソフトウェアにカード発行も許しますが、このコネクタにはそのツールはありません。
財務データは機密です: 残高、取引、経費、カード、従業員の情報は会社の機密データです。MCP サーバーは閲覧を許された人とだけ共有してください。AI はあなたが尋ねたものだけを読み取ります。カード番号全体、CVC、口座番号、ルーティング番号は返されません。カードは下 4 桁のみ表示され、口座と取引先の銀行情報は取り除かれます。
読み取れるもの: 会社、ユーザー、部門、拠点。支出管理設定付きのカード。カード口座の残高と上限、確定済みのカード取引、カードの明細書。ビジネス口座(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: トークンにそのツールのスコープがないか、ユーザーに Brex のロールがありません(ほとんどのデータにはアカウント管理者が必要です)。404: その ID はこの Brex アカウントにありません。429: 1 分待ってください。
このコネクタは、お金の移動、カードの発行や解約、上限や予算の変更、経費の承認、領収書のアップロード、ユーザーと Webhook の管理は行いません。
ステップ 2 — アダプターをインストール
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 — Cursor にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Cursor は ~/.cursor/mcp.json から MCP サーバーを読み込みます。次のエントリを追加してください:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の MCP Servers → 対象のサーバー → API keys で MCP API キーを作成し、
YOUR_MCP_API_KEYと置き換えます。 - ファイルを保存し、Cursor を再起動します。
- Cursor → Settings → MCP を開き、
anythingmcpが一覧にあり接続済みであることを確認します。 - チャットを始めましょう。エージェントが
Brexのツールを呼び出せるようになりました。
利用可能なツール
| Tool | What it does |
|---|---|
brex_get_company | Read the Brex company this token belongs to: id, legal name, account type and mailing address |
brex_get_current_user | Read the Brex user who created the token: id, name, email, status, manager, department and location ids |
brex_list_users | List Brex users (employees and admins) with id, name, email, status, manager, department, location, title, cost center and legal entity ids |
brex_get_user | Read one Brex user by id: name, email, status, manager, department, location, title, cost center and legal entity ids |
brex_list_departments | List the departments set up in Brex (id, name, description) |
brex_list_locations | List the office locations set up in Brex (id, name, description) |
brex_list_cards | List Brex cards with id, name, status (ACTIVE, SHIPPED, LOCKED, TERMINATED), virtual or physical, last four digits, owner user id, budget… |
brex_get_card | Read one Brex card by id: name, status, type, last four digits, owner, budget and spend controls |
brex_lock_card | Lock a Brex card so it cannot be used, for example when it is lost or suspected of fraud |
brex_unlock_card | Unlock a locked Brex card so it can be used again |
brex_list_card_accounts | List the Brex card accounts with status, current balance, available balance, account limit and the current statement period |
brex_list_card_transactions | List settled card transactions for all Brex card accounts: description, amount, initiated and posted dates, type (PURCHASE, REFUND… |
brex_list_card_statements | List finalized statements of the primary Brex card account: statement id, period (start and end date) and start and end balance |
brex_list_cash_accounts | List Brex business (cash) accounts with id, name, status, whether it is the primary account, current and available balance |
brex_get_cash_account | Read one Brex business (cash) account by id: name, status, primary flag, current and available balance |
brex_list_cash_transactions | List transactions of one Brex business (cash) account: description, amount, type (PAYMENT, DIVIDEND, FEE, INTEREST, CARD_COLLECTION and… |
brex_list_cash_statements | List finalized statements of one Brex business (cash) account: statement id, period and start and end balance |
brex_list_expenses | List Brex expenses (card, bill pay and reimbursement) with memo, status, payment status, category, purchase date, amounts, merchant, user… |
brex_get_expense | Read one Brex expense by id with memo, status, amounts, merchant, user, budget, receipts, policy and compliance status |
brex_update_expense_memo | Set the memo of a Brex card expense, for example the business purpose |
brex_list_budgets | List Brex budgets with name, description, parent budget, owners, period (WEEKLY, MONTHLY, QUARTERLY, YEARLY, ONE_TIME), start and end date… |
brex_get_budget | Read one Brex budget by id: name, parent, owners, period, dates, amount, status and limit type |
brex_list_spend_limits | List Brex spend limits with name, status, period, dates, authorization settings (base limit and limit with increases), per-transaction… |
brex_get_spend_limit | Read one Brex spend limit by id: limits, current period balance, owners, members and settings |
brex_list_vendors | List the vendors saved in Brex with id, company name, email, phone and the payment methods on file (ACH, DOMESTIC_WIRE, CHEQUE… |
brex_get_vendor | Read one Brex vendor by id: company name, email, phone and the payment methods on file |
brex_list_trips | List Brex Travel trips with name, status, traveler, booker, start and end time and reference |
brex_get_trip | Read one Brex Travel trip by id: name, status, traveler, booker, dates and reference |
プロンプトの例
- 「先月のカード経費のうち、領収書かメモがまだないものはどれ?従業員ごとにまとめて。」
- 「先月確定したカード取引のうち 1,000 USD を超えるものを、加盟店、カード保有者、日付付きで一覧にして。」
- 「Brex のカード口座の現在の残高と利用可能額は?明細書の期間はいつ終わる?」
- 「今期の上限の 80% 以上をすでに使っている支出上限はどれ?」
- 「来週出発する Brex Travel の出張は?出張者、出張名、日程を見せて。」
FAQ
Cursor の無料プランでカスタム MCP サーバーは使えますか? はい。MCP は Hobby、Pro、Business の各プランで利用できます。
次のステップ
このガイドは役に立ちましたか?