An MCP (Model Context Protocol) server that wraps the Bridge.xyz stablecoin infrastructure API, enabling AI assistants to interact with Bridge's payment and stablecoin services.
- Customer Management: Create and manage individual/business customers with KYC/KYB
- Wallet Operations: Create custodial wallets on Solana, Ethereum, Polygon, and Base
- Virtual Accounts: Set up fiat deposit addresses that auto-convert to stablecoins
- Transfers: Move money between fiat and crypto (on-ramp, off-ramp, crypto-to-crypto)
- External Accounts: Link bank accounts for payouts
- Webhooks: Subscribe to Bridge events
- Exchange Rates: Get current conversion rates
npm install @lnflash/bridge-mcpOr clone and build from source:
git clone https://github.com/lnflash/bridge-mcp.git
cd bridge-mcp
npm install
npm run buildSet your Bridge API key as an environment variable:
export BRIDGE_API_KEY="your-api-key-here"
# Optional: Use sandbox environment
export BRIDGE_BASE_URL="https://api.sandbox.bridge.xyz/v0"Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"bridge": {
"command": "npx",
"args": ["@lnflash/bridge-mcp"],
"env": {
"BRIDGE_API_KEY": "your-api-key-here"
}
}
}
}Or if installed locally:
{
"mcpServers": {
"bridge": {
"command": "node",
"args": ["/path/to/bridge-mcp/dist/index.js"],
"env": {
"BRIDGE_API_KEY": "your-api-key-here"
}
}
}
}| Tool | Description |
|---|---|
bridge_create_customer |
Create a new individual or business customer |
bridge_get_customer |
Get customer details by ID |
bridge_list_customers |
List all customers with pagination |
| Tool | Description |
|---|---|
bridge_create_wallet |
Create a custodial wallet on a blockchain |
bridge_get_wallet |
Get wallet details |
bridge_list_wallets |
List all wallets for a customer |
| Tool | Description |
|---|---|
bridge_create_virtual_account |
Create a fiat deposit address that auto-converts to stablecoins |
bridge_get_virtual_account |
Get virtual account details |
bridge_list_virtual_accounts |
List all virtual accounts for a customer |
| Tool | Description |
|---|---|
bridge_create_transfer |
Create a transfer (fiat↔crypto, crypto↔crypto) |
bridge_get_transfer |
Get transfer status |
bridge_list_transfers |
List transfers with optional filtering |
| Tool | Description |
|---|---|
bridge_create_external_account |
Link a bank account for payouts |
bridge_get_external_account |
Get external account details |
bridge_list_external_accounts |
List all external accounts for a customer |
| Tool | Description |
|---|---|
bridge_create_webhook |
Create a webhook endpoint |
bridge_list_webhooks |
List all webhook endpoints |
| Tool | Description |
|---|---|
bridge_get_exchange_rates |
Get current exchange rates |
- Create a customer:
bridge_create_customer - Create a wallet:
bridge_create_wallet(e.g., Solana) - Create a virtual account:
bridge_create_virtual_account(USD → USDC) - Share the bank details with the customer to deposit fiat
- Bridge auto-converts and sends USDC to the wallet
- Create external account:
bridge_create_external_account(link bank) - Create transfer:
bridge_create_transfer(bridge_wallet → ach) - Monitor status:
bridge_get_transfer
- USD (ACH, Wire)
- EUR (SEPA)
- MXN (SPEI)
- BRL (PIX)
- GBP
- USDC
- USDB (Bridge's native stablecoin)
- EURC
- Ethereum
- Polygon
- Solana
- Base
# Watch mode
npm run dev
# Build
npm run build
# Run
npm startMIT