Home / Finance & commerce / Agent402.Tools: payments and trust for AI agents
Agent402.Tools: payments and trust for AI agents
tools.agent402/agent402 · v0.18.0 streamable-http, stdio
Payment and trust layer for agentic commerce (Agentic Finance): pay and verify over x402 and MPP
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #15 of 401 Finance & commerce servers on Socketlist by score, with 55 GitHub stars and a last code push today.
Install
npx -y agent402-mcpAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Offers a hosted remote endpoint: https://agent402.tools/mcp (streamable-http). No local install needed.
Connect Agent402.Tools: payments and trust for AI agents to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env AGENT_KEY=<agent_key> --env AGENT402_CREDITS_KEY=<agent402_credits_key> --env SOLANA_AGENT_KEY=<solana_agent_key> --transport stdio agent402-tools-payments-and-trust-for-ai -- npx -y agent402-mcp.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"agent402-tools-payments-and-trust-for-ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent402-mcp"
],
"env": {
"AGENT_KEY": "${AGENT_KEY}",
"AGENT402_CREDITS_KEY": "${AGENT402_CREDITS_KEY}",
"SOLANA_AGENT_KEY": "${SOLANA_AGENT_KEY}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"agent402-tools-payments-and-trust-for-ai": {
"command": "npx",
"args": [
"-y",
"agent402-mcp"
],
"env": {
"AGENT_KEY": "${env:AGENT_KEY}",
"AGENT402_CREDITS_KEY": "${env:AGENT402_CREDITS_KEY}",
"SOLANA_AGENT_KEY": "${env:SOLANA_AGENT_KEY}"
}
}
}
}Claude Code, hosted endpoint (no local install)
The publisher also lists a hosted endpoint. If it uses OAuth, run /mcp inside Claude Code to sign in. Claude Code setup guide.
claude mcp add --transport http agent402-tools-payments-and-trust-for-ai https://agent402.tools/mcpConfiguration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
AGENT_KEY | No | Yes | 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; |
AGENT402_BUDGET | No | No | 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 | No | No | 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_KEY | No | Yes | 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, selle |
SOLANA_AGENT_KEY | No | Yes | Optional base58 (or JSON byte-array) secret key of a Solana wallet funded with USDC on Solana. |
AGENT402_NETWORKS | No | No | Optional: restrict and order the chains to pay on (e.g. "base,solana" or a CAIP-2 like eip155:4663). |
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together. The serverUrl entry covers the hosted endpoint.
{
"allowedMcpServers": [
{
"serverCommand": [
"npx",
"-y",
"agent402-mcp"
]
},
{
"serverUrl": "https://agent402.tools/mcp"
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Score breakdown
| Part | Points | What we observed | Result |
|---|---|---|---|
| Maintenance | 40/40 | Last push today, 1 open issues | Strong |
| Security hygiene | 30/35 | Licence AGPL-3.0, SECURITY.md present, published package or hosted endpoint | Strong |
| Adoption | 16/25 | 55 GitHub stars, 970 npm downloads a week | Fair |
Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.
Maintain this server? Claim or correct this listing, or get featured in Finance & commerce. Paid placements are labelled and never change the score.
Five scored MCP servers, every Monday
The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.
| GitHub stars | 55 |
| npm weekly downloads | 970 |
| Last push | today |
| Licence | AGPL-3.0 |
| Open issues | 1 |
| SECURITY.md | Yes |
| Language | JavaScript |
| Latest version published | 2026-11-30 |
Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.
Similar servers
Compare all alternativesAgent Passport System — Cryptographic Identity for AI Agents
Score 83. Maintenance 40 of 40, security 35 of 35, adoption 9 of 25.io.github.agent-passport-system/agent-passport-mcp
Cryptographic identity, delegation, governance, and commerce for AI agents. 154 tools.
Agentic Finance Graph
Score 81. Maintenance 39 of 40, security 35 of 35, adoption 6 of 25.com.agenticfinancegraph/agentic-finance-graph
Ledger of AI-agent money on Base: payments, detections, Gate, signed Pass, Agent Books, free checks
clawpay
Score 74. Maintenance 34 of 40, security 35 of 35, adoption 5 of 25.io.github.up2itnow0822/clawpay
Non-custodial x402 payment MCP server for AI agents. Wallets, payments, and commerce on 17 chains.