SkillAgentSearch skills...

solx402-mcp-server

SOLx402 MCP Server is a Model Context Protocol (MCP) server that enables AI assistants to interact with the x402 payment protocol on Solana.

Install / Use

claude mcp add leandrogavidia -- npx -y github:leandrogavidia/solx402-mcp-server

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

75/100

Supported Platforms

Claude Code
Claude Desktop

Tags

Our assessment of solx402-mcp-server

solx402-mcp-server scores 75/100 on our quality scale, 99th of 108 Finance & Accounting skills we index.

Its MCP Server is 5.9 KB long, well organised into 11 sections with 1 code example: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
17/20
Description
15/15
Adoption
4/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 9 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • Our last check on 2026-10-21 found the source still online.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 91/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

solx402-mcp-server compared with similar skills

All 4 of these similar skills score higher than solx402-mcp-server; compare them before choosing.

SkillScoreStarsUpdatedFormat
solx402-mcp-server (this skill)by leandrogavidia75109mo agoMCP Server
Agent-Reachby Panniantong100109.5k1d agoCLAUDE.md
headroomby headroomlabs-ai10079.0ktodayCLAUDE.md
CowAgentby zhayujie10047.8ktodayCLAUDE.md
Scraplingby D4Vinci10098.7k1d agoMCP Server

Frequently asked questions

How do I install solx402-mcp-server?
Run claude mcp add leandrogavidia -- npx -y github:leandrogavidia/solx402-mcp-server. The install tabs above show the steps for each supported agent.
Which AI agents does solx402-mcp-server work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is solx402-mcp-server safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 91/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is solx402-mcp-server still maintained?
The repository was last updated about 9 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
<div align="center"> <p></p> <img src="./apps/mcp-server/assets/solx402-logo.png" width=140 alt="Solana logo" /> <p></p> <h1>SOLx402 MCP Server</h1> <p> <a href="https://www.x402.org/" target="_blank"> <img src="./apps/mcp-server/assets/x402-badge.png" width=132 alt="x402 Badge"> </a> &nbsp;&nbsp; <a href="https://smithery.ai/server/@leandrogavidia/solx402-mcp-server" target="_blank"> <img src="https://smithery.ai/badge/@leandrogavidia/marinade-finance-mcp-server" alt="smithery badge"> </a> </p> <p></p> <p>SOLx402 MCP Server is a Model Context Protocol (MCP) server that enables AI assistants to interact with the x402 payment protocol on Solana. It provides tools for discovering and consuming x402-enabled services, managing USDC payments, querying protocol documentation, and accessing Solana development resources through integrated MCP clients.</p>

<a href="https://solx402-mcp-server-web.vercel.app/" target="_blank">Official page</a>

</div>

Diagram flow

<img src="./apps/mcp-server/assets/x402-protocol-flow.avif" width=840 alt="x402 Diagram flow">

Integration

To integrate the SOLx402 MCP Server, follow these steps:

  1. Go to the SOLx402 MCP Server Smithery page.

  2. Sign in.

  3. Click the Configure button.

  4. Fill in the required fields (and optional fields, if needed).

  5. Generate the URL using your API key and Profile, then copy it.

  6. Add the generated MCP Server URL to your system (e.g., Claude, Cursor, VS Code, etc.).

    {
        "mcpServers": {
                "solx402-mcp-server": {
                    "url": "https://server.smithery.ai/@leandrogavidia/solx402-mcp-server/mcp?api_key=<YOUR-SMITHERY-API-KEY>&profile=<YOUR-SMITHERY-PROFILE>",
                    "type": "streamable-http",
                    "timeout": 120000
                },
            }
    }
    

Tools

  • x402 Protocol

    • Documentation

      • search_x402_documentation: Search across the x402 documentation to find relevant information, code examples, API references, and guides.

      • x402_protocol_flow: Visual diagram showing the x402 protocol flow and architecture.

    • Services Discovery

      • get_x402_services: Retrieve a list of available x402 services from the facilitator.

      • get_facilitators: Retrieve a list of known Solana facilitators.

    • Service Consumption

      • consume_x402_service: Consume a specific x402 service with automatic payment handling.

        ⚠️ Note: x402 services are external services maintained by third-party teams. While these services appear in the discovery layer, they may be temporarily down, unavailable, or experiencing issues. Service availability depends entirely on the external teams managing them.

  • Wallet Operations

    • Wallet Info

      • get_wallet_public_key: Retrieve the public key of the configured wallet.
    • Balance

      • get_wallet_usdc_balance: Check the USDC token balance of the configured wallet.
  • Solana Development Resources (Optional)

    • Expert Assistance

      • Ask_Solana_Anchor_Framework_Expert: Ask questions about developing on Solana with the Anchor Framework.

      • Solana_Expert__Ask_For_Help: Get expert help on Solana development topics, concepts, APIs, SDKs, and errors.

    • Documentation

      • Solana_Documentation_Search: Search documentation across the Solana ecosystem for up-to-date information.

⚠️ Important: Request Timeout Configuration

Critical Setup Requirement: When using this MCP server, it's essential to configure your MCP client with a minimum request timeout of 60,000ms (60 seconds) to ensure successful execution of x402 service consumption.

Why This Matters:

  • x402 services are external APIs that may require significant processing time.
  • Payment transactions are executed on the Solana blockchain, which can take time to confirm.
  • Short timeouts can cause requests to fail after USDC has been charged, resulting in payment without receiving the service.
  • By default, MCP servers use a maximum request timeout of 10 seconds when running, which is quite low in some cases.

Configuration Examples:

{
  "mcpServers": {
    "solx402": {
      "url": "https://server.smithery.ai/@leandrogavidia/solx402-mcp-server/mcp?api_key=<YOUR-SMITHERY-API-KEY>&profile=<YOUR-SMITHERY-PROFILE>",
      "type": "streamable-http",
      "timeout": 120000 // 2 Minutes
    }
  }
}

Query Parameters:

The MCP server now accepts configuration through URL query parameters, making setup simpler and more flexible:

  • privateKey (required): Base58-encoded private key for your Solana wallet

  • mainnetRpcUrl (required): Solana RPC URL for mainnet operations

  • isMainnet (optional): Set to true for mainnet, false for devnet (Default: false)

  • facilitatorUrl (optional): URL of the x402 facilitator (default: PayAI Facilitator URL)

  • maxPrice (optional): Maximum price to pay for services in USDC microcents, e.g. 10000 = 0.01 USDC (default: 0)

  • useSolanaMcpServer (optional): Enable Solana development tools integration (default: false)

Related Issues:

Note: Always ensure your MCP client timeout is at least 120 seconds to prevent payment issues and service consumption failures.


Configuration Options

1. Query Parameters

Pass configuration directly in the MCP client URL as shown in the examples above.

2. Environment Variables

You can use environment variables:

  • PORT: Port where your MCP server will run (default: 8001)
  • HOST: Host where your MCP server will run (default: 127.0.0.1)

Related Skills

View on GitHub
GitHub Stars10
CategoryFinance
Updated9mo ago
Forks2

Languages

TypeScript

Trust signals

91/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 low1 info