drio
Open app

LiFi MCP Server

Source

MCP server that integrates with the [LI.FI API](

Catalog onlyCatalog onlySTDIO

Overview

LI.FI MCP Server is a tool that integrates with the LI.FI API to provide cross-chain swap functionality across multiple liquidity pools and bridges, allowing users to manage and execute token transfers across different blockchain networks.

To use the LI.FI MCP Server, you can install it via a script or Go, and then run the server with your Ethereum keystore or create a new wallet. You can also integrate it with a desktop application by configuring the server settings.

  • Cross-chain token swap functionality - Wallet management with keystore support - Detailed token and chain information retrieval - Transaction execution and status checking
  1. Executing cross-chain token swaps for decentralized finance (DeFi) applications.
  2. Managing multiple blockchain assets from a single interface.
  3. Testing and experimenting with cross-chain transactions in a secure environment.

Add to your AI client

Use these steps to connect LiFi MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "lifi-mcp-lifinance": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lifi-mcp-lifinance"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "lifi-mcp-lifinance": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lifi-mcp-lifinance"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "lifi-mcp-lifinance": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lifi-mcp-lifinance"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "lifi-mcp-lifinance": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lifi-mcp-lifinance"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "lifi-mcp-lifinance": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lifi-mcp-lifinance"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "lifi-mcp-lifinance": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lifi-mcp-lifinance"
      ]
    }
  }
}

FAQ

Is it safe to use LI.FI MCP Server with my main wallet?

No, it is advised to use this tool only with test wallets due to potential security risks.

How can I install the LI.FI MCP Server?

You can install it using a curl command or via Go installation.

What should I do if I encounter issues?

Check the documentation for troubleshooting tips or consult the community for support.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3638,"uuid":"d07122b6-d101-41f4-b1b0-c9e793aa98c1","name":"lifi-mcp","title":"LiFi MCP Server","description":"MCP server that integrates with the [LI.FI API](","avatar_url":"https://avatars.githubusercontent.com/u/85288935?v=4","created_at":"2025-03-20T18:35:17.527Z","updated_at":"2025-03-20T19:00:29.997Z","status":"created","author_name":"lifinance","author_avatar_url":"https://avatars.githubusercontent.com/u/85288935?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/lifinance/lifi-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"3\",\"license\":\"MIT license\",\"language\":\"Go\",\"is_official\":false,\"latest_commit_time\":\"2025-06-02 14:32:24\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]