Skip to main content
Glama
Bridge MCP Server
by lnflash

Bridge MCP Server

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.

Features

  • 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

Related MCP server: Stables MCP Server

Installation

npm install @lnflash/bridge-mcp

Or clone and build from source:

git clone https://github.com/lnflash/bridge-mcp.git
cd bridge-mcp
npm install
npm run build

Configuration

Set 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"

Usage with Claude Desktop

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"
      }
    }
  }
}

Available Tools

Customer Operations

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

Wallet Operations

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

Virtual Account Operations

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

Transfer Operations

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

External Account Operations

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

Webhook Operations

Tool

Description

bridge_create_webhook

Create a webhook endpoint

bridge_list_webhooks

List all webhook endpoints

Utility

Tool

Description

bridge_get_exchange_rates

Get current exchange rates

Example Workflows

On-ramp: Fiat to Stablecoin

  1. Create a customer: bridge_create_customer

  2. Create a wallet: bridge_create_wallet (e.g., Solana)

  3. Create a virtual account: bridge_create_virtual_account (USD → USDC)

  4. Share the bank details with the customer to deposit fiat

  5. Bridge auto-converts and sends USDC to the wallet

Off-ramp: Stablecoin to Fiat

  1. Create external account: bridge_create_external_account (link bank)

  2. Create transfer: bridge_create_transfer (bridge_wallet → ach)

  3. Monitor status: bridge_get_transfer

Supported Currencies

Fiat

  • USD (ACH, Wire)

  • EUR (SEPA)

  • MXN (SPEI)

  • BRL (PIX)

  • GBP

Stablecoins

  • USDC

  • USDB (Bridge's native stablecoin)

  • EURC

Blockchains

  • Ethereum

  • Polygon

  • Solana

  • Base

Development

# Watch mode
npm run dev

# Build
npm run build

# Run
npm start

License

MIT

Available Tools

18 tools
bridge_create_customerA

Create a new customer (individual or business) for KYC/KYB onboarding

Inputs: type (required), email (required), city, phone, +8 more.

bridge_create_external_accountB

Link an external bank account to a customer for payouts

Inputs: currency (required), customer_id (required), account_type (required), account_owner_name (required), +6 more.

bridge_create_transferC

Create a transfer to move money (fiat-to-crypto, crypto-to-fiat, or crypto-to-crypto)

Inputs: on_behalf_of (required), source_currency (required), source_payment_rail (required), destination_currency (required), +13 more.

bridge_create_virtual_accountB

Create a virtual account (fiat deposit address) that auto-converts to stablecoins

Inputs: customer_id (required), source_currency (required), destination_chain (required), destination_currency (required), +4 more.

bridge_create_walletA

Create a custodial wallet for a customer on a specific blockchain

Inputs: chain (required), customer_id (required), idempotency_key.

bridge_create_webhookA

Create a webhook endpoint to receive Bridge events

Inputs: url (required), event_epoch (required), idempotency_key, event_categories.

bridge_get_customerA

Get a customer by ID

Inputs: customer_id (required).

bridge_get_exchange_ratesA

Get current exchange rates between currencies

Inputs: no named parameters.

bridge_get_external_accountA

Get an external account by ID

Inputs: customer_id (required), external_account_id (required).

bridge_get_transferB

Get a transfer by ID

Inputs: transfer_id (required).

bridge_get_virtual_accountA

Get a virtual account by ID

Inputs: customer_id (required), virtual_account_id (required).

bridge_get_walletC

Get a wallet by ID

Inputs: wallet_id (required), customer_id (required).

bridge_list_customersB

List all customers with optional pagination

Inputs: limit, cursor.

bridge_list_external_accountsA

List all external accounts for a customer

Inputs: customer_id (required).

bridge_list_transfersB

List transfers with optional filtering by customer

Inputs: limit, cursor, customer_id.

bridge_list_virtual_accountsA

List all virtual accounts for a customer

Inputs: customer_id (required).

bridge_list_walletsA

List all wallets for a customer

Inputs: customer_id (required).

bridge_list_webhooksA

List all webhook endpoints

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 18 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action (create/get/list per entity). There is no overlap between customers, wallets, virtual accounts, transfers, external accounts, webhooks, and exchange rates, making selection unambiguous.

    Naming Consistency5/5

    All tools follow a consistent bridge_verb_noun pattern. Verbs are limited to create, get, and list, and nouns are consistently singular for get/create and plural for list operations, except for exchange_rates which is naturally plural.

    Tool Count4/5

    With 18 tools, the server is slightly above the typical 3-15 range but each tool corresponds to a necessary operation across seven distinct resource types. The count is justified for a payment-focused API, though it feels a bit heavy.

    Completeness3/5

    Core create/get/list operations are covered for most resources, but update and delete actions are missing across the board. Notably, webhooks only have create and list, lacking get and delete. These gaps could hinder full lifecycle management for an agent.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      B
      maintenance
      Enables AI assistants to interact with BlindPay's stablecoin payment infrastructure, allowing users to create receivers, process payouts and payins across multiple blockchains, manage virtual accounts and wallets, and configure payment operations through natural language.
      93
      442 npm
      10
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding agents to add stablecoin checkout, payment links, payment status checks, webhook verification, and webhook-based entitlement logic to applications. It also provides tools for workspace registration, settlement and webhook configuration, paylink creation, and crypto payment status checks.
      -
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding agents to add stablecoin checkout, payment links, payment status checks, webhook verification, and webhook-based access logic to applications. It provides tools for registering workspaces, configuring settlement wallets and webhooks, creating paylinks, and verifying crypto payment status.
      MIT