Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoThe port number for the server3000
NODE_ENVNoThe Node.js environmentdevelopment
LOG_LEVELNoThe logging levelinfo
BREX_API_KEYYesYour Brex API access token
BREX_API_URLNoThe Brex API URLhttps://platform.brexapis.com
RATE_LIMIT_REQUESTSNoThe maximum number of requests allowed within the rate limit window1000
RATE_LIMIT_WINDOW_MSNoThe time window in milliseconds for rate limiting60000

Tools

Functions exposed to the LLM to take actions

NameDescription
get_transactions

Get transactions for a Brex account

get_expenses

Get expenses from Brex

get_account_details

Get detailed information about a Brex account

upload_receipt

Upload a receipt image to match with expenses

match_receipt

Create a pre-signed URL for uploading a receipt that will be automatically matched with existing expenses

update_expense

Update an existing card expense

get_all_accounts

Get all Brex accounts with pagination support

get_all_expenses

Get all Brex expenses with pagination and filtering support

get_all_card_expenses

Get all Brex card expenses with pagination and filtering support

Prompts

Interactive templates invoked by user choice

NameDescription
summarize_transactionsSummarize transactions for a Brex account
summarize_expensesSummarize expenses by category and status

Resources

Contextual data attached and managed by the client

NameDescription
Brex AccountsList of all Brex accounts
Brex Card AccountsList of all Brex card accounts
Brex Cash AccountsList of all Brex cash accounts
Brex Primary Cash AccountBrex primary cash account details
Brex Card TransactionsList of all Brex card transactions
Brex ExpensesList of all Brex expenses
Brex Card ExpensesList of all Brex card expenses
Brex BudgetsList of all Brex budgets
Brex Spend LimitsList of all Brex spend limits
Brex Budget ProgramsList of all Brex budget programs

Latest Blog Posts

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/MCP-Mirror/crazyrabbitLTC_mcp-brex-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server