# easynode-x402

🖥️ Let AI Agents Buy & Manage Cloud Infrastructure with x402 protocol.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add easynode/x402

# Browse available tools
npx -y @smithery/cli@latest tool list easynode/x402

# Get full schema for a tool
npx -y @smithery/cli@latest tool get easynode/x402 list_products

# Call a tool
npx -y @smithery/cli@latest tool call easynode/x402 list_products '{}'
```

## Direct MCP Connection

Endpoint: `https://x402--easynode.run.tools`

**Required config:**
- `X-Easynode-Private-Key` (header) — You payer EVM wallet private key. 
Please read https://x402.easy-node.xyz/guides/security

## Tools (7)

- `list_products` — List available VPS and blockchain node products with USDC pricing. Returns product IDs, names, pricing, and availabilit…
- `create_order` — Purchase a VPS or blockchain node product using USDC on Base. Handles the x402 payment flow automatically. Returns orde…
- `get_order` — Get the status and details of an existing order by ID. Returns order status, products, and payment information.
- `list_instances` — List all VPS and Node instances owned by the wallet. Returns instance IDs, types, statuses, and subscription dates.
- `get_instance` — Get detailed information about a specific instance including connection details (IP address, SSH port, admin credential…
- `renew_instance` — Renew an existing VPS or Node instance subscription using USDC on Base. Extends the subscription period. Handles x402 p…
- `update_custom_name` — Set or update the custom name of a VPS or Node instance. Useful for labeling instances with friendly names.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get easynode/x402 <tool-name>
```
