accueil / serveurs / Dev & Code / io.github.TRDEFI/liquidity
io.github.TRDEFI/liquidity
serveur MCP (Model Context Protocol) · trdefi-liquidity 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.TRDEFI/liquidity est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.TRDEFI/liquidity » 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
- trdefi_badge≈ 142 tokens
A shields.io endpoint payload for the catalogue metrics, so a README can show live figures. Metrics: volume30, volume7, volume1, strategies, makers, pairs, chains.
Paramètres, retour & exemple (1)
Paramètresmetric· string · optionnel · volume30 | volume7 | volume1 | strategies | makers | pairs | chains
Exemple d'appel{"name": "trdefi_badge", "arguments": {"metric": "volume30"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - trdefi_chains≈ 116 tokens
The networks where liquidity is live right now, with each network's settlement engine address and the tokens a position can be built from. Use this instead of hardcoding chain or token identifiers.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "trdefi_chains", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - trdefi_position_detail≈ 116 tokens
One position in full, by its 32-byte strategy hash.
Paramètres, retour & exemple (1)
Paramètreshash· string · requis
Strategy hash, 64 hex characters.
Exemple d'appel{"name": "trdefi_position_detail", "arguments": {"hash": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - trdefi_positions≈ 393 tokens
Live non-custodial liquidity, as positions an agent can actually trade against. Each row carries the strategy hash, network, pair, tokens, settled volume and a `quote_eligible` flag, meaning the position is router-attached and its network has a quote route. It does NOT mean the position will quote: a maker can still gate it. Use this before a swap to find a real on-chain counterparty, or to survey where liquidity sits. Filter by network and by pair. Free, no key, no custody.
Paramètres, retour & exemple (4)
Paramètrespair· string · optionnel
Pair filter. Either an exact pair such as "USDC/USDT", or a substring such as "USDC" or "WETH" which matches any pair containing it, or a network name, or part of a strategy hash.chain· string · optionnel
Network key, e.g. "base" or "ethereum". Defaults to every network.limit· integer · optionnel
Rows to return.quote_ready· boolean · optionnel
True returns positions on a network that has a quote route, which is the quote_eligible set. False returns the positions that do not, which are usually on networks with no quote RPC. Neither guarantees a price: a maker can still gate a position, and around 6 in 10 sampled positions answer "Strategy is gated".
Exemple d'appel{"name": "trdefi_positions", "arguments": {"pair": "texte", "chain": "texte", "limit": 1, "quote_ready": true}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - trdefi_quote≈ 638 tokens
Price a swap against one position, on-chain, at the current block — no custody, nothing signed, nothing moved. Works on any pair the position trades, not only stablecoins. Use this to check liquidity and get the output amount before preparing a swap. If a position answers "Strategy is gated", the maker embedded an access-licence check in the order: the CALLER must hold the 1inch Aqua access token. That check reads tx.origin, so the revert depends on whether a caller was supplied: without one it is 0x89c62b64 ("the caller holds none"), with one it is 0x39c4052c (the tx-origin balance check). Pass `from` with the address that will actually sign the swap. A caller that holds the maker's credential gets a real price; anyone else gets an accurate "you do not hold it" instead of the least specific answer available. This is a property of the strategy, not a bug — and it is strongly per-network. Measured 2026-10-19: on Ethereum 58 of 60 sampled positions are gated, and across 17 networks the network-balanced split is about 62 percent gated and 17 percent priced. The credential contract itself is only deployed on the 13 Aqua chains, so Arc, Monad, Cronos and HyperEVM have no such gate. Quotes are simulated on 17 networks: ethereum, base, arbitrum, optimism, polygon, arc, bnb-chain, gnosis, avalanche, sonic, linea, zksync-era, monad, unichain, hyperevm, cronos and robinhood-chain. This list is the set the quote path actually serves; if a network is not on it, do not promise a quote for it.
Paramètres, retour & exemple (5)
Paramètresfrom· string · optionnel
The address that will sign the swap, simulated as msg.sender. Supply it whenever the caller might hold the maker's access credential: the gate is checked on tx.origin, so with an address the answer is the real one, and without one it is the least specific one.hash· string · requis
Strategy hash to quote against.chain· string · optionnel
Network key. Defaults to "ethereum".amount· string · requis
Input amount in token base units, as an integer string. e.g. "1000000" for 1 USDC.direction· string · optionnel · aToB | bToA
Exemple d'appel{"name": "trdefi_quote", "arguments": {"hash": "texte", "amount": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - trdefi_stats≈ 144 tokens
Aggregate statistics for the live TRDEFI non-custodial stablecoin liquidity catalogue: how many open maker positions exist, how many distinct makers, how many pairs, across how many networks, plus settled volume over 1, 7 and 30 days, and the deepest pairs by volume and by position count. Free, no key.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "trdefi_stats", "arguments": {}}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é ».