Brex MCP Server
Brex MCP サーバー
Brex API と統合し、AI エージェントが金融データやリソースと対話できるようにするモデル コンテキスト プロトコル (MCP) サーバー。
概要
この MCP サーバーは、AI エージェントと Brex 金融プラットフォーム間のブリッジを提供し、エージェントが次のことを実行できるようにします。
アカウント情報と取引を取得する
経費データと領収書にアクセスする
予算リソースと支出限度額を管理する
チーム情報を見る
サーバーは、MCP 仕様に準拠した標準化されたリソース ハンドラーとツールを実装し、財務データへの安全で効率的なアクセスを可能にします。
Related MCP server: YNAB MCP Server
特徴
リソース
アカウントリソース
brex://accounts- すべてのアカウントを一覧表示するbrex://accounts/{id}- 特定のアカウントの詳細にアクセスする
経費リソース
brex://expenses- ページ区切りですべての経費をリストしますbrex://expenses/{id}- 特定の経費の詳細にアクセスするbrex://expenses/card- すべてのカード経費を一覧表示するbrex://expenses/card/{id}- 特定のカード経費の詳細にアクセスする
注: 経費リソースは、販売業者と予算の情報を自動的に拡張し、ID の代わりに人間が判読できる名前を表示します。
予算リソース
brex://budgets- ページ区切りですべての予算を一覧表示しますbrex://budgets/{id}- 特定の予算の詳細にアクセスするbrex://spend_limits- すべての支出限度額を一覧表示するbrex://spend_limits/{id}- 特定の支出限度額の詳細にアクセスするbrex://budget_programs- すべての予算プログラムを一覧表示するbrex://budget_programs/{id}- 特定の予算プログラムの詳細にアクセスする
チームリソース
brex://users/me- 現在のユーザー情報を取得する
ツール
領収書管理
match_receipt- 領収書と既存の経費を照合するupload_receipt- 特定の経費の領収書をアップロードする
経費管理
update_expense- カード経費の詳細(メモ、カテゴリなど)を更新しますget_all_expenses- フィルタリングオプションと拡張された販売者/予算情報を使用してすべての経費を取得しますget_all_card_expenses- フィルタリングオプションと拡張された加盟店/予算情報を使用して、すべてのカード経費を取得します
注: セキュリティ上の理由から、予算、支出限度額、予算プログラムを作成、更新、削除するツールはこのバージョンでは実装されていません。
インストール
前提条件
Node.js v18以上
Brex API アクセストークン
設定
このリポジトリをクローンします:
git clone https://github.com/dennisonbertram/brex-mcp-server.git
cd brex-mcp-server依存関係をインストールします:
npm installBrex API トークンを使用して
.envファイルを作成します。
BREX_API_KEY=your_token_here
BREX_API_URL=https://platform.brexapis.com
PORT=3000
NODE_ENV=development
RATE_LIMIT_REQUESTS=1000
RATE_LIMIT_WINDOW_MS=60000
LOG_LEVEL=infoサーバーを構築します。
npm run buildクロードとの構成
Claude Desktop で使用するには、Claude の構成ファイルにサーバーを追加する必要があります。
macOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%\Claude\claude_desktop_config.json
Claude for Desktop を開き、Claude メニューをクリックして「設定...」を選択し、設定に移動します。
左側のサイドバーの「開発者」をクリックし、「設定の編集」をクリックします。
Brex MCP サーバー設定で構成ファイルを更新します。
{
"mcpServers": {
"brex-server": {
"command": "node",
"args": [
"/path/to/brex-mcp-server/build/index.js"
],
"env": {
"BREX_API_KEY": "your_brex_api_key_here",
"BREX_API_URL": "https://platform.brexapis.com",
"PORT": "3000",
"NODE_ENV": "development",
"RATE_LIMIT_REQUESTS": "1000",
"RATE_LIMIT_WINDOW_MS": "60000",
"LOG_LEVEL": "info"
}
}
}
}必ず次の点に注意してください:
/path/to/brex-mcp-serverサーバーをインストールした実際のパスに置き換えます。your_brex_api_key_here実際の Brex API キーに置き換えます。サーバーの場所に絶対パスを使用する
必須なのはBREX_API_KEY値とBREX_API_URL値だけです。他の環境変数には適切なデフォルトが設定されていますが、必要に応じてカスタマイズできます。
ファイルを保存し、Claude for Desktopを再起動します。
入力ボックスの右下隅にあるハンマーアイコンをチェックして、サーバーが動作していることを確認します。
発達
自動リビルドを使用した開発の場合:
npm run devコードをリントする:
npm run lintテストを実行します:
npm run testデバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。デバッグにはMCP Inspectorの使用をお勧めします。
セキュリティに関する考慮事項
このサーバーはいくつかのセキュリティ対策を実装しています。
機密性の高い財務リソースに対する読み取り専用操作
コード内に API 認証情報を保存しない
APIリクエストのレート制限
適切なエラー処理とログ記録
実施状況
詳細な実装計画とさまざまな機能のステータスについては、 documentation/implementation_plan.mdを参照してください。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
著者
デニソン・バートラム - dennison@dennisonbertram.com
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables LLMs to interact with Ramp's financial data by retrieving, analyzing, and running tasks through Ramp's Developer API, using an in-memory SQLite database to overcome token limitations.34MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI-powered interaction with YNAB (You Need A Budget) data, allowing users to query their budgets through conversational interfaces.1663140MIT
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that allows AI assistants to interact with Lunch Money accounts, enabling management of transactions, categories, budgets, and other financial data through natural language commands.MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides a secure wrapper around the Brale API, enabling AI assistants to perform stablecoin issuance, transfers, account management, and other financial operations.1MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/crazyrabbitLTC/mcp-brex-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server