Agent402.Tools: pay-per-call web tools MCP Server
Payment and trust layer for agentic commerce (Agentic Finance): pay and verify over x402 and MPP
Agent402.Tools: pay-per-call web tools scores 76 (Good), licensed AGPL-3.0 and written in JavaScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Finance. GitHub shows 55 stars. Package registries report about 1,378 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
76 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: agpl-3.0.
License, quality and maintenance
License: Grade C
AGPL-3.0 is a strong copyleft license: derived works must use the same license.
How license is graded
Where the 76 comes from
22 + 20 + 11 + 10 + 10 + 3 = 76. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 11 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mikeypetrillo-agent402": { "command": "npx", "args": [ "-y", "agent402-mcp@0.19.3" ], "env": { "AGENT_KEY": "YOUR_AGENT_KEY", "AGENT402_BUDGET": "", "AGENT402_MAX_PER_CALL": "", "AGENT402_CREDITS_KEY": "YOUR_AGENT402_CREDITS_KEY", "SOLANA_AGENT_KEY": "YOUR_SOLANA_AGENT_KEY", "AGENT402_NETWORKS": "", "AGENT402_KEY_STORE": "", "AGENT402_URL": "", "AGENT402_TOOLS": "", "AGENT402_MAX_USD_PER_DAY": "", "AGENT402_MAX_USD_PER_MONTH": "", "AGENT402_CONFIG_DIR": "", "AGENT402_OUTPUT_DIR": "", "AGENT402_MEDIA_INLINE": "", "AGENT402_MEDIA_INLINE_MAX_BYTES": "", "AGENT402_SHOW_ROUTER": "", "AGENT402_ASYNC": "", "AGENT402_ASYNC_TIMEOUT_MS": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
AGENT_KEYSecret | Optional | Hex private key of an EVM wallet funded with USDC on any EVM rail the server offers (Base, Polygon, Arbitrum One, Monad, Celo, Avalanche C-Chain, Sei, OP Mainnet, Arc, Ink) or USDG on Robinhood Chain; use SOLANA_AGENT_KEY for Solana. Stellar and Algorand are not signed by this package. Unset = proof-of-work mode (free pure-CPU tools). |
AGENT402_BUDGET | Optional | Optional hard cap on total USD spent per session (e.g. 1.00; unset or off = no session cap). Enforced on the payment that is signed. |
AGENT402_MAX_PER_CALL | Optional | Max USD price for any single call (default 5; e.g. 0.05; 0 or off = no per-call cap). Enforced on the payment that is signed. |
AGENT402_CREDITS_KEYSecret | Optional | Prepaid credits key (a402_...) for Agent402's own services. With it set and no wallet key, every tool except the wallet-scoped ones (memory, usage) and the outside-seller routes (router.execute, seller-payability, decide.execute, the flight tools) is debited from the key; the list price is debited only on a successful call. |
SOLANA_AGENT_KEYSecret | Optional | Optional base58 (or JSON byte-array) secret key of a Solana wallet funded with USDC on Solana. |
AGENT402_NETWORKS | Optional | Optional: restrict and order the chains to pay on (e.g. "base,solana" or a CAIP-2 like eip155:4663). |
AGENT402_KEY_STORE | Optional | Where setup keeps the wallet key and the server reads it: auto (the platform keychain, else a file), macos, windows, secret-tool, file, or off (never read a stored key). Default auto. |
AGENT402_URL | Optional | Target service (default https://agent402.tools; point at your own deployment). Paid calls never follow redirects. |
AGENT402_TOOLS | Optional | Comma-separated slugs to expose as first-class tools (default: a curated set). |
AGENT402_MAX_USD_PER_DAY | Optional | Optional cap on USD spent per UTC day, kept across restarts (unset or off = no cap). |
AGENT402_MAX_USD_PER_MONTH | Optional | Optional cap on USD spent per UTC calendar month, kept across restarts (unset or off = no cap). |
AGENT402_CONFIG_DIR | Optional | Folder for the spend record and, without a keychain, the key file (default: the per-user config folder). |
AGENT402_OUTPUT_DIR | Optional | Where media answers are written (default ~/Downloads/agent402, else the OS temp folder). |
AGENT402_MEDIA_INLINE | Optional | 1 returns media answers inline instead of as files. |
AGENT402_MEDIA_INLINE_MAX_BYTES | Optional | An image answer up to this size is also returned inline beside its file (default 1048576; 0 sends every image to the file only). |
AGENT402_SHOW_ROUTER | Optional | 1 lists router.execute and sellers.list even without a wallet key. |
AGENT402_ASYNC | Optional | auto (default) pays slow routes as jobs and collects the result; off waits on the connection; always uses a job wherever the route offers one. |
AGENT402_ASYNC_TIMEOUT_MS | Optional | How long to poll a job before answering with its link (default 900000). |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Payment and trust layer for agentic commerce (Agentic Finance): pay and verify over x402 and MPP
Frequently asked questions
What is Agent402.Tools: pay-per-call web tools MCP Server?
Payment and trust layer for agentic commerce (Agentic Finance): pay and verify over x402 and MPP
How do I install Agent402.Tools: pay-per-call web tools MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Agent402.Tools: pay-per-call web tools MCP Server runs locally from the npm package agent402-mcp with the command npx -y agent402-mcp@0.19.3.
Is Agent402.Tools: pay-per-call web tools MCP Server free and open source?
Yes. Agent402.Tools: pay-per-call web tools MCP Server is released under the AGPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Agent402.Tools: pay-per-call web tools MCP Server support remote (HTTP) connections?
Yes. Agent402.Tools: pay-per-call web tools MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Agent402.Tools: pay-per-call web tools MCP Server's trust score calculated?
Agent402.Tools: pay-per-call web tools MCP Server scores 76 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.