Back to Home
leandrogavidia icon

solx402-mcp-server

by leandrogavidia

Overview

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.

Installation

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

Environment Variables

  • PORT
  • HOST
  • SMITHERY_API_KEY
  • SMITHERY_PROFILE
  • ASI1_API_KEY
  • privateKey
  • mainnetRpcUrl
  • isMainnet
  • facilitatorUrl
  • maxPrice
  • devnetRpcUrl
  • useSolanaMcpServer

Security Notes

The server design requires passing the Solana wallet's private key (Base58-encoded) via URL query parameters. While the `smithery.yaml` marks this as `x-secret: true`, passing sensitive credentials like a private key directly in a URL query parameter is a significant security risk. Query parameters can be logged by proxies, web servers, and appear in browser history or referrer headers, potentially exposing the private key. A more secure method would involve environment variables or a secure secret management system where the key is never transmitted directly in the URL.

Similar Servers

Stats

Interest Score39
Security Score3
Cost ClassHigh
Avg Tokens1000
Stars7
Forks0
Last Update2025-12-10

Tags

AISolanaPaymentsx402 ProtocolMCP