Skip to main content
EasyNode x402 gives OpenCode tools for browsing VPS and blockchain node products on EasyNode, purchasing with USDC on Base via x402 payments, managing instances, and decrypting credentials — all from your terminal.
For more details on MCP server configuration in OpenCode, see the OpenCode MCP documentation.

Installation

Verifying the Connection

Restart OpenCode to load the MCP server.

Using EasyNode x402

Once connected, you can ask the agent to use EasyNode tools directly:
> List available VPS products

> Purchase a 1-month VPS-S1 plan

> Show me my active instances

> What are the connection details for instance abc123?

> Renew my VPS instance for 3 months

Configuration

VariableRequiredDefaultDescription
EASYNODE_PRIVATE_KEYYesWallet private key (0x...)
EASYNODE_MAX_PAYMENTNo100Max USDC per transaction
Run npx @easynodexyz/mcp-x402 setup to store your key in ~/.easy-node/.env instead of setting system environment variables. Environment variables override values in ~/.easy-node/.env.

Available Tools

ToolDescription
list_productsBrowse available VPS and blockchain node products
create_orderPurchase a product with USDC via x402 payment
get_orderCheck order status and delivery progress
list_instancesList all active instances
get_instanceView instance details and credentials
renew_instanceRenew an existing instance subscription
update_custom_nameRename an instance