MCP X402 logo

MCP X402

by @easynodexyz

Buy and manage Easy Node VPS and blockchain node products with USDC on Base through MCP tools.

Install MCP X402

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "easynodexyz-mcp-x402": {
      "command": "npx",
      "args": [
        "-y",
        "@easynodexyz/mcp-x402"
      ],
      "env": {
        "EASYNODE_PRIVATE_KEY": "YOUR_VALUE_HERE",
        "EASYNODE_API_URL": "YOUR_VALUE_HERE",
        "EASYNODE_MAX_PAYMENT": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env EASYNODE_PRIVATE_KEY=YOUR_VALUE_HERE --env EASYNODE_API_URL=YOUR_VALUE_HERE --env EASYNODE_MAX_PAYMENT=YOUR_VALUE_HERE --transport stdio easynodexyz-mcp-x402 -- npx -y @easynodexyz/mcp-x402

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @easynodexyz/mcp-x402

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

@easynodexyz/mcp-x402 connects AI assistants to Easy Node's x402 API for browsing and purchasing VPS and blockchain node products with USDC on Base. It exposes tools for product discovery, orders, instance details, renewals, and renaming, while handling the x402 payment exchange during purchases. The package runs over stdio through npx and includes an interactive setup command for configuring a wallet and generating IDE configuration. Use it when an agent needs to provision or manage Easy Node instances without manually calling the API.

Use cases

  • List Easy Node VPS and blockchain node products
  • Purchase a Base-hosted VPS with USDC
  • Check an order's provisioning status
  • Retrieve instance connection details
  • Renew or rename a running instance

Key features

  • Lists VPS and blockchain node products with USDC pricing
  • Creates purchases through Easy Node's x402 API
  • Signs EIP-3009 USDC authorizations on Base
  • Lists and inspects wallet-owned instances
  • Renews subscriptions and updates instance names
  • Enforces a configurable maximum payment

Tools19

What MCP X402 lets your agent do. Expand a tool for its parameters.

Self-reported~31 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @easynodexyz/mcp-x402 (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
npm downloads953Package downloads in the last 30 days.
Last commit17d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed19Callable tools this server registers over MCP.

How MCP X402 works

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:

Terminal
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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP X402

@easynodexyz/mcp-x402 is an MCP server that connects to Easy Node's x402 API and lets AI assistants list VPS and blockchain node products, create USDC-on-Base orders, check order status, list and inspect instances, renew subscriptions, and rename instances. It signs the required payment authorization during purchases.

Run `npx @easynodexyz/mcp-x402 setup` to install and configure it interactively. The wizard asks for a wallet private key, saves configuration under `~/.easy-node/.env`, and outputs IDE configuration. You can also launch the package directly with `npx @easynodexyz/mcp-x402` from an MCP client's stdio configuration.

Set the required `EASYNODE_PRIVATE_KEY` environment variable to a wallet private key beginning with `0x`. You may provide it in the MCP client's `env` block, a project `.env` file, or `~/.easy-node/.env`. `EASYNODE_API_URL` and `EASYNODE_MAX_PAYMENT` are optional settings.

Yes, @easynodexyz/mcp-x402 works with Cursor through a stdio MCP configuration. Add an `easynode-x402` entry to the project or global `.cursor/mcp.json`, use `npx` as the command, pass `@easynodexyz/mcp-x402` as the argument, and restart Cursor.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP X402 AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/easynodexyz-mcp-x402?style=directory)](https://allmcps.com/mcp/easynodexyz-mcp-x402)
HTML Embed
<a href="https://allmcps.com/mcp/easynodexyz-mcp-x402"><img src="https://allmcps.com/api/badge/easynodexyz-mcp-x402?style=directory" alt="MCP X402 on AllMCPs" /></a>