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
pnpm --filter ./apps/mcp-server run devEnvironment 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
solana-mcp-server
A Solana MCP (Multi-Chain Protocol) server that acts as a proxy for Solana RPC requests, offering enhanced capabilities like caching, metrics, and local sBPF program testing and management.
solx402-mcp-server
The SOLx402 MCP Server enables AI assistants to interact with the x402 payment protocol on Solana, providing tools for service discovery, consumption, USDC payments, and access to Solana development resources.
INPAYX
Develops and manages autonomous, evolving AI agents on the Solana blockchain for Web3 interactions, including trading, governance, and data analysis, treating code as a living, self-mutating organism.
mcp-x402
Generates X402 payment headers and looks up associated wallet addresses for internet-native payments using the Model Context Protocol.