# Agentmetal MCP [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/agentmetal/mcp  
**GitHub Stars:** 2  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/agentmetal-mcp

## Description
Provision, SSH into, run commands on, and manage Linux VPSes from an agent — pay USDC over x402 or by card over HTTP 402, a running box in under 60s. No signup, no API key to buy.

## Tools
Capabilities this server exposes over MCP:

- **list_plans** — Step 1 of renting a real Linux server. Lists AgentMetal VPS plans (vCPU/RAM/disk, USD/day + USD/mo, included egress). After you pick a plan, call `get_payment_options` for the exact payment, then provision by POSTing to the API 402 or running the local @agentmetal/mcp (which pays from your wallet).
- **get_payment_options** — Step 2: get the exact payment to RENT a plan for N days (USDC via x402 on Base + card availability). This hosted server holds NO funds and cannot provision — it returns everything needed to pay elsewhere. The `provision` field spells out the three ways to actually get the server. Read it and act on it.
- **get_server** — Fetch a server's current status, plan, expiry, and bandwidth usage. (Network details like the IPv4/SSH target are returned only to the provisioner via the API, not on this public endpoint.)
- **list_servers** — List the servers provisioned by a payer wallet address.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "agentmetal-mcp": {
    "url": "https://api.agentmetal.dev/mcp"
  }
}
```

## Documentation

## What agentmetal/mcp MCP server does

The agentmetal/mcp MCP server gives an agent an MCP interface to AgentMetal Linux VPS infrastructure. It supports the full server lifecycle: inspect available plans, provision a machine for a chosen number of days, retrieve its status, renew the lease, reboot it, or destroy it. Agents can also inspect a fleet associated with a wallet or account.

Provisioning accepts a plan and duration, with optional SSH-key settings. If `managed_key` is enabled, AgentMetal creates a keypair, authorizes the public key on the instance, and returns the private key once. That mode is required for the server's command-execution tool. The returned command result includes an exit code, standard output, and standard error.

## Tools and capabilities

The 13 exposed tools cover infrastructure discovery, operations, access, and account handling:

- `get_catalog` lists plans, locations, and pricing for bandwidth and storage add-ons.
- `provision_server`, `get_server`, and `list_servers` support deployment and inventory.
- `extend_server`, `reboot_server`, and `destroy_server` manage an instance after creation.
- `server_logs` reports provider actions, server status, a VNC console URL, and live CPU, disk, and network measurements. It does not provide a provider-side text boot log.
- `exec_command` runs a root shell command over SSH, with a one-to-120-second timeout and a 256 KB output limit.
- `get_firewall` reads edge-firewall rules, while `manage_firewall` opens or closes inbound ports by protocol, port, and source IP. SSH lockout protection is applied.
- `claim_account` sends an email claim code, and `verify_claim` exchanges that code for an account API key. A wallet can be linked by supplying a wallet and wallet signature.

Extra storage and bandwidth are available through API endpoints, but they are not separate MCP tools.

## How it works

The agentmetal/mcp MCP server uses plain HTTP for free and account-related operations. Paid operations sign USDC payments through x402; card payment is also supported over HTTP 402. The wallet must contain USDC on Base when using the documented default network, and payment requests are limited by `AGENTMETAL_MAX_USDC` before signing.

Some operations require ownership and an `AGENTMETAL_API_KEY`: destroying or rebooting a server, viewing provider diagnostics, and running commands. Firewall access can be identified from the server's source IP or authorized with an account key. Command execution specifically depends on a server created with managed-key access.

## Setup and configuration

The repository provides a stdio MCP server and documents configuration for Claude Code through `.mcp.json` or `claude mcp add`. Set `WALLET_PRIVATE_KEY` for paid calls. `AGENTMETAL_BASE_URL` defaults to `https://api.agentmetal.dev`, `AGENTMETAL_NETWORK` defaults to `eip155:8453`, and `AGENTMETAL_MAX_USDC` defaults to `50`. Set `AGENTMETAL_API_KEY` for account-gated tools.

The client and server are unit-tested, and the stdio handshake is verified. Live USDC settlement additionally needs a funded wallet and an x402 facilitator supporting the `exact` payment kind on `eip155:8453`.

## Limitations and notes

The agentmetal/mcp MCP server does not expose storage or bandwidth add-ons as MCP-native tools yet; those functions are currently API endpoints. Private managed SSH keys are returned only once, so an agent must preserve the value if later command execution is needed. Root command output is capped at 256 KB, and command duration is bounded. Account-gated tools also require the appropriate API key and server ownership.

_Full upstream README: https://allmcps.com/mcp/agentmetal-mcp/readme_

