# @easynodexyz/mcp-x402 [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/easynodexyz/mcp-x402  
**GitHub Stars:** 6  
**npm Downloads (last month):** 953  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/easynodexyz-mcp-x402

## Description
MCP server for AI agents to purchase VPS/Node products via Easy Node's x402 API with USDC on Base

## Tools
Capabilities this server exposes over MCP:

- **category**
- **productId**
- **period**
- **quantity**
- **customName**
- **region**
- **list_products**
- **EU**
- **US-CENTRAL**
- **US-EAST**
- **US-WEST**
- **UK**
- **JPN**
- **IND**
- **AUS**
- **addOns**
- **orderId**
- **instanceId**
- **type**

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-x402": {
    "command": "npx",
    "args": ["-y","@easynodexyz/mcp-x402"],
    "env": {
      "EASYNODE_PRIVATE_KEY": "",
      "EASYNODE_API_URL": "",
      "EASYNODE_MAX_PAYMENT": ""
    }
  }
}
```

**Requires environment variables:** `EASYNODE_PRIVATE_KEY`, `EASYNODE_API_URL`, `EASYNODE_MAX_PAYMENT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What @easynodexyz/mcp-x402 does

@easynodexyz/mcp-x402 gives MCP-compatible AI clients access to Easy Node's VPS and blockchain node catalog. Agents can inspect available products and USDC prices, place subscriptions, track orders, and manage instances associated with the configured wallet.

Purchases use Easy Node's x402 API on Base. The server signs the required USDC authorization with the configured wallet, allowing an agent to request a product purchase without separately implementing the payment exchange. Supported subscription periods are one, three, or six months.

## How it works

The server starts as a local stdio process, typically with `npx @easynodexyz/mcp-x402`. An MCP client sends tool calls to that process, and the server communicates with Easy Node's API.

For an order, the first API request receives payment requirements through HTTP 402. The server signs an EIP-3009 `TransferWithAuthorization` for USDC, retries the request with the payment signature, and returns the resulting order after on-chain settlement and order creation.

Product purchases can include a quantity, custom instance name, region, and VPS add-ons. Available regions and add-ons are returned by the product listing tool. The configured payment ceiling is checked before a transaction is signed.

## Setup and configuration

Run the interactive setup wizard with:

```bash
npx @easynodexyz/mcp-x402 setup
```

The wizard requests a wallet private key, stores configuration in `~/.easy-node/.env`, and prints an MCP configuration to add to an IDE. Manual setup is also supported through environment variables in the MCP client configuration or a `.env` file.

Required configuration:

- `EASYNODE_PRIVATE_KEY`: the wallet private key, including its `0x` prefix.

Optional settings include `EASYNODE_API_URL`, which defaults to `https://api.easy-node.xyz/api`, and `EASYNODE_MAX_PAYMENT`, which defaults to 100 USDC per transaction. Configuration is resolved from `~/.easy-node/.env`, the project-level `.env`, and process environment variables, with later sources taking precedence.

Claude Desktop, Claude Code, Cursor, and Continue can launch the package with the `npx` command and stdio transport. VS Code users can add it through Continue's MCP configuration. Restart the client after changing its MCP settings.

## Tools and capabilities

The available MCP tools are:

- `list_products` lists VPS and blockchain node products, optionally filtered by `vps` or `node`.
- `create_order` buys a product for one, three, or six months, with optional quantity, name, region, and VPS add-ons.
- `get_order` retrieves the status of an order by ID.
- `list_instances` lists instances owned by the configured wallet.
- `get_instance` returns instance information and connection details for a VPS or node.
- `renew_instance` extends a VPS or node subscription for a selected period.
- `update_custom_name` assigns or changes an instance name up to 100 characters.

## Limitations and notes

A wallet private key is required to run the server and authorize purchases. Keep the key protected; the setup process stores private-key configuration with owner-only read/write permissions. The wallet signs only the USDC EIP-3009 authorization used by the payment flow.

The maximum payment setting can block an order when its amount exceeds the configured limit. The API URL must point to an endpoint that supports x402 payment requirements; an endpoint without the expected payment header cannot complete the purchase flow. Product regions, add-ons, and pricing are supplied by `list_products` and may affect the final monthly amount.

The package is licensed under BUSL-1.1.

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

