Skip to main content
Glama
persistenceone-bridgekitty

persistenceone-bridgekitty

Official

BridgeKitty 🐱

面向 AI 代理的跨链桥聚合器 MCP 服务器。一个服务器,5 个桥接后端,提供跨 EVM、Solana 和 Cosmos 链的最佳路由。

BridgeKitty 为 AI 代理(Claude、Cursor、GPT 或任何兼容 MCP 的 AI)提供了查找和执行跨链桥接转账的能力——具备自动路由优化、费用比较、余额检查和安全警告功能。

最新 npm 版本: @persistenceone/bridgekitty@0.3.9

v0.3.9 更新内容

  • 提取 XPRT 工具 — 质押、奖励和挖矿工具已移至独立的 xprt-farming-toolkit 包中

  • 移除 Persistence Interop 后端 — BridgeKitty 现在专注于 5 个后端(deBridge、Relay、LI.FI、Across、Squid)的桥接聚合

  • 精简表面积 — 工具更少,代理的范围更清晰

  • sign_and_send 参数 — 代理现在可以使用本地存储的钱包密钥直接签名并广播交易

  • 完整的 EVM 签名支持 — 适用于所有 EVM 后端(Across、Relay、LI.FI、Squid、deBridge)+ Persistence Interop (EIP-712)

  • 模拟修复 — ERC20 桥接现在可以在新钱包上正常工作(之前因过早模拟而被阻止)

  • Solana 签名 — 将在下个版本中推出

  • Solana 支持 — EVM ↔ Solana 双向桥接(原生 SOL 交付,非封装代币)

  • Cosmos 支持 — 通过 Squid (Axelar) 实现 EVM → Persistence/Cosmos Hub

  • 协议费用透明度 — deBridge fixFee、运营费用和总成本在每次报价中均可见

  • 余额警告 — 当钱包无法支付桥接金额 + 协议费用 + Gas 时发出警告

  • XPRT 质押 — 直接从 MCP 服务器进行质押/取消质押/领取奖励

  • 挖矿乘数 — 从奖励 API 跟踪您的质押等级 (1x → 3x → 5x)

  • 报价自动刷新 — 过期的报价在执行时会自动重新获取(60秒过期)

  • ERC-20 授权 — 始终为代币桥接生成(Relay + deBridge)

  • 桥接状态跟踪 — 当提供商 API 尚未索引时提供链上回退

Related MCP server: LI.FI MCP Server

支持的桥接

后端

类型

链

优势

deBridge (DLN)

直接

EVM + Solana

基于意图的快速填充,支持 Solana

Relay

直接

EVM + Solana

无协议费用,Gas 优化

LI.FI

聚合器

EVM

覆盖范围最广(30+ 个桥,任意对任意交换)

Across

直接

EVM

填充速度最快(约 6 秒),同代币桥接

Squid (Axelar)

聚合器

EVM + Cosmos

EVM → Cosmos 路由的唯一选择

桥接方向

方向

后端

状态

EVM → EVM

全部 5 个

✅ 生产环境

EVM → Solana

deBridge, Relay

✅ 生产环境

Solana → EVM

deBridge

✅ 生产环境

EVM → Cosmos

Squid

✅ 生产环境

快速入门

npx (无需安装)

npx @persistenceone/bridgekitty

Claude Code

添加到您的 MCP 配置 (~/.claude/claude_code_config.json):

{
  "mcpServers": {
    "bridgekitty": {
      "command": "npx",
      "args": ["@persistenceone/bridgekitty"]
    }
  }
}

Cursor IDE

添加到 Cursor 的 MCP 设置(设置 > MCP 服务器):

{
  "bridgekitty": {
    "command": "npx",
    "args": ["@persistenceone/bridgekitty"]
  }
}

Claude Desktop

添加到 claude_desktop_config.json:

{
  "mcpServers": {
    "bridgekitty": {
      "command": "npx",
      "args": ["@persistenceone/bridgekitty"]
    }
  }
}

钱包设置

BridgeKitty 可以管理用于自主桥接的钱包。运行 wallet_setup 为 EVM、Cosmos 和 Solana 创建钱包,或者在报价中提供您自己的地址。

钱包配置存储在 ~/.bridgekitty/.env(或您运行所在的目录)中。密钥永远不会离开本地机器。

变量

描述

PRIVATE_KEY

EVM 私钥 (十六进制)

MNEMONIC

BIP-39 助记词 (派生 EVM、Cosmos、Solana 密钥)

SOLANA_PRIVATE_KEY

Solana 私钥 (base58)

交易签名

默认情况下,bridge_execute 返回未签名的交易,供代理或用户在外部签名。

设置 sign_and_send: true 以启用自主签名 — BridgeKitty 将使用存储在 ~/.bridgekitty/.env 中的钱包密钥来处理整个流程:

  1. 授权 — 发送 ERC-20 授权交易(如果需要)

  2. 重建 — 使用更新后的 nonce 重新获取桥接交易(如果已发送授权)

  3. 模拟 — 运行 eth_estimateGas 预检检查

  4. 签名 — 使用本地私钥对交易进行签名

  5. 广播 — 提交到链上并返回交易哈希 + 区块浏览器链接

可选 API 密钥

变量

描述

LIFI_API_KEY

LI.FI API 密钥 (更高的速率限制)

DEBRIDGE_API_KEY

deBridge API 密钥

SQUID_INTEGRATOR_ID

Squid 集成商 ID

MCP 工具

核心桥接工具

工具

描述

bridge_get_quote

从所有后端获取竞争性报价。显示费用、时间估算、余额警告。

bridge_execute

根据报价构建交易。处理授权,自动刷新过期报价。设置 sign_and_send: true 以自动签名并广播。

bridge_status

跟踪桥接进度。当 API 尚未索引时提供链上回退。

bridge_chains

列出支持的链及提供商覆盖范围。

bridge_tokens

在链上搜索代币。

多跳与发现

工具

描述

bridge_quote_multi

当没有直接路由时进行多跳路由解析。

bridgekitty_help

带有示例和工具用法的代理入门指南。

xprt_onboard

针对首次用户的引导式入门流程。

钱包工具

工具

描述

wallet_setup

从单个助记词创建 EVM、Cosmos、Solana 钱包。

wallet_import

从助记词或私钥导入现有钱包。

wallet_status

显示已配置的钱包地址和密钥来源。

wallet_balance

使用 USD 价格 (CoinGecko) 检查所有链的余额。

XPRT 质押与挖矿 已移至独立的 xprt-farming-toolkit 包中。

示例:将 USDC 从 Base 桥接到 Arbitrum

默认(未签名交易)

Agent: "Bridge 100 USDC from Base to Arbitrum"

→ bridge_get_quote: Gets quotes from deBridge, Relay, LI.FI, Across
→ Shows: best rate, fees, estimated time, balance check
→ bridge_execute: Builds approval tx + bridge tx
→ Agent signs and sends both transactions
→ bridge_status: Tracks until destination confirmed

使用 sign_and_send(自主签名)

Agent: "Bridge 100 USDC from Base to Arbitrum"

→ bridge_get_quote: Gets quotes from all backends
→ bridge_execute with sign_and_send: true
  → Auto-signs approval tx + bridge tx using local wallet keys
  → Returns tx hash + explorer link
→ bridge_status: Tracks until destination confirmed

架构

Agent → MCP Tools → Routing Engine → [deBridge, Relay, LI.FI, Across, Squid]
                         ↓
                   Quote Cache (60s) + Circuit Breaker
                         ↓
                   Best Quote → buildTransaction
                         ↓
              ┌──────────┴──────────┐
              ↓                     ↓
        Unsigned TX          Signed + Broadcast
         (default)            (sign_and_send)
  • 路由引擎: 来自所有后端的并行报价,按输出金额排名

  • 断路器: 自动跳过故障后端,逐步恢复

  • 代币注册表: 45+ 个经过验证的代币,每条链都有规范地址

  • Gas 估算器: 具有多 RPC 故障转移功能的链感知 Gas 成本估算

  • 余额检查器: 在执行前验证代币 + 原生余额以支付费用

  • 费用透明度: 协议费用(deBridge fixFee、运营费用)在每次报价中均会显示

安全性

  • 仅精确金额授权(从不无限授权)

  • 执行前进行交易模拟

  • 经过验证的代币注册表可防止地址欺骗

  • MCP 协议中不包含私钥 — 代理在外部对交易进行签名

  • sign_and_send 仅使用本地存储的密钥(从不通过网络传输)

  • 断路器防止级联故障

  • 错误消息已清理(无密钥/路径泄露)

  • .env 文件权限检查 + 覆盖保护

已知限制

  • Solana → EVM 返回用于外部签名的序列化交易(无自动执行)

  • Relay 状态跟踪 对于已完成的跨链桥接可能显示“未知”

  • Solana SPL 代币 尚未在 wallet_balance 中显示(仅限原生 SOL)

  • Cosmos → EVM 桥接尚不支持(仅支持 EVM → Cosmos)

许可证

MIT

Available Tools

12 tools
bridge_chainsA

List supported chains for cross-chain bridging. Shows which providers support each chain. Chains are deduplicated and grouped by ecosystem: EVM, Cosmos, and Solana. Use 'search' parameter to filter by chain name. Use this to discover available routes before calling bridge_get_quote.

Inputs: search.

bridge_executeA

Get the unsigned transaction data to execute a cross-chain bridge transfer. Supports all providers: LI.FI, Squid Router, deBridge, Across, Relay, Persistence Interop. By default returns unsigned transaction(s) for the agent/user to sign and send. Set sign_and_send=true to sign and broadcast using the locally-stored wallet key (requires wallet_setup). Preconditions: Call bridge_get_quote first and pass the quoteId. Ensure sufficient gas on source chain. If an approval is needed (unsigned mode), send the approvalTransaction first, then the main transaction. After execution, use bridge_status with the returned trackingId to monitor progress.

Inputs: quoteId (required), slippage, sign_and_send.

bridge_get_quoteA

