NextGen Token

v1.7.4
io.github.Har50/ngtchain Checked 4 hours ago Published 10 days ago

Each call spends real NGT or USDC from a wallet you fund, within caps and a session budget.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fetch_ngt_stream Fetch NGT Stream [Paid: 0.001 NGT]

One paid call for exactly 0.001 NGT on Base. A real payment, not a test. The spending wallet signs locally; the facilitator pays gas. Do not call in a loop. Requires NGT_AGENT_PRIVATE_KEY in the MCP server environment.

pay_and_fetch Pay and Fetch [Paid: NGT, capped]

Fetch a paid URL. If the site asks for payment (HTTP 402), pay automatically in NGT on Base only when the price is at or under your per-request cap and session budget. Returns the response (JSON, or text cut to the first 50,000 characters) plus amount paid, seller wallet and Base transaction. Host headers from NGT_HOST_HEADERS are added for you; you cannot set or see them. Each call spends real NGT; do not call in a loop. On failure, follow the next step in the error.

ParameterTypeDescription
url *stringThe paywalled https URL.
bodystringJSON request body for POST.
max_price_ngtstringMost to pay for this call, in NGT. Cannot exceed the server cap of 0.01 NGT.
max_price_usdcstringIgnored: the user has not turned USDC on, so this server pays only NGT.
methodstring

ngt_wallet_status NGT Wallet Status

Check the assistant's spending wallet on Base: address, whether spending is paused, NGT balance, per-request cap, session budget left, and about how many 0.001 NGT reference calls that balance covers. If USDC is on, also shows USDC balance, cap and budget left. Spends nothing. If no wallet is set up, explains how to set one up. Call this before the first paid request or a top-up.

fund_agent_wallet Fund Agent Wallet [opens the user's browser wallet]

Open a simple local browser page so the user can send NGT on Base from their own wallet to the assistant's spending address. Nothing moves unless they confirm; this tool never sees their personal keys. Only call after the user has agreed to the amount (capped by NGT_MAX_FUNDING). Afterwards, call ngt_wallet_status to see whether it arrived.

ParameterTypeDescription
amount_ngt *stringNGT to request, for example "0.1". At most 10 NGT.