What is Brale API MCP Server?
The Brale API MCP Server is a Model Context Protocol server that provides a secure wrapper around the Brale API for stablecoin issuance and orchestration operations. It enables AI assistants to interact with Brale API endpoints for account management, transfers, address management, and configuration, supporting both Bearer token and OAuth2 client credentials authentication. It is built with TypeScript and Zod validation and includes comprehensive error handling.
How to use Brale API MCP Server?
Clone the repository, install dependencies with npm install, and create a .env file with your Brale API credentials (BRALE_CLIENT_ID and BRALE_CLIENT_SECRET). Run the server in production with npm start or in development with npm run dev. Before using any Brale endpoints, configure authentication using the brale_auto_configure tool (for OAuth2 using environment variables) or brale_configure tool (for manual bearer token or client credentials). Then use tools such as brale_get_accounts, brale_get_transfers, brale_create_account, brale_create_transfer, brale_get_automations, and others to interact with Brale API.
Key features of Brale API MCP Server
- Secure authentication via Bearer token and OAuth2 client credentials
- Type-safe with TypeScript and Zod validation
- Comprehensive error handling with meaningful messages
- Runtime configuration of API credentials
- Focus on read-only operations for safe data retrieval
- Auto token refresh with 5-minute buffer for OAuth2
Use cases of Brale API MCP Server
- AI assistant retrieving account details and balances for stablecoin accounts
- Automating transfer creation between accounts, addresses, or financial institutions
- Managing external financial institutions (bank accounts) for ACH/wire transfers
- Setting up automated deposit addresses or onramps via automations
- Creating new customer accounts with KYB details for stablecoin issuance
Comments