mcpField
L
LayerHop

LayerHop

Remote
docs.layerhop.comFinance0Updated 5d ago

About LayerHop

LayerHop is an MCP server for agents that need swap information across EVM and Solana chains. It provides quotes with fee details and prepared swap links, while leaving signing and broadcasting to the user's wallet.

Key features

  1. 01List supported chains and tokens
  2. 02Quote same-chain and cross-chain swaps
  3. 03Show itemized fees
  4. 04Build and simulate transactions
  5. 05Track orders and deposits
  6. 06Create prefilled swap links

Use cases

  1. 01Compare swap quotes across chains
  2. 02Review fees before a wallet signs
  3. 03Prepare a swap link for a user

MCP support

The server exposes chain, token, quote, transaction, order, and deposit tools to MCP clients. It does not hold private keys, sign, or broadcast transactions.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.layerhop.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npm@layerhop/mcp0.5.0

Tools

Details

From the project README

@layerhop/mcp

npm license docs

Model Context Protocol server for LayerHop: AI agents (Claude, ChatGPT, Cursor, …) can list chains and tokens, get best-price cross-chain / same-chain swap quotes with every fee spelled out, and hand the user a prefilled swap link.

The server holds no private keys and never signs or broadcasts. The user's own wallet signs.

Listed in the official MCP Registry as com.layerhop/mcp.

# stdio (Claude Desktop, Claude Code, Cursor, …)
npx -y @layerhop/mcp
claude mcp add layerhop -- npx -y @layerhop/mcp

# hosted, Streamable HTTP
claude mcp add --transport http layerhop https://mcp.layerhop.com/mcp

# self-host over HTTP: POST /mcp, GET /healthz
npx -y @layerhop/mcp --http --port 8090 --host 0.0.0.0

Env: LAYERHOP_API_URL (default https://api.layerhop.com), LAYERHOP_API_KEY (optional; required for deposit addresses), LAYERHOP_INTEGRATOR (optional partner id), LAYERHOP_APP_URL (default https://layerhop.com).

Tools: list_chains, list_tokens, get_quote, get_swap_link, build_transaction, simulate_transaction, report_submitted, get_order_status, list_orders, plus deposit addresses (API key required): create_deposit_address, list_deposit_addresses, get_deposit_address, refresh_deposit_address, disable_deposit_address, simulate_deposit (test keys only). Amounts in tool inputs are human decimals ("100" = 100 USDC).

Full guide: https://docs.layerhop.com/guides/ai-agents

MIT licensed.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.