For more details on MCP server configuration in OpenCode, see the OpenCode MCP documentation.
Installation
- Remote (Recommended)
- Local
No local dependencies required. Connects to EasyNode’s hosted MCP server.
Open your OpenCode config
Create or edit
opencode.json in your project root, or ~/.config/opencode/opencode.json for global config. See the OpenCode config docs for more details.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:Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
EASYNODE_PRIVATE_KEY | Yes | — | Wallet private key (0x...) |
EASYNODE_MAX_PAYMENT | No | 100 | Max USDC per transaction |
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
| Tool | Description |
|---|---|
list_products | Browse available VPS and blockchain node products |
create_order | Purchase a product with USDC via x402 payment |
get_order | Check order status and delivery progress |
list_instances | List all active instances |
get_instance | View instance details and credentials |
renew_instance | Renew an existing instance subscription |
update_custom_name | Rename an instance |