# agentmetal

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 2
- Author: agentmetal
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/agentmetal/mcp
- Updated: 2026-10-12
- HTML: https://affpapa.org/en/nevibecode/mcp/agentmetal

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add agentmetal -- npx -y @agentmetal/mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add agentmetal -- npx -y @agentmetal/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "agentmetal": {
            "command": "npx",
            "args": [
                "-y",
                "@agentmetal/mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "agentmetal": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@agentmetal/mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add agentmetal npx -y @agentmetal/mcp
```

## When to use it
- 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
- 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

## Similar
- [Palmyr](https://affpapa.org/en/nevibecode/mcp/palmyr.md) — MCP server · ★ 6
- [cygnus-ssh-mcp](https://affpapa.org/en/nevibecode/mcp/cygnus-ssh-mcp.md) — MCP server · ★ 8
- [linux-lateral-movement](https://affpapa.org/en/nevibecode/skills/linux-lateral-movement.md) — skill · 3600 installs
- [linux-hardening](https://affpapa.org/en/nevibecode/skills/linux-hardening.md) — skill · 769 installs
- [ssh-configuration](https://affpapa.org/en/nevibecode/skills/ssh-configuration.md) — skill · 451 installs
- [linux-mcp-server](https://affpapa.org/en/nevibecode/mcp/linux-mcp-server.md) — MCP server · ★ 315

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
