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

Score 86. Maintenance 40 of 40, security 30 of 35, adoption 16 of 25.

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-mcp

Assembled 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/mcp

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
AGENT_KEYNoYesHex 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_BUDGETNoNoOptional 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_CALLNoNoMax 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_KEYNoYesPrepaid 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_KEYNoYesOptional base58 (or JSON byte-array) secret key of a Solana wallet funded with USDC on Solana.
AGENT402_NETWORKSNoNoOptional: 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

PartPointsWhat we observedResult
Maintenance40/40Last push today, 1 open issuesStrong
Security hygiene30/35Licence AGPL-3.0, SECURITY.md present, published package or hosted endpointStrong
Adoption16/2555 GitHub stars, 970 npm downloads a weekFair

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.

Get The Plug Weekly
GitHub stars55
npm weekly downloads970
Last pushtoday
LicenceAGPL-3.0
Open issues1
SECURITY.mdYes
LanguageJavaScript
Latest version published2026-11-30

Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.

Similar servers

Compare all alternatives

Agent 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.

★ 4↓ 134/wkApache-2.0pushed 3d ago RemoteFinance & commerce

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

★ 0↓ 350/wkApache-2.0pushed 3d ago RemoteFinance & commerce

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.

★ 8MITpushed 5d ago Finance & commerce