Back to Browse

Solana Alpha X402 MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Pay-per-call Solana market intel via x402 USDC: price, news, trending, perps, rugcheck, wallet.

About

Pay-per-call Solana market intel via x402 USDC: price, news, trending, perps, rugcheck, wallet.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (2 strong, 5 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

6 files analyzed · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

What You'll Need

Set these up before or after installing:

Optional Solana private key (base58) used to pay x402 USDC. Without it, tools return readable 402 payment requirements.Required

Environment variable: SOLANA_PRIVATE_KEY

Optional API base URL override (default https://solana-x402-data.netlify.app).Optional

Environment variable: SOLANA_ALPHA_API_BASE

Documentation

View on GitHub

From the project's GitHub README.

solana-alpha-x402-mcp

MCP score

stdio MCP server for the Solana Alpha API (x402 v2, USDC on Solana mainnet).

One tool per paid HTTP endpoint, plus a free list_pricing tool. Each tool calls the live API at https://solana-x402-data.netlify.app (override with API_BASE_URL).

ToolEndpointPrice
list_pricing—free
get_price/api/price0.005 USDC
get_news/api/news0.005 USDC
get_new/api/new0.005 USDC
get_trending/api/trending0.01 USDC
get_perps/api/perps0.01 USDC
get_rugcheck/api/rugcheck0.01 USDC
get_wallet/api/wallet0.02 USDC
get_token_report/api/token-report0.08 USDC

PayTo (never change): 3WN7T7VMnRJzjRhKosbaT2oiwuMiBCe6KBfZGiZygv7n

Behavior

  • No SOLANA_PRIVATE_KEY: tools still call the live API. A 402 is returned as a readable JSON result (price, payTo, network, asset, feePayer) — not a hard failure — so agents can discover payment requirements.
  • With SOLANA_PRIVATE_KEY: uses @x402/fetch + @x402/svm (ExactSvmScheme) to sign and settle USDC payments automatically. Optional MAX_PRICE_USDC rejects calls above the cap.
  • This package is a standalone Node MCP server; it talks to the live Solana Alpha API over HTTPS and does not embed Netlify Functions.

Install (local / from this repo)

npm install
npm run smoke          # initialize + tools/list + get_price → 402 info (no key, no payment)

Published npm name (when published): solana-alpha-x402-mcp
Until then, point your MCP host at the local entry: node /absolute/path/to/solana-alpha-x402-mcp/src/index.mjs

Environment

VariableRequiredMeaning
SOLANA_PRIVATE_KEYnoBuyer secret key: base58 (Phantom/Solana CLI export) or JSON byte array […]. Never commit this.
MAX_PRICE_USDCnoCap per call (e.g. 0.02). Listed price above the cap → error, no payment.
API_BASE_URLnoDefault https://solana-x402-data.netlify.app

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/solana-alpha-x402-mcp/src/index.mjs"],
      "env": {
        "API_BASE_URL": "https://solana-x402-data.netlify.app"
      }
    }
  }
}

With auto-pay (use a funded burner wallet only):

{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/solana-alpha-x402-mcp/src/index.mjs"],
      "env": {
        "SOLANA_PRIVATE_KEY": "YOUR_BASE58_SECRET",
        "MAX_PRICE_USDC": "0.08",
        "API_BASE_URL": "https://solana-x402-data.netlify.app"
      }
    }
  }
}

After npm publish of this package you can use:

{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "npx",
      "args": ["-y", "solana-alpha-x402-mcp"],
      "env": {
        "MAX_PRICE_USDC": "0.08"
      }
    }
  }
}

Cursor (mcp.json)

Project or user MCP config:

{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/solana-alpha-x402-mcp/src/index.mjs"],
      "env": {
        "API_BASE_URL": "https://solana-x402-data.netlify.app"
      }
    }
  }
}

Or via npx once published:

{
  "mcpServers": {
    "solana-alpha-x402": {
      "command": "npx",
      "args": ["-y", "solana-alpha-x402-mcp"]
    }
  }
}

Discovery (HTTP, free)

Public discovery documents on the live API host:

Safety

  • Do not put a real funded key in git, screenshots, or chat logs.
  • Smoke tests intentionally unset SOLANA_PRIVATE_KEY and never settle a payment.
  • PayTo is a receive-only public address hard-coded to match the API; changing it would break settlement against the live service.

Reviews

No reviews yet

Be the first to review this server!