Agentmetal

dev.agentmetalPublished by agentmetal.devv0.3.5Updated Nov 7, 2026

Rent a Linux VPS from an AI agent: provision, SSH in, run commands. Pay USDC (x402) or card.

VerifiedSTDIODesktop onlyCloud & InfrastructureFinance

Overview

AI-generated overview

Lets an assistant rent and operate its own Linux VPS: discover plans, pay in USDC or by card, provision, SSH in, run commands, manage and renew.

What you can do
  • List plans, locations and add-on pricing, and look up servers by id or wallet/account
  • Provision a VPS and extend its lease, paying with USDC over x402
  • Inspect status, IPv4, expiry, bandwidth and storage, plus hypervisor logs, console URL and live metrics
  • Run shell commands as root over SSH on servers provisioned with a managed key
  • Read and change edge-firewall rules, including opening or closing inbound ports
  • Claim an account by email code and redeem it for an API key, optionally linking a wallet
When to use it
Useful when you want an agent to stand up and maintain its own throwaway or long-lived Linux server without human signup, for example to host a service, run builds or test deployments, and to keep paying for and managing it afterwards.
Requirements
Runs locally over stdio as an npm package. Paid tools need WALLET_PRIVATE_KEY holding USDC on Base, with AGENTMETAL_MAX_USDC as the per-request spend cap and AGENTMETAL_NETWORK for the chain. Account-gated tools need AGENTMETAL_API_KEY. AGENTMETAL_BASE_URL overrides the API endpoint. Network access to the AgentMetal API is required.
Before you install
The server asks for a wallet private key (WALLET_PRIVATE_KEY) that signs real USDC payments on Base mainnet; a leaked key exposes the whole wallet, so use a dedicated, low-balance wallet and keep AGENTMETAL_MAX_USDC low. Provisioning, extending, rebooting, destroying servers and changing firewall rules all spend money or change live infrastructure. exec_command runs as root. A managed key's private key is returned once at provisioning.

Installation

In SourceWeft

  1. Open Agentmetal in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

@agentmetal/mcp

MCP server that exposes AgentMetal as tools, so an agent can discover → pay → provision → SSH in → run commands → manage → renew its own Linux server (VPS / cloud instance) with no human signup. Paid tools sign USDC payments over x402 v2 (or pay by card); the rest are plain HTTP.

[agentmetal/mcp MCP server] [CI]

Tools

13 tools. Paid tools sign a USDC/x402 payment; account-gated tools need AGENTMETAL_API_KEY (am_live_…) and ownership of the server.

ToolPays?Account key?What it does
get_catalog——List plans, locations, and add-on pricing (bandwidth, storage). The free discovery hook.
provision_server✅ USDC—Provision a VPS (plan, days, optional ssh_key/via, managed_key) → id, IPv4, SSH. With managed_key:true, a server-side keypair is generated, authorized, and the private key returned once (stored only encrypted) to enable exec_command.
get_server——Status, IPv4, expiry, bandwidth, storage for a server id
list_servers——Fleet for a wallet/account
extend_server✅ USDC—Extend a lease by N days
destroy_server—✅Destroy now
reboot_server—✅Soft-reboot an owned server
server_logs—✅Hypervisor-level diagnostics without logging in: status, recent provider actions, a VNC console URL, and live CPU/disk/net metrics (no text boot log exists provider-side)
exec_command—✅Run a shell command as root over SSH → exit_code/stdout/stderr. Requires a server provisioned with managed_key:true. Bounded: 1–120 s timeout, 256 KB output cap.
get_firewall——Read a box's edge-firewall rules. Callable from the box itself (source-IP identity) or with an account key.
manage_firewall——Open/close inbound ports on a box's edge firewall (protocol/port/source_ips). From the box itself or with an account key; SSH-lockout guarded.
claim_account——Email a one-time claim code (via AWS SES)
verify_claim——Redeem the code for an account API key. Link a wallet by also passing wallet + wallet_signature.

Add-ons (currently API endpoints, not yet separate MCP tools): extra storage ($0.01/GB/day, attached block volume) via POST /v1/servers/{id}/storage and extra bandwidth ($2/TB beyond the 20 TB included) via POST /v1/servers/{id}/bandwidth.

Configuration (env)

VarDefaultPurpose
AGENTMETAL_BASE_URLhttps://api.agentmetal.devAPI base URL
WALLET_PRIVATE_KEY—0x… EVM key used to pay 402s. Omit and paid tools fail with a clear message.
AGENTMETAL_NETWORKeip155:8453CAIP-2 network (Base mainnet)
AGENTMETAL_MAX_USDC50Per-request spend cap, in USDC
AGENTMETAL_API_KEY—am_live_… account key, required for destroy_server / reboot_server / server_logs / exec_command

Use with Claude Code

jsonc
// .mcp.json (or claude mcp add){  "mcpServers": {    "agentmetal": {      "command": "node",      "args": ["packages/mcp/src/index.ts"],      "env": {        "WALLET_PRIVATE_KEY": "0x…",        "AGENTMETAL_MAX_USDC": "50"      }    }  }}

The wallet must hold USDC on Base. The spend cap (AGENTMETAL_MAX_USDC) bounds what any single tool call can pay; a 402 above the cap is refused before signing.

Status: client + server are unit-tested and the stdio handshake is verified. Live USDC settlement needs a funded wallet + an x402 facilitator that supports the exact / eip155:8453 kind.

Source: README.md at commit 5a86406

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

4
  1. v0.3.5LatestNov 7, 2026
  2. v0.3.4Oct 12, 2026
  3. v0.3.3Oct 7, 2026
  4. v0.3.2Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts