Skip to main content
Glama

Galactic Bridge MCP

An MCP server that lets AI agents and MCP clients (Claude Desktop, Cursor, …) use Galactic Bridge to find LayerZero OFT bridge routes by token contract address and build ready-to-sign cross-chain transactions across 14 EVM networks — including tokens that aren't listed on aggregators like Stargate.

By default this server is read-only. It finds routes and builds transactions, but it never holds a key and never signs anything — a human or wallet does that. Auto-signing is an optional add-on you turn on yourself (see the bottom).

What it does

It talks only to the public Galactic Bridge API — the same endpoints the website calls. It does not run on the bridge's servers and changes nothing there.

Tools

Tool

What it does

list_supported_networks

The 14 networks, with chain key, chainId, LayerZero eid and native symbol.

scan_token_networks

Given a token address, every network it exists on and its OFT contract on each.

find_bridge_route

Resolves a route between two networks: OFT contract, whether the direction is enabled right now, the fee, and — with amount + recipient — a ready-to-sign transaction (plus an ERC-20 approval when the token bridges through a separate adapter).

find_bridge_route never signs or sends. It returns transaction objects ({ to, data, value, chainId }) for you to review and sign in your own wallet.

Related MCP server: Universal Crypto MCP

Install

Requires Node.js 18+.

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "galactic-bridge": {
      "command": "npx",
      "args": ["-y", "galactic-bridge-mcp"]
    }
  }
}

Cursor / other MCP clients

Point the client at the command npx -y galactic-bridge-mcp (stdio transport).

From source

git clone https://github.com/mckellen-eth/galactic-bridge-mcp.git
cd galactic-bridge-mcp
npm install
npm run build
node dist/index.js

Example

"Bridge 50 of token 0x90e7…d9e1 from BNB Chain to Arc, to my address 0xABC…"

The agent calls find_bridge_route and gets back a ready transaction plus the fee. You review it and sign in your wallet. If the token uses a separate adapter, you'll also get an approval transaction to sign first.

Safety

  • No keys by default. The read-only tools never see a private key.

  • You sign. Transactions are returned for review; your wallet signs them.

  • Fees and decimals are read live, so amounts are exact. Directions that a token has disabled are reported instead of returning a transaction that would revert.

Always verify a transaction before signing. This software is provided as-is, with no warranty (MIT).


Optional: auto-signing (advanced)

You can let the server sign and broadcast transactions itself by setting a private key in your environment. This moves real funds irreversibly and is off by default. Only enable it if you understand the risk, and use a dedicated hot wallet that holds no more than you can afford to lose.

{
  "mcpServers": {
    "galactic-bridge": {
      "command": "npx",
      "args": ["-y", "galactic-bridge-mcp"],
      "env": {
        "GB_PRIVATE_KEY": "0xyourHotWalletKey"
      }
    }
  }
}

When GB_PRIVATE_KEY is set, an extra tool appears — execute_bridge — which builds, signs and broadcasts the bridge transaction (and the approval first, if needed). It needs the optional ethers package (npm install ethers) and, for networks without a built-in public RPC, an override like GB_RPC_BSC=….

Without GB_PRIVATE_KEY, none of this loads and the server stays read-only.

Configuration

Variable

Purpose

GB_API_URL

Override the bridge API base URL (default https://galacticbridge.app).

GB_PRIVATE_KEY

Opt in to auto-signing. Unset = read-only.

GB_RPC_<CHAIN>

RPC URL used by auto-signing for that chain (e.g. GB_RPC_ARC).

Available Tools

3 tools
find_bridge_routeA

Resolve the bridge route for a token between two networks: the OFT contract, whether the direction is enabled right now, the fee, and — if amount and recipient are given — a ready-to-sign transaction (plus an ERC-20 approval transaction when the token bridges through a separate adapter). This tool NEVER signs or sends; it returns transactions for a human or wallet to review and sign.

Inputs: token (required), toChain (required), fromChain (required), amount, +3 more.

list_supported_networksA

List the EVM networks Galactic Bridge supports, with their chain key, chainId, LayerZero endpoint id (eid) and native gas symbol. Use the key values when calling the other tools.

Inputs: no named parameters.

scan_token_networksA

Given a token contract address, find every supported network the token exists on and its OFT bridge contract on each. Useful to discover where a token can be bridged from and to before resolving a specific route.

Inputs: token (required), fromChain.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool addresses a distinct step in the bridge workflow: listing supported chains, discovering token deployments, and resolving a specific route. There is no meaningful overlap between the three tools.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern: list_supported_networks, scan_token_networks, find_bridge_route. The naming style and verb usage are uniform across the set.

    Tool Count5/5

    Three tools is a well-scoped and appropriate size for this server's purpose. Each tool covers a necessary leg of the bridge-route discovery process without redundancy.

    Completeness5/5

    The tool set fully covers the intended discovery workflow: knowing supported networks, locating a token on those networks, and resolving an executable bridge route. The explicit decision not to sign/send transactions is a stated boundary, not a gap.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to perform cross-chain bridging operations using natural language intents, with support for multiple protocols (Across, Stargate) and advanced security features like oracle validation and slippage protection. Provides comprehensive bridging tools including quote estimation, transaction building, and approval management across Arbitrum and Ethereum networks.
      MIT
    • F
      license
      C
      quality
      B
      maintenance
      Enables AI agents to interact with any EVM-compatible blockchain through natural language, supporting token swaps, cross-chain bridges, staking, lending, governance, gas optimization, and portfolio tracking across networks like Ethereum, BSC, Polygon, Arbitrum, and more.
      100
      41 npm
      44
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to perform blockchain operations like wallet management, token info, DeFi swaps, cross-chain bridging, and price checking across Ethereum, BNB Chain, and Solana.
      ISC
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI agents to perform gasless cross-chain transactions by paying with supported tokens on one chain and executing on another, all without exposing private keys.
      19
      34 npm
      1
      Apache 2.0