AgentPay — trust routing + spend caps for x402 agents
io.github.romudille-bit/agentpay
What it is for
Lets an assistant open a budget-capped session with `session_create`, run a pre-trade check with `pre_trade_check`, get a verified route with `verified_route` and read crypto data such as `token_price` or `gas_tracker`.
Summary written by L’Atlas on Nov 29, 2026, only from the author’s description and the tools seen by the test.
Buyer-side trust oracle + capped sessions for x402 agents: verified_route, receipts, 17 free tools.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/romudille-bit/agentpay
- Website
- agentpay.tools/
- Server address
https://agentpay.tools/mcp(streamable-http)- Version
- 2.9.2
- Author
- romudille-bit (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 18, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: AGENTPAY_BASE_KEY, AGENTPAY_ENABLE_PAID, AGENTPAY_MAX_SPEND.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http agentpay https://agentpay.tools/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://agentpay.tools/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://agentpay.tools/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"agentpay": {
"url": "https://agentpay.tools/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"agentpay": {
"type": "http",
"url": "https://agentpay.tools/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add agentpay -e AGENTPAY_BASE_KEY=YOUR_AGENTPAY_BASE_KEY -e AGENTPAY_ENABLE_PAID=YOUR_AGENTPAY_ENABLE_PAID -e AGENTPAY_MAX_SPEND=YOUR_AGENTPAY_MAX_SPEND -- npx -y @romudille/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@romudille/[email protected]"
],
"env": {
"AGENTPAY_BASE_KEY": "YOUR_AGENTPAY_BASE_KEY",
"AGENTPAY_ENABLE_PAID": "YOUR_AGENTPAY_ENABLE_PAID",
"AGENTPAY_MAX_SPEND": "YOUR_AGENTPAY_MAX_SPEND"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@romudille/[email protected]"
],
"env": {
"AGENTPAY_BASE_KEY": "YOUR_AGENTPAY_BASE_KEY",
"AGENTPAY_ENABLE_PAID": "YOUR_AGENTPAY_ENABLE_PAID",
"AGENTPAY_MAX_SPEND": "YOUR_AGENTPAY_MAX_SPEND"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"agentpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@romudille/[email protected]"
],
"env": {
"AGENTPAY_BASE_KEY": "YOUR_AGENTPAY_BASE_KEY",
"AGENTPAY_ENABLE_PAID": "YOUR_AGENTPAY_ENABLE_PAID",
"AGENTPAY_MAX_SPEND": "YOUR_AGENTPAY_MAX_SPEND"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 08:45 (test run by L’Atlas)
- Response time
- 620 ms (whole test)
- Tools found
- 25
- Announced name
- agentpay 2.9.2
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (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
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
AgentPay — trust routing + spend caps for x402 agents · L’Agora · Tested on
[AgentPay — trust routing + spend caps for x402 agents — L’Agora](https://lagora.dev/en/entry/io.github.romudille-bit/agentpay)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.romudille-bit/agentpay)HTML
<a href="https://lagora.dev/en/entry/io.github.romudille-bit/agentpay"><img src="https://lagora.dev/badge/io.github.romudille-bit/agentpay.svg?lang=en" alt="io.github.romudille-bit/agentpay on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.