L'Agora
MCPRépond

LayerHop

com.layerhop/mcp

Best-price cross-chain swap quotes across 70 chains, EVM and Solana. Holds no keys, never signs.

Description fournie par l’auteur dans le registre officiel MCP (en anglais).

Dépôt
github.com/layerhop/layerhop-js
Site
docs.layerhop.com/guides/ai-agents
Adresse du serveur
https://mcp.layerhop.com/mcp (streamable-http)
Version
0.9.0
Auteur
layerhop.com (espace de noms vérifié par le registre)
Source
Registre officiel MCP (mis à jour le 22 nov. 2026)

Comment l’installer

Le serveur accepte en option un en-tête : x-layerhop-api-key, x-layerhop-integrator. Remplacez VOTRE_CLE par votre clé.

Variables à renseigner : LAYERHOP_API_KEY, LAYERHOP_INTEGRATOR.

Serveur distant (rien à installer)

Claude Code

Dans un terminal :

claude mcp add --transport http mcp https://mcp.layerhop.com/mcp \
  --header "x-layerhop-api-key: VOTRE_CLE" \
  --header "x-layerhop-integrator: VOTRE_CLE"
Claude (application et claude.ai)

Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.

https://mcp.layerhop.com/mcp
ChatGPT

Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.

https://mcp.layerhop.com/mcp
Cursor ~/.cursor/mcp.json

Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.layerhop.com/mcp",
      "headers": {
        "x-layerhop-api-key": "VOTRE_CLE",
        "x-layerhop-integrator": "VOTRE_CLE"
      }
    }
  }
}
VS Code .vscode/mcp.json

Ajoutez ceci au fichier .vscode/mcp.json de votre projet :

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.layerhop.com/mcp",
      "headers": {
        "x-layerhop-api-key": "VOTRE_CLE",
        "x-layerhop-integrator": "VOTRE_CLE"
      }
    }
  }
}

Sur votre machine

Claude Code

Le serveur tourne sur votre machine (paquet npm). Dans un terminal :

claude mcp add mcp -e LAYERHOP_API_KEY=VOTRE_LAYERHOP_API_KEY -e LAYERHOP_INTEGRATOR=VOTRE_LAYERHOP_INTEGRATOR -- npx -y @layerhop/[email protected]
Claude Desktop claude_desktop_config.json

Réglages, Développeur, Modifier la configuration, puis ajoutez :

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@layerhop/[email protected]"
      ],
      "env": {
        "LAYERHOP_API_KEY": "VOTRE_LAYERHOP_API_KEY",
        "LAYERHOP_INTEGRATOR": "VOTRE_LAYERHOP_INTEGRATOR"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

Dans ~/.cursor/mcp.json :

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@layerhop/[email protected]"
      ],
      "env": {
        "LAYERHOP_API_KEY": "VOTRE_LAYERHOP_API_KEY",
        "LAYERHOP_INTEGRATOR": "VOTRE_LAYERHOP_INTEGRATOR"
      }
    }
  }
}
VS Code .vscode/mcp.json

Dans .vscode/mcp.json :

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@layerhop/[email protected]"
      ],
      "env": {
        "LAYERHOP_API_KEY": "VOTRE_LAYERHOP_API_KEY",
        "LAYERHOP_INTEGRATOR": "VOTRE_LAYERHOP_INTEGRATOR"
      }
    }
  }
}
ChatGPT

ChatGPT se connecte seulement à des serveurs distants (une adresse https). Ce paquet tourne en local : utilisez l’une des applications ci-dessus.

Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.

Notre test

Répond Le serveur répond au protocole MCP et liste ses outils.

