Skip to main content
On Metal, agents pay for HTTP requests in *USDZ over x402. metal-agent is the CLI and MCP server that signs the agent’s payments.

Point your agent at the skill

Copy this into Claude Code, Cursor, Codex or any agent that runs commands:
The agent follows the skill. It shows you each step’s output and makes one test payment, to Metal’s demo seller.

What you end up with

  • A metal-agent entry in your agent’s MCP configuration with three tools: pay, fund and status.
  • A funded key for the agent on testnet. Its key file is at ~/.metal-agent/key.json; treat it as the secret.
  • One settled payment to Metal’s demo seller, with its page on the block explorer.

Next steps

x402 on Metal

The payment loop and the two ways to pay.

Pay for an API

The same steps, one command at a time.