Back to Home
Stopera icon

solx402-mcp-server

by Stopera

Overview

The SOLx402 MCP server enables AI assistants to interact with the x402 payment protocol on the Solana blockchain, facilitating service discovery, consumption, USDC payments, and access to Solana development resources.

Installation

Run Command
pnpm --filter ./apps/mcp-server run dev

Environment Variables

  • PRIVATE_KEY
  • MAINNET_RPC_URL
  • PORT
  • HOST

Security Notes

CRITICAL RISK: The server accepts the Solana wallet's private key via URL query parameters, which is highly insecure. Private keys in URLs are vulnerable to logging, interception, and exposure in browser history and server logs. While 'x-secret: true' is present in configuration, the implementation allows direct transmission, negating this intention. Using a private key in this manner can lead to complete compromise of the associated Solana wallet funds. CORS is set to '*' which is broad but not inherently a risk for this specific issue.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-11-25

Tags

Solanax402AIPaymentsBlockchain