Spraay Solana Gateway β€” Batch Payments For Ai Agents On Solana

SSE

by plagtech

240 downloads Not rated yet MIT
GitHub SSE

About

# πŸ’§ Spraay Solana Gateway **x402-powered batch payment infrastructure for AI agents on Solana.** Any AI agent can batch send SOL, USDC, BONK, or any SPL token to 1,000+ wallets via the x402 payment protocol. No API keys. No accounts. Pay per request. ## πŸ—οΈ Architecture ``` AI Agent (any framework) β”‚ β”œβ”€β”€ HTTP Request │…

Details

Transport
SSE
License
MIT

Explore

- x402 payment protocol with per‑request billing
- Batch send SOL, USDC, BONK, or any SPL token
- Send to 1,000+ wallets in a single request
- No API keys, no accounts required
- Built‑in MCP server for AI agent frameworks
- Health check and x402 discovery endpoints

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Spraay Solana Gateway β€” Batch Payments For Ai Agents On Solana
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

git clone https://github.com/plagtech/spraay-solana-gateway.git
cd spraay-solana-gateway
npm install

```bash
cp .env.example .env

npm install @modelcontextprotocol/sdk

spraay_solana_batch_send_sol

Batch send SOL to multiple Solana wallets in one call. Supports up to 1000 recipients. Auto-chunks large batches. Costs $0.01 USDC via x402 protocol.

spraay_solana_batch_send_token

Batch send any SPL token (USDC, BONK, WIF, JUP, etc.) to multiple Solana wallets. Auto-creates token accounts. Costs $0.01 USDC via x402.

spraay_solana_quote

Get a cost estimate for a Spraay batch send on Solana. Returns fees, tx count, and timing. Costs $0.001 USDC via x402.

spraay_solana_status

Check the status of a Solana transaction by its signature. Costs $0.001 USDC via x402.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "spraay solana gateway \u2014 batch payments for ai agents on solana": {
            "spraay-solana": {
                "url": "https://gateway-solana.spraay.app/mcp"
            }
        }
    }
}

McpServers

{
    "spraay-solana": {
        "url": "https://gateway-solana.spraay.app/mcp"
    }
}

x402-powered batch payment infrastructure for AI agents on Solana.

Any AI agent can batch send SOL, USDC, BONK, or any SPL token to 1,000+ wallets via the x402 payment protocol. No API keys. No accounts. Pay per request.

πŸ—οΈ Architecture

AI Agent (any framework)
    β”‚
    β”œβ”€β”€ HTTP Request
    β”‚
    β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Spraay Solana Gateway                  β”‚
β”‚   gateway-solana.spraay.app              β”‚
β”‚                                          β”‚
β”‚   @x402/express + @x402/svm             β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”‚
β”‚   β”‚ x402 Paymentβ”‚  β”‚ Solana Batch β”‚     β”‚
β”‚   β”‚ Middleware   β”‚  β”‚ Engine       β”‚     β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚
β”‚          β”‚                β”‚              β”‚
β”‚          β–Ό                β–Ό              β”‚
β”‚   USDC payment     Execute batch        β”‚
β”‚   verified via     SOL/SPL transfers    β”‚
β”‚   facilitator                           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
    β”‚
    β–Ό
Solana Network

πŸ“‘ Endpoints

| Endpoint | Method | Price | Description |
|----------|--------|-------|-------------|
| /solana/batch-send-sol | POST | $0.01 | Batch send SOL to multiple wallets |
| /solana/batch-send-token | POST | $0.01 | Batch send any SPL token |
| /solana/quote | GET | $0.001 | Get cost estimate |
| /solana/status/:txid | GET | $0.001 | Check transaction status |
| /health | GET | Free | Health check |
| /.well-known/x402 | GET | Free | x402 discovery manifest |

πŸš€ Quick Start

1. Clone & Install

git clone https://github.com/plagtech/spraay-solana-gateway.git
cd spraay-solana-gateway
npm install

2. Configure

```bash
cp .env.example .env

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.