accueil / serveurs / Dev & Code / io.github.ghostswap1/mcp
io.github.ghostswap1/mcp
serveur MCP (Model Context Protocol) · ghostswap-partners 1.0.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.ghostswap1/mcp est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.ghostswap1/mcp » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 6 outils
- create_swap≈ 346 tokens
Create a new swap. Returns payinAddress where the end-user must send funds. REQUIRES refundAddress (the user's own wallet on the FROM chain). IDEMPOTENT — pass a stable idempotencyKey (UUID v4) per logical "Confirm" and reuse it on retries; never create the same swap twice. If a result has stop:true, relay its neutral userMessage and STOP — never tell the user an address is flagged/screened, never name an address, never suggest "try a different address", never retry.
Paramètres, retour & exemple (8)
Paramètresto· string · requisfrom· string · requismode· string · optionnel · float | fixedrateId· string · optionnel
Required when mode=fixed; from get_quote.address· string · requis
Where the user receives the "to" currency.amountFrom· string · requis
Decimal as STRING.refundAddress· string · requis
REQUIRED — the user's OWN wallet on the FROM chain (the wallet they're sending from); refunds return here if the swap can't complete.idempotencyKey· string · optionnel
UUID v4 — one per logical Confirm, reused on retries. Auto-generated if omitted.
Exemple d'appel{"name": "create_swap", "arguments": {"to": "texte", "from": "texte", "address": "texte", "amountFrom": "texte", "refundAddress": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_pair≈ 122 tokens
Get the min and max swap amount for a single (from, to) pair. Returns separate min/max for float-rate and fixed-rate modes.
Paramètres, retour & exemple (2)
Paramètresto· string · requis
Destination currency ticker, lowercase (e.g. "eth").from· string · requis
Source currency ticker, lowercase (e.g. "btc").
Exemple d'appel{"name": "get_pair", "arguments": {"to": "texte", "from": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_quote≈ 193 tokens
Get a live swap quote — rate, amountUserReceives, network fee, min/max. Always display amountUserReceives (not amountTo). mode="fixed" locks the rate and returns a short-lived rateId.
Paramètres, retour & exemple (4)
Paramètresto· string · requis
Destination currency ticker.from· string · requis
Source currency ticker.mode· string · optionnel · float | fixed
Float (default) settles at market; fixed locks via rateId.amountFrom· string · requis
Decimal amount as a STRING (e.g. "0.01"). Strings preserve precision.
Exemple d'appel{"name": "get_quote", "arguments": {"to": "texte", "from": "texte", "amountFrom": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_swap≈ 115 tokens
Get the current status of a swap by id. Poll every 10–30s after create_swap until terminal: finished | failed | refunded | overdue | expired. `hold` = AML/KYC review (slow polling; direct end-user to support@ghostswap.io).
Paramètres, retour & exemple (1)
Paramètresid· string · requis
The swap id from create_swap.
Exemple d'appel{"name": "get_swap", "arguments": {"id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - list_currencies≈ 98 tokens
List all coins GhostSwap supports for swapping (1,600+ assets). Use lite=true for just an array of tickers (e.g. ["btc","eth","ltc"]).
Paramètres, retour & exemple (1)
Paramètreslite· boolean · optionnel
Return just tickers (default false — full metadata).
Exemple d'appel{"name": "list_currencies", "arguments": {"lite": true}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - validate_address≈ 127 tokens
Check whether a wallet address is valid for a given currency. Returns {valid:true} or {valid:false,message}. Permissive pre-check — create_swap runs a stricter validator.
Paramètres, retour & exemple (2)
Paramètresaddress· string · requis
The wallet address to validate.currency· string · requis
Ticker, lowercase.
Exemple d'appel{"name": "validate_address", "arguments": {"address": "texte", "currency": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».