persistenceone-bridgekitty
Cross-chain bridge aggregator MCP server for AI agents. Compares routes across LI.FI, deBridge, Relay, Across and Squid to find the best rate. Use when an agent needs to bridge or swap tokens between EVM chains, Solana, or Cosmos. The aggregator of aggregators.
README
BridgeKitty 🐱
Cross-chain bridge aggregator MCP server for AI agents. One server, 5 bridge backends, best routes across EVM, Solana, and Cosmos chains.
BridgeKitty gives AI agents (Claude, Cursor, GPT, or any MCP-compatible AI) the ability to find and execute cross-chain bridge transfers — with automatic route optimization, fee comparison, balance checks, and safety warnings.
What's New in v0.3.0
sign_and_sendparameter — agents can now sign and broadcast transactions directly using locally-stored wallet keys- Full EVM signing support — works with all EVM backends (Across, Relay, LI.FI, Squid, deBridge) + Persistence Interop (EIP-712)
- Simulation fix — ERC20 bridges now work on fresh wallets (previously blocked by premature simulation)
- Solana signing — coming in next release
<details> <summary>What's New in v0.2.0</summary>
- Solana support — bidirectional bridging EVM ↔ Solana (native SOL delivery, not wrapped)
- Cosmos support — EVM → Persistence/Cosmos Hub via Squid (Axelar)
- Protocol fee transparency — deBridge fixFee, operating expenses, and total cost visible in every quote
- Balance warnings — warns when wallet can't cover bridge amount + protocol fees + gas
- XPRT staking — stake/unstake/claim rewards directly from the MCP server
- Farming multiplier — tracks your staking tier (1x → 3x → 5x) from the rewards API
- Quote auto-refresh — expired quotes automatically re-fetched on execute (60s expiry)
- ERC-20 approvals — always generated for token bridges (Relay + deBridge)
- Bridge status tracking — on-chain fallback when provider API hasn't indexed yet
</details>
Supported Bridges
| Backend | Type | Chains | Strength |
|---|---|---|---|
| deBridge (DLN) | Direct | EVM + Solana | Fast intent-based fills, Solana support |
| Relay | Direct | EVM + Solana | No protocol fee, gas-optimized |
| LI.FI | Aggregator | EVM | Widest coverage (30+ bridges, any-to-any swap) |
| Across | Direct | EVM | Fastest fills (~6s), same-token bridging |
| Squid (Axelar) | Aggregator | EVM + Cosmos | Only option for EVM → Cosmos routes |
Bridge Directions
| Direction | Backends | Status |
|---|---|---|
| EVM → EVM | All 5 | ✅ Production |
| EVM → Solana | deBridge, Relay | ✅ Production |
| Solana → EVM | deBridge | ✅ Production |
| EVM → Cosmos | Squid | ✅ Production |
Quick Start
npx (zero install)
npx @persistenceone/bridgekitty
Claude Code
Add to your MCP config (~/.claude/claude_code_config.json):
{
"mcpServers": {
"bridgekitty": {
"command": "npx",
"args": ["@persistenceone/bridgekitty"]
}
}
}
Cursor IDE
Add to Cursor's MCP settings (Settings > MCP Servers):
{
"bridgekitty": {
"command": "npx",
"args": ["@persistenceone/bridgekitty"]
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"bridgekitty": {
"command": "npx",
"args": ["@persistenceone/bridgekitty"]
}
}
}
Wallet Setup
BridgeKitty can manage wallets for autonomous bridging. Run wallet_setup to create wallets for EVM, Cosmos, and Solana — or provide your own addresses in quotes.
Wallet config is stored in ~/.bridgekitty/.env (or the directory you run from). Keys never leave the local machine.
| Variable | Description |
|---|---|
PRIVATE_KEY |
EVM private key (hex) |
MNEMONIC |
BIP-39 mnemonic (derives EVM, Cosmos, Solana keys) |
SOLANA_PRIVATE_KEY |
Solana private key (base58) |
Transaction Signing
By default, bridge_execute returns unsigned transactions for the agent or user to sign externally.
Set sign_and_send: true to enable autonomous signing — BridgeKitty will use the wallet keys stored in ~/.bridgekitty/.env to handle the full flow:
- Approval — sends ERC-20 approval transaction (if needed)
- Re-build — re-fetches the bridge transaction with updated nonce (if approval was sent)
- Simulate — runs
eth_estimateGaspre-flight check - Sign — signs the transaction with the local private key
- Broadcast — submits to the chain and returns the tx hash + explorer link
Persistence Interop uses EIP-712 typed data signing (Permit2 approval + on-chain initiate) instead of standard approve-and-send.
Optional API Keys
| Variable | Description |
|---|---|
LIFI_API_KEY |
LI.FI API key (higher rate limits) |
DEBRIDGE_API_KEY |
deBridge API key |
SQUID_INTEGRATOR_ID |
Squid integrator ID |
MCP Tools
Core Bridge Tools
| Tool | Description |
|---|---|
bridge_get_quote |
Get competitive quotes from all backends. Shows fees, time estimates, balance warnings. |
bridge_execute |
Build transaction(s) from a quote. Handles approvals, auto-refreshes expired quotes. Set sign_and_send: true to auto-sign and broadcast. |
bridge_status |
Track bridge progress. On-chain fallback when API hasn't indexed yet. |
bridge_chains |
List supported chains with provider coverage. |
bridge_tokens |
Search tokens on a chain. |
Wallet Tools
| Tool | Description |
|---|---|
wallet_setup |
Create wallets for EVM, Cosmos, Solana from a single mnemonic. |
wallet_balance |
Check balances across all chains with USD prices (CoinGecko). |
XPRT Staking & Farming
| Tool | Description |
|---|---|
xprt_stake |
Stake XPRT to a validator (warns about 21-day unbonding). |
xprt_unstake |
Unstake XPRT (21-day unbonding period). |
xprt_claim_rewards |
Claim staking rewards. |
xprt_rewards_check |
Check farming rewards, multiplier tier, epoch status. |
xprt_farm_start |
Start automated BTC round-trip farming (cbBTC ↔ BTCB). |
xprt_farm_boost |
Buy + stake XPRT for multiplier boost (1x → 3x → 5x). |
bridgekitty_help |
Full docs on farming tiers, multipliers, and strategy. |
Example: Bridge USDC from Base to Arbitrum
Default (unsigned transactions)
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
With sign_and_send (autonomous signing)
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
Architecture
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)
- Routing Engine: Parallel quotes from all backends, ranked by output amount
- Circuit Breaker: Auto-skips failing backends, gradual recovery
- Token Registry: 45+ verified tokens with canonical addresses per chain
- Gas Estimator: Chain-aware gas cost estimation with multi-RPC failover
- Balance Checker: Validates token + native balance for fees before execution
- Fee Transparency: Protocol fees (deBridge fixFee, operating expenses) surfaced in every quote
Security
- Exact-amount approvals only (never unlimited)
- Transaction simulation before execution
- Verified token registry prevents address spoofing
- No private keys in MCP protocol — agents sign transactions externally
sign_and_senduses locally-stored keys only (never transmitted over the network)- Circuit breaker prevents cascading failures
- Error messages sanitized (no key/path leakage)
.envfile permission checks + overwrite protection
Known Limitations
- Solana → EVM returns a serialized transaction for external signing (no auto-execute)
- Relay status tracking may show "unknown" for completed cross-chain bridges
- Solana SPL tokens not yet shown in
wallet_balance(only native SOL) - Cosmos → EVM bridging not yet supported (only EVM → Cosmos)
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。