Sign In

@agentmetal/mcp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentmetal/mcp

MCP server for AgentMetal — let an AI agent discover, pay for (USDC via x402 or card), provision, and manage Linux VPSes over HTTP 402. No signup.

Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
204
11.48%
Maintainers
1
Weekly downloads
 
Created
Source

@agentmetal/mcp

MCP server that exposes AgentMetal as tools, so an agent can discover → pay → provision → renew a server with no human signup. Paid tools sign USDC payments over x402 v2; the rest are plain HTTP.

agentmetal/mcp MCP server

Tools

ToolPays?What it does
provision_server✅ USDCProvision a VPS (plan, days, optional ssh_key/via) → id, IPv4, SSH
get_serverStatus, IPv4, expiry for a server id
extend_server✅ USDCExtend a lease by N days
destroy_serverDestroy now (needs AGENTMETAL_API_KEY)
claim_accountEmail a one-time claim code
verify_claimRedeem the code for an account API key

Configuration (env)

VarDefaultPurpose
AGENTMETAL_BASE_URLhttps://api.agentmetal.devAPI base URL
WALLET_PRIVATE_KEY0x… 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_KEYam_live_… account key for destroy / account routes

Use with Claude Code

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

Keywords

mcp

FAQs

Package last updated on 15 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts