Bring Corporate Cards
to Vercel AI SDK
Create your Vinkius account to connect Brex to Vercel AI SDK and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Brex MCP Server?
The Brex MCP Server bridges standard large language models directly via the platform.brexapis.com to your startup's core spend engine. By delivering a single static User Token, you enable the most flexible financial assistant available.
What you can do
- Agile Employee Onboarding —
brex_create_userdirectly provisions employees with their associated hierarchical structure. Follow it up withbrex_create_cardto hand them digital spend capacity securely limited. - Accounting Snapshots — You don't need to load the Brex dash to trace down runaway expenses. Trigger
brex_list_transactionsto pull highly contextualized raw CSV data into your AI workspace. - Accounts Payable Controls — Draft and approve external entity vendors via
brex_create_vendorand initiate routing paymentsbrex_pay_vendorseamlessly, letting internal routing protocols map out the wires.
How it works
- In your Brex settings, you can generate an immediate
User Token(typically starting withuser_token_). - This token natively identifies you and limits AI actions safely within your existing managerial permissions level.
- Drop this into your client credentials and authorize AI access.
Who is this for?
- Forward-Thinking CFOs / FinOps — Handle your routine accounting actions strictly through language.
- Startups Scaling — Automatically loop AI agents to handle corporate card provisioning to cloud instances without manual checks.
Built-in capabilities (10)
Useful for giving employees isolated cards for SaaS subscriptions. Issue a dynamic Virtual Corporate Card
You must provide a valid email, first name, and last name. Invite a new employee / user to Brex
Create a Vendor in AP (Accounts Payable)
Get main cash balance of the Brex Cash accounts
List budget programs assigned to teams
List all issued cards across the company
Sweep historical Brex card and account transactions
List all users in the Brex company account
List saved Vendors inside Brex AP
Orchestrate a vendor payment (Send Money)
Why Vercel AI SDK?
The Vercel AI SDK gives every Brex tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 10 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Brex integration everywhere
- —
Built-in streaming UI primitives let you display Brex tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Brex in Vercel AI SDK
Why run Brex with Vinkius?
The Brex connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Brex using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Brex and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Brex to Vercel AI SDK through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Brex for Vercel AI SDK
Every request between Vercel AI SDK and Brex is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Can the agent truly issue a real, functioning corporate card?
Yes! The brex_create_card logic specifically maps to creating a virtual limit card. By default, it operates completely valid via Visa/Mastercard configurations matching Brex internals. The agent handles setting its name and tying it strictly to the user id.
What acts as the final authentication key for Brex?
You only need a User Token. Brex explicitly supports personal workflow automation using user_tokens which perfectly mimic your permissions. It typically begins literally with the string user_token_ followed by hashes.
Will vendor payments via AI require external 2FA from my side?
To enforce safety in the integration, the approval_type parameter when sending vendor money defaults to 'MANUAL'. This means the AI structures all the math, formatting, routing inputs perfectly but leaves the final 'Accept' button queued on your dashboard.
How can I see my user lists across Brex?
Run a request on brex_list_users. The AI will natively stream the company's organizational tree mapping the emails to Brex UUIDs required for triggering corporate card injections.
How does the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
OneWaySMS
11 toolsSend bulk SMS messages across Asia Pacific with high delivery rates and real-time status tracking for every message.

Chattermill
11 toolsAnalyze customer feedback and sentiment via Chattermill — track AI-powered themes, monitor NPS and CSAT, and unify feedback from every channel directly from any AI agent.

Moova
14 toolsAutomate smart logistics via Moova — create shipments, track deliveries, get shipping quotes, and orchestrate carriers from any AI agent.

Apidog
5 toolsSync your Apidog workspace with your AI agent — list projects, fetch endpoint schemas, and export full OpenAPI specifications instantly.