Get the best cross-chain bridge quote across multiple providers (LI.FI, Squid Router, deBridge, Across, Relay, Persistence Interop). Supports EVM chains, Cosmos chains (Persistence, Cosmos Hub), and Solana. Accepts token symbols (e.g. 'USDC', 'ETH', 'WBTC', 'XPRT', 'ATOM') or contract addresses (0x...). Symbols are resolved to verified canonical addresses only — no unverified tokens. Returns ranked options by output amount, speed, and fees. Includes failedProviders array showing which providers didn't return quotes and why. Preconditions: None for quoting. Use bridge_execute to act on a quote. Error codes: 'Token resolution failed' (unknown symbol), 'Rate limited' (too many requests), 'Validation error' (invalid params).

Inputs: amount (required), toChain (required), toToken (required), fromChain (required), +5 more.

bridgekitty_helpA

Get help and guidance on using BridgeKitty. Topics: overview (default), bridging, farming, wallet, troubleshooting. Returns structured guides with recommended tool sequences and common pitfalls.

Inputs: topic.

bridge_quote_multiA

Get quotes for multi-hop routes across supported EVM chains. Resolves optimal path internally -- e.g., ETH on Base to USDC on Arbitrum may route through WBTC. Returns the full route as ordered hops with per-hop detail. Note: For Cosmos destinations (Persistence, Cosmos Hub), use xprt_farm_boost or bridge_get_quote with Squid Router.

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

bridge_statusA

Check the status of a cross-chain bridge transfer. Supports all providers: LI.FI, Squid Router, deBridge, Across, Relay, Persistence Interop. Provide the tracking ID from bridge_execute, or a transaction hash with provider name. Returns: status (pending/in_progress/completed/failed), source/destination tx hashes, elapsed time, and estimated remaining time.

Inputs: txHash, toChain, provider, fromChain, +1 more.

bridge_tokensA

List popular tokens available for bridging on a given chain. Returns verified token symbols, contract addresses, and decimals. Supports EVM chains and Cosmos chains (Persistence, Cosmos Hub). Use token symbols or addresses from this list in bridge_get_quote.

Inputs: chain (required), search.

wallet_balanceA

Check wallet balances across EVM, Cosmos, and Solana chains. Returns native token balances AND key ERC-20 token balances (USDC, USDT, WETH, WBTC, cbBTC, BTCB) by default. Uses multiple RPCs with automatic failover. Returns per-token balance, USD value (via CoinGecko), and total portfolio value. Call this before any bridging or farming operation to verify sufficient funds and gas.

Inputs: chains, tokens, includeUsd, includeTokens.

wallet_importA

Import existing keys. Alternative: edit ~/.bridgekitty/.env directly (MNEMONIC=, PRIVATE_KEY=0x). Mnemonic gives EVM + Persistence + Solana; privateKey alone gives EVM only. Use wallet_status to check current state.

Inputs: mnemonic, overwrite, privateKey.

wallet_setupA

Create wallets for all supported chains (EVM, Cosmos, Solana). Keys saved to ~/.bridgekitty/.env. Use wallet_status first to check if already configured.

Inputs: no named parameters.

wallet_statusA

Check if a wallet is configured. Returns wallet address, key status, and config file location. Call this FIRST before wallet_setup or wallet_import.

Inputs: no named parameters.

xprt_onboardA

Personalized onboarding for XPRT farming. Detects current wallet state and returns an ordered action plan to go from your current position to actively farming XPRT rewards.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool targets a distinct function: quoting, executing, status checking, chain/token discovery, and wallet operations. The two quote tools (single-hop vs multi-hop) are clearly differentiated by descriptions, eliminating ambiguity.

    Naming Consistency4/5

    All tools use snake_case and follow a domain_verb pattern (bridge_get_quote, wallet_balance). Minor deviations like bridge_quote_multi and xprt_onboard are still readable and predictable, with no mixed conventions.

    Tool Count5/5

    12 tools is well within the ideal scope for a cross-chain bridging and wallet management server. Each tool contributes to the core workflows of quoting, executing, tracking, and wallet setup.

    Completeness4/5

    The bridging lifecycle is covered (quote, execute, status, token/chain discovery, multi-hop), and wallet management is complete (setup, import, balance, status). Onboarding and help tools fill gaps, though farming-specific execution tools are absent.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that delivers real-time cross-chain bridge rates and optimal transfer routes to onchain AI agents.
      5
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with LI.FI's cross-chain infrastructure, providing access to blockchain networks, token data, bridges, and transaction services through a standardized protocol.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables cross-chain cryptocurrency swap quotes and operations using the deBridge DLN protocol. Provides read-only access to swap estimates, supported chains, token information, and order status tracking across multiple blockchain networks.
      1
      -
    • A
      license
      A
      quality
      C
      maintenance
      Provides cross-chain bridge and swap tools for AI agents using the Relay Protocol to interact with multiple blockchain networks. It enables agents to query supported chains, obtain transaction quotes, and generate unsigned transaction data for token transfers and swaps.
      10
      5
      MIT