Date
28 nov. 2026, 09:40 (test fait par L’Atlas)
Temps de réponse
1 535 ms (test complet)
Outils trouvés
22
Nom annoncé
layerhop 0.9.0
Protocole
MCP 2025-11-25
Prochain test
5 déc. 2026
Voir les outils (22)
  • list_chains
    List every blockchain LayerHop can swap from or to: slug, numeric chain id, name, VM type (evm or svm = Solana) and native coin. Read-only.
  • list_tokens
    List LayerHop's built-in tokens on one chain (symbol, contract address or mint, decimals). Symbols can be used directly in get_quote; other tokens can be quoted by address. Read-only.
  • get_quote
    Get the best price to swap or bridge tokens, within one chain or across chains (EVM <-> Solana). Asks every liquidity provider and returns the best quote plus alternatives with human-readable amounts, minimum received after slippage, fees (
  • build_transaction
    Turn a quoteId from get_quote into the UNSIGNED transaction the user's own wallet must sign: EVM {chainId, to, data, value in wei, optional ERC-20 approval to send first} or Solana {serializedTx base64}. Includes plain-language signing step
  • simulate_transaction
    Build the transaction for a quoteId and dry-run it on-chain (EVM eth_call + gas estimate from the sender; Solana simulateTransaction) without sending anything or recording an order. Reports whether it would succeed, gas / compute units, whe
  • report_submitted
    Tell LayerHop that the user's wallet broadcast the transaction for a quoteId, so the order is tracked (status, webhooks). Call this once after broadcasting, with the EVM tx hash (0x + 64 hex) or Solana signature. Idempotent. Does not sign o
  • get_order_status
    Check the status of a swap or bridge after the source transaction was sent: pending, filled (funds delivered), refunded, failed, or unknown (some same-chain providers; check the tx on an explorer). Read-only.
  • list_orders
    List LayerHop orders (swaps built or submitted through LayerHop) where the address is the sender or recipient, newest first, with status. Public data (addresses only). Read-only.
  • get_swap_link
    Create a https://layerhop.com/swap link prefilled with the swap, which the user opens to review the live quote and fees and sign in their own wallet. This is the default, safest way to execute a swap. The LayerHop MCP server holds no privat
  • lookup_token
    Get one token's symbol, name, decimals, USD price and verified flag from its contract address or SPL mint. The chain is optional: LayerHop finds it (Solana for a mint, else the EVM chain where the token has the most liquidity). verified fal
  • get_token_risk
    Safety report for a token before the user buys or receives it: honeypot (can't sell), buy/sell/transfer taxes, owner powers (mint, blacklist, pause, freeze), unpublished code, few holders, and fake majors (a token calling itself USDC/ETH/SO
  • list_limit_orders
    List limit orders (Solana: Jupiter Trigger; EVM: CoW Protocol) of a wallet, or of the API key's account without a wallet: what is sold, the minimum received, status (built, open, filled, cancelled, expired, failed) and fills. Read-only.
  • get_limit_order
    Get one limit order with its fills (each fill is an order whose quoteId starts with lof_). Read-only.
  • create_limit_order
    Build a limit order: sell sellAmount of sellToken once the market gives at least minReceive of buyToken. Solana (default, Jupiter Trigger): returns an UNSIGNED transaction; LayerHop's fee applies when buyToken is SOL, USDC or USDT. EVM chai
  • submit_limit_order
    Send a limit order's create or cancel step AFTER the maker's own wallet signed it (from create_limit_order or cancel_limit_order): the signed Solana transaction, or the EIP-712 signature of an EVM order. This only relays what the wallet sig
  • cancel_limit_order
    Cancel an open limit order: returns the UNSIGNED cancel transaction (Solana) or the cancellation typed data (EVM, no gas) for the maker's wallet to sign, then submit_limit_order. An order that was never submitted is cancelled at once (nothi
  • create_deposit_address
    Create an address the user sends tokens to; every deposit is swapped/bridged and delivered as toToken on toChain to recipient. No wallet connection or signing needed. Non-custodial: the address belongs to the liquidity provider (Relay), Lay
  • list_deposit_addresses
    List the deposit addresses of the API key's account and mode (live or test), newest first: address, route, status, deposit count. Needs a LayerHop API key. Read-only.
  • get_deposit_address
    Get one deposit address with its 20 most recent deposits (orders, quoteId starting with dep_): amount deposited and delivered, status (submitted, pending, filled, refunded, failed) and tx hashes. Tell the user: send ONLY srcToken on srcChai
  • refresh_deposit_address
    Ask LayerHop to check a deposit address for new deposits right away (instead of waiting for the next scheduled check). Call it when the user says they sent funds, then call get_deposit_address after ~15-30 s. Needs a LayerHop API key.
  • disable_deposit_address
    Disable a deposit address: LayerHop stops tracking it (no more orders or webhooks for it). The provider may still process funds sent to it later, so the user must stop using it. Cannot be undone. Confirm with the user first. Needs a LayerHo
  • simulate_deposit
    TEST MODE ONLY (lh_test_ key and a test deposit address): record a fake deposit so the integration can be tested end to end; it becomes a test order that settles with webhooks. The amount decides the outcome: base units ending in 4001 -> re
Tests précédents
28 nov. 2026Répond1 535 ms22 outils
28 nov. 2026Répond149 ms22 outils

Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus

Avis

Pas encore d’avis.

Connectez-vous pour donner votre avis. Il suffit de votre e-mail.

Commentaires

Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.

Connectez-vous pour commenter.

C’est votre projet ? Connectez-vous pour revendiquer la fiche.

Badge pour votre README

com.layerhop/mcp sur L’Agora

Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.

Markdown (GitHub)

[![com.layerhop/mcp sur L’Agora](https://lagora.dev/badge/com.layerhop/mcp.svg)](https://lagora.dev/fiche/com.layerhop/mcp)

HTML

<a href="https://lagora.dev/fiche/com.layerhop/mcp"><img src="https://lagora.dev/badge/com.layerhop/mcp.svg" alt="com.layerhop/mcp sur L’Agora" height="20"></a>

Mettre en avant

Réservé à l’auteur de la fiche : connectez-vous pour continuer.

Signaler cette fiche