Skip to main content
MCP server CX Codex

agentmetal — Claude Code MCP server: rent a VPS from an agent

Gives an agent 13 tools to order a Linux VPS, SSH in and run commands. Paid calls settle in USDC over x402, or by card.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add agentmetal -- npx -y @agentmetal/mcp
Open on GitHub

What agentmetal does

This MCP server exposes AgentMetal as tools, so an agent can go from picking a plan to running shell commands on its own box. No human signup: claim_account emails a one-time code, verify_claim turns it into an am_live_… key, and a wallet can be linked along the way.

Paid calls sign a USDC payment over x402 v2; everything else is plain HTTP. provision_server takes a plan and a number of days, and with managed_key:true it generates a keypair server-side and hands back the private key once — exec_command depends on it. Commands run as root, with a timeout between 1 and 120 seconds and a 256 KB output cap. Account-gated tools need AGENTMETAL_API_KEY, and destroy_server, reboot_server, server_logs and exec_command also check that you own the server.

Check the wallet before you start: it has to hold USDC on Base, or the paid tools will fail. AGENTMETAL_MAX_USDC caps a single request at 50 USDC by default, and a 402 above that limit is refused before signing. Live USDC settlement needs a funded wallet plus an x402 facilitator that supports the exact / eip155:8453 kind.

What it helps with

  • spin up a VPS without signing up in a hosting panel
  • run a root shell command over SSH
  • extend a server lease by a set number of days
  • read CPU, disk and network metrics without logging in
  • open or close an inbound port on the edge firewall

Example prompts for the agent

  • List plans and locations with get_catalog
  • Provision a server for 7 days with managed_key:true and run uname -a via exec_command
  • Open port 443 on the firewall and show me the current rules

How to install agentmetal

Platform CLI

claude mcp add agentmetal -- npx -y @agentmetal/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about agentmetal

How do I install agentmetal in Claude Code?

Run claude mcp add agentmetal -- npx -y @agentmetal/mcp.

What does agentmetal do?

It hands the agent tools for renting a Linux VPS: browse plans, pay, provision, run SSH commands, reboot, read logs, manage the firewall and renew the lease.

What do the paid tools need to work?

A wallet holding USDC on Base and the WALLET_PRIVATE_KEY variable. A 402 above AGENTMETAL_MAX_USDC is refused before signing.

Similar MCP servers

All MCP servers for DevOps and infrastructure →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor