deBridge MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add de-bridge -- npx -y @debridge-finance/debridge-mcp@latest
README.md

Find optimal cross-chain and same-chain swap routes and initiate trades.

deBridge MCP Server

A Model Context Protocol (MCP) server for the deBridge protocol — enabling AI agents to find optimal cross-chain and same-chain swap routes, check fees and conditions, and initiate trades across major blockchain networks.

https://github.com/user-attachments/assets/8ebe88ff-db3c-455e-9efb-50389e4bf5bd

Transport Modes

The deBridge MCP server supports two transport modes for local deployment:

  • stdio (default) - Requires Node.js/npm. For local agent frameworks and CLI tools via standard input/output
  • HTTP streaming - Requires Docker OR Node.js/npm. For containerized deployments and web-based agents

Setup

Quick Start (npx)

Run directly without installation:

npx -y @debridge-finance/debridge-mcp@latest

Installation from Source

Clone and build:

git clone https://github.com/debridge-finance/debridge-mcp.git
cd debridge-mcp
npm install
npm run build

Running the Server

stdio mode (default):

npx -y @debridge-finance/debridge-mcp@latest
# or from a cloned repo
npm start

HTTP mode:

MCP_TRANSPORT=http npx -y @debridge-finance/debridge-mcp@latest
# or from a cloned repo
npm run start:http

# Custom port
MCP_TRANSPORT=http PORT=3001 npx -y @debridge-finance/debridge-mcp@latest

Docker HTTP mode:

docker build -t debridge-mcp .
docker run -p 3000:3000 debridge-mcp

Configuration for Agent Frameworks

stdio configuration (for local agents):

"debridge": {
  "type": "stdio",
  "command": "npx",
  "args": ["-y", "@debridge-finance/debridge-mcp@latest"]
}

Streamable HTTP:

"debridge": {
  "type": "streamable-http",
  "url": "http://localhost:3001/mcp"
}
Claude Code (CLI & IDE plugins)

Add the MCP server:

claude mcp add debridge npx -- -y @debridge-finance/debridge-mcp@latest
# OR
claude mcp add debridge --transport http http://127.0.0.1:3000/mcp

Verify the connection:

claude mcp list
Cursor

Use Cursor Deeplink:

OR install from Cursor Directory

OR add to .cursor/mcp.json in your project or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "debridge": {
      "command": "npx",
      "args": ["-y", "@debridge-finance/debridge-mcp@latest"]
    }
  }
}
OpenClaw (via mcp-adapter plugin)

Install the mcp-adapter plugin:

openclaw plugins install mcp-adapter

Add to ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "mcp-adapter": {
        "enabled": true,
        "config": {
          "servers": [
            {
              "name": "debridge",
              "transport": "stdio",
              "command": "npx",
              "args": ["-y", "@debridge-finance/debridge-mcp@latest"]
            }
          ]
        }
      }
    }
  }
}

Add "mcp-adapter" to your sandbox allowlist and restart:

openclaw gateway restart

Verify the connection:

openclaw plugins list
GitHub Copilot (VS Code Chat)

Add to .vscode/mcp.json in your workspace:

{
  "mcpServers": {
    "debridge": {
      "type

Configuration

claude_desktop_config.json
{"debridge": {"type": "stdio", "command": "npx", "args": ["-y", "@debridge-finance/debridge-mcp@latest"]}}

Try it

Find the best route to swap 1 ETH on Ethereum to USDC on Solana.
Check the current fees and conditions for a cross-chain swap from Arbitrum to Base.
Initiate a non-custodial trade for swapping tokens across major blockchain networks using deBridge.
Compare swap routes for moving assets from Polygon to Optimism.

Frequently Asked Questions

What are the key features of deBridge?

Find optimal cross-chain and same-chain swap routes. Check fees and swap conditions across major blockchain networks. Initiate non-custodial trades via AI agents. Support for multiple transport modes including stdio and HTTP streaming.

What can I use deBridge for?

Automating cross-chain asset rebalancing for DeFi portfolios. Building AI-powered trading agents that execute multi-chain swaps. Integrating real-time cross-chain fee estimation into AI workflows. Executing non-custodial trades across diverse networks like Solana, Ethereum, and Base.

How do I install deBridge?

Install deBridge by running: npx -y @debridge-finance/debridge-mcp@latest

What MCP clients work with deBridge?

deBridge works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep deBridge docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare