AgentPay — trust routing + spend caps for x402 agents
io.github.romudille-bit/agentpay
Buyer-side trust oracle + capped sessions for x402 agents: verified_route, receipts, 17 free tools.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Dépôt
- github.com/romudille-bit/agentpay
- Site
- agentpay.tools/
- Adresse du serveur
https://agentpay.tools/mcp(streamable-http)- Version
- 2.9.2
- Auteur
- romudille-bit (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 18 nov. 2026)
Comment l’installer
Variables à renseigner : AGENTPAY_BASE_KEY, AGENTPAY_ENABLE_PAID, AGENTPAY_MAX_SPEND.
Serveur distant (rien à installer)
Claude Code
Dans un terminal :
claude mcp add --transport http agentpay https://agentpay.tools/mcpClaude (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://agentpay.tools/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://agentpay.tools/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"agentpay": {
"url": "https://agentpay.tools/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"agentpay": {
"type": "http",
"url": "https://agentpay.tools/mcp"
}
}
}Sur votre machine
Claude Code
Le serveur tourne sur votre machine (paquet npm). Dans un terminal :
claude mcp add agentpay -e AGENTPAY_BASE_KEY=VOTRE_AGENTPAY_BASE_KEY -e AGENTPAY_ENABLE_PAID=VOTRE_AGENTPAY_ENABLE_PAID -e AGENTPAY_MAX_SPEND=VOTRE_AGENTPAY_MAX_SPEND -- npx -y @romudille/[email protected]Claude Desktop claude_desktop_config.json
Réglages, Développeur, Modifier la configuration, puis ajoutez :
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@romudille/[email protected]"
],
"env": {
"AGENTPAY_BASE_KEY": "VOTRE_AGENTPAY_BASE_KEY",
"AGENTPAY_ENABLE_PAID": "VOTRE_AGENTPAY_ENABLE_PAID",
"AGENTPAY_MAX_SPEND": "VOTRE_AGENTPAY_MAX_SPEND"
}
}
}
}Cursor ~/.cursor/mcp.json
Dans ~/.cursor/mcp.json :
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@romudille/[email protected]"
],
"env": {
"AGENTPAY_BASE_KEY": "VOTRE_AGENTPAY_BASE_KEY",
"AGENTPAY_ENABLE_PAID": "VOTRE_AGENTPAY_ENABLE_PAID",
"AGENTPAY_MAX_SPEND": "VOTRE_AGENTPAY_MAX_SPEND"
}
}
}
}VS Code .vscode/mcp.json
Dans .vscode/mcp.json :
{
"servers": {
"agentpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@romudille/[email protected]"
],
"env": {
"AGENTPAY_BASE_KEY": "VOTRE_AGENTPAY_BASE_KEY",
"AGENTPAY_ENABLE_PAID": "VOTRE_AGENTPAY_ENABLE_PAID",
"AGENTPAY_MAX_SPEND": "VOTRE_AGENTPAY_MAX_SPEND"
}
}
}
}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, 08:45 (test fait par L’Atlas)
- Temps de réponse
- 620 ms (test complet)
- Outils trouvés
- 25
- Nom annoncé
- agentpay 2.9.2
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (25)
session_create
Open a budget-capped agent session on AgentPay. Pay $0.01 USDC once — get a session_id, budget config, and gateway URL. Enforces a hard max_spend cap across all subsequent tool calls via the AgentPay SDK. The entry point for agents discoverpre_trade_check
One-call pre-trade sanity check: 'I want to long $X of SYMBOL — is now sane?' Combines live orderbook slippage at YOUR size, cross-exchange funding (carry cost), open-interest crowding, and contract security (GoPlus) into a single ok/cautioverified_route
Paid buyer-side trust oracle: 'I need X, budget $Y — which x402 tool is real?' Sweeps the WHOLE x402 marketplace across many queries (a single search shows only a slice), collapses sybil/factory clusters (one wallet stamping many fake-distifunding_spread
Cross-venue perp funding divergence for one asset — the basis/carry read, not the raw rates. Reads Binance, Bybit, OKX, Gate.io, Bitget, Hyperliquid, dYdX, MEXC and KuCoin in parallel, normalises every rate to a per-8h figure (hourly venuessbtc_peg
The sBTC peg as an agent-readable feed — the one dataset only Stacks state can answer. Live sBTC supply (and share of the peg cap), peg-in and peg-out flows for 24h and 7d (sats, counts, unique recipients, net), in-flight bridge requests (ptoken_price
Get the current USD price of any cryptocurrency token Use when: You need the current USD price, 24h change, or market cap of any cryptocurrency. Not for: you need volume, ATH or a pair quote — token_market_data; a one-call macro + crypto ovgas_tracker
Get current Ethereum gas prices (slow, standard, fast) Use when: You need to know current Ethereum gas prices before submitting a transaction or estimating costs. Not for: you need gas as part of a broader read — market_snapshot already incyield_scanner
Find best DeFi yield opportunities across protocols for a given token Use when: You need to find the best yield/APY for a token across DeFi protocols. Not for: you need a protocol's total TVL rather than pool APYs — defi_tvl; risk_level isopen_interest
Get total open interest in perpetual futures for any asset, with 1h and 24h change rates. Pairs with funding_rates to complete the derivatives picture — rising OI with high funding = overcrowded position. Use when: You need to know total oporderbook_depth
Get real bid/ask depth and slippage estimates at $10k, $50k, and $250k notional from Binance, Bybit and OKX. Use before sizing a position to know if you can execute without moving the market. Use when: You need to estimate slippage before ewallet_balance
Get the token balances for any Ethereum or Stellar wallet address Use when: You need to look up the token holdings of an Ethereum or Stellar wallet address. Not for: you want a token's price or market data rather than one address's holdingsfear_greed_index
Crypto Fear & Greed Index (0=extreme fear, 100=extreme greed) with optional history Use when: You need to gauge overall crypto market sentiment or mood — whether the market is fearful or greedy. Not for: you want token-specific sentiment —crypto_news
Latest crypto news and community sentiment from r/CryptoCurrency for any token Use when: You need recent news headlines or community sentiment for one or more crypto tokens. Not for: you need general web news or documentation — web_search;defi_tvl
DeFi protocol Total Value Locked from DeFiLlama. Returns top 10 or a specific protocol. Use when: You need the Total Value Locked in a specific DeFi protocol or want to compare the top protocols by TVL. Not for: you want the best yield fortoken_market_data
Get market cap, 24h volume, ATH, and price change for any token. Note: does NOT return pool depth or slippage — for pre-trade liquidity estimates, use a dedicated orderbook tool. Use when: You need 24h trading volume, market cap, or all-timtoken_security
Scan any token contract for honeypot, rug pull, and security risks Use when: You need to check if a token contract is safe before trading or investing. Not for: the asset is a native coin (BTC, ETH, SOL) with no contract — nothing to scan;dune_query
Run any Dune Analytics query and return live onchain results by query ID. Use fast_only=True for live bots — returns cached result instantly or raises immediately, never blocks. Use when: You need deep onchain analytics from a specific Duneurl_reader
Convert any URL to clean, LLM-ready markdown. Strips ads, nav, and boilerplate — returns just the content. No API key needed. Use when: You need to read the content of a web page or article and get clean, structured text for further processweb_search
Search the web and return the top 5 results with their full content as clean markdown. Better than DIY because zero setup and results include page content, not just links. Use when: You need to find current information on any topic — news,funding_rates
Get perpetual futures funding rates across Binance, Bybit, and OKX Use when: You need funding rates to gauge leveraged market sentiment or cost of holding a perp position. Not for: you need open interest or long/short ratio — open_interest;market_snapshot
Fed rate, inflation proxy, S&P 500, BTC, ETH, and gas in one call. Replaces three separate API integrations with a single normalized response — the only tool that gives you macro + crypto in one shot. Use when: You need a combined macro + cwhale_activity
Detect recent large wallet movements for a token (whale tracking) Use when: You need to detect large token transfers that may signal institutional moves, accumulation, or sell-offs. Not for: you need one address's holdings — wallet_balance;verified_route_preview
Buyer-side trust oracle for the x402 marketplace: "I need X, budget $Y — which tool is real?" Vets Coinbase Bazaar (discover → drop stubs/factory clones → rank by real unique-payer usage → budget-gate). This MCP runs the FREE single-query Proute
Legacy alias of the free verified_route preview (kept for back-compat). Vets one Coinbase Bazaar search for a need within a budget: drops stubs, down-ranks factory clones and one-wallet or one-call-per-wallet usage, ranks on distinct payersestimate_plan
Price a multi-tool plan BEFORE spending anything. Submits the tool calls an agent intends to make to the gateway's free /v1/plan/estimate and returns per-step cost, total, a fits-budget verdict, and a cheaper alternative per paid step. No p
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
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)
[](https://lagora.dev/fiche/io.github.romudille-bit/agentpay)HTML
<a href="https://lagora.dev/fiche/io.github.romudille-bit/agentpay"><img src="https://lagora.dev/badge/io.github.romudille-bit/agentpay.svg" alt="io.github.romudille-bit/agentpay sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.