1. Conduid
  2. Developer Tools
  3. plagtech/spraay-x402-mcp
MCP server · Developer Tools

plagtech/spraay-x402-mcp

MCP server for Spraay x402 Gateway —33 paid tools for onchain data, AI models & batch payments on Base

Unclaimed MIT last commit 7 months ago ai-agentsfinancedefibasepaymentsmcp-servermcpcryptousdc
67Good

Scored 5 days ago · breakdown

About plagtech/spraay-x402-mcp

plagtech/spraay-x402-mcp is an MCP server published by plagtech in the Developer Tools category: mCP server for Spraay x402 Gateway —33 paid tools for onchain data, AI models & batch payments on Base.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/plagtech/spraay-x402-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (97)

spraay_analytics_txhistoryGet decoded transaction history for any address on Base. Returns transaction types, values, timestamps, and decoded method calls. Costs $0.003 USDC.

Parameters not published.

spraay_analytics_walletGet a comprehensive wallet profile including ETH + token balances, wallet age, entity classification, and portfolio breakdown on Base. Costs $0.005 USDC.

Parameters not published.

spraay_audit_logRecord an immutable audit trail entry for payments, escrows, compliance actions, and other events. Data persists in Supabase. Costs $0.001 USDC.

Parameters not published.

spraay_audit_queryQuery the audit trail by actor, action, resource, or time range. Returns matching entries sorted newest first. Data persists in Supabase. Costs $0.005 USDC.

Parameters not published.

spraay_auth_sessionCreate an authenticated session with scoped permissions and configurable TTL. Returns a session token (spr_...) for use in Authorization headers. Data persists in Supabase. Costs $0.005 USDC.

Parameters not published.

spraay_auth_verifyVerify a session token and check its permissions, expiry, and associated address. Data persists in Supabase. Costs $0.001 USDC.

Parameters not published.

spraay_balancesGet ETH + ERC-20 token balances for any wallet on Base. Returns formatted balances with USD values where available. Costs $0.002 USDC.

Parameters not published.

spraay_batch_estimateEstimate gas cost for a batch payment before executing. Returns estimated gas in wei and USD equivalent. Costs $0.001 USDC.

Parameters not published.

spraay_batch_executeExecute a batch payment to up to 200 recipients in a single Base transaction via the Spraay protocol. Supports any ERC-20 token or native ETH. Returns unsigned transaction data for the sender to sign. Costs $0.01 USDC.

Parameters not published.

spraay_bridge_chainsList all chains supported by the Spraay bridge aggregator (LI.FI). Returns chain names, IDs, and supported tokens. Costs $0.001 USDC.

Parameters not published.

Show all 97 tools
spraay_bridge_quoteGet a cross-chain bridge quote via LI.FI aggregator. Supports Base, Ethereum, Arbitrum, Polygon, BNB Chain, Avalanche, Optimism, and more. Returns estimated output, fees, and execution time. Costs $0.005 USDC.

Parameters not published.

spraay_chatSend a message to 200+ AI models (GPT-4o, Claude, Llama 3, Gemini, Mistral, etc.) via the Spraay x402 Gateway. Returns the model

Parameters not published.

spraay_classify_addressAI-powered wallet classification with risk scoring. Analyzes on-chain activity to classify addresses as whale, retail, MEV bot, exchange, bridge, or contract. Returns risk score, classification, confidence, and behavioral signals. Costs $0.008 USDC.

Parameters not published.

spraay_classify_txAI-powered transaction classification with risk scoring. Decodes, categorizes, and analyzes any Base transaction. Returns type (swap, transfer, contract call, etc.), risk level, and decoded parameters. Costs $0.008 USDC.

Parameters not published.

spraay_compute_batchBatch compute — submit up to 50 jobs in a single x402 payment with 10% discount. Mix any types: text-inference, image-generation, tts, stt, embeddings, video-generation. Costs $0.05+ USDC.

Parameters not published.

spraay_compute_embeddingsGenerate text embeddings via Spraay Compute. For RAG, semantic search, clustering. Costs $0.005 USDC.

Parameters not published.

spraay_compute_estimateEstimate compute cost before committing. Returns price breakdown per job. FREE — no x402 payment required.

Parameters not published.

spraay_compute_image_generationGenerate images via Spraay Compute. FLUX Schnell, FLUX Dev, SDXL via Replicate. Text to image. Costs $0.02-$0.08 USDC.

Parameters not published.

spraay_compute_modelsList all available compute models with pricing and capabilities. Grouped by type (text, image, video, tts, stt, embeddings). FREE — no x402 payment required.

Parameters not published.

spraay_compute_statusPoll async compute job status. Use for video generation and batch jobs that return

Parameters not published.

spraay_compute_sttSpeech-to-text via Spraay Compute. Transcribe audio from a URL using Whisper. Costs $0.02 USDC.

Parameters not published.

spraay_compute_text_inferenceRun LLM text inference via Spraay Compute. 11 models across Chutes, Replicate, OpenRouter (DeepSeek, Llama, Qwen, Gemma). Costs $0.003-$0.10 USDC depending on model.

Parameters not published.

spraay_compute_ttsText-to-speech via Spraay Compute. Convert text to natural-sounding audio. Replicate TTS models. Costs $0.03-$0.05 USDC.

Parameters not published.

spraay_compute_video_generationGenerate video from text via Spraay Compute. MiniMax Video 01, Wan 2.1 via Replicate. Async — poll spraay_compute_status for results. Costs $0.40-$0.50 USDC.

Parameters not published.

spraay_cron_cancelCancel a scheduled job by ID. Stops future executions. Data persists in Supabase. Costs $0.001 USDC.

Parameters not published.

spraay_cron_createCreate a scheduled job for recurring payments, DCA strategies, reminders, or any gateway action. Supports standard 5-part cron expressions. Data persists in Supabase. Costs $0.005 USDC.

Parameters not published.

spraay_cron_listList all scheduled jobs with optional status and action filters. Data persists in Supabase. Costs $0.001 USDC.

Parameters not published.

spraay_escrow_cancelCancel an escrow. Depositor can cancel unfunded escrows; depositor or arbiter can cancel funded ones. Data persists in Supabase. Costs $0.002 USDC.

Parameters not published.

spraay_escrow_createCreate a conditional escrow with optional milestones, arbiter, and expiry on Base. Funds are held until release conditions are met. Data persists in Supabase. Returns escrow ID and next-step actions. Costs $0.008 USDC.

Parameters not published.

spraay_escrow_fundMark an escrow as funded. Changes status from

Parameters not published.

spraay_escrow_getGet full escrow details including status, participants, conditions, balance check, and timestamps by ID. Data persists in Supabase. Costs $0.001 USDC.

Parameters not published.

spraay_escrow_listList escrows by address (depositor, beneficiary, or arbiter) with optional status filter. Data persists in Supabase. Costs $0.002 USDC.

Parameters not published.

spraay_escrow_releaseRelease escrow funds to the beneficiary. Returns an unsigned ERC-20 transfer transaction for the depositor to sign. Only depositor or arbiter can release. Data persists in Supabase. Costs $0.005 USDC.

Parameters not published.

spraay_explain_contractAI-powered smart contract analysis. Explains what a verified contract does, lists its functions, identifies patterns (ERC-20, ERC-721, etc.), and flags security properties. Costs $0.01 USDC.

Parameters not published.

spraay_free_chatSend a message to a free AI model from the open models catalog (Llama, Mistral, and more). Returns the model

Parameters not published.

spraay_free_chat_modelsList the free AI models available for spraay_free_chat (open models catalog). Returns model IDs and metadata. FREE — no x402 charge.

Parameters not published.

spraay_free_dex_pairsGet detailed data for a specific DEX pair on a specific chain via DexScreener. Returns price, liquidity, volume, transaction counts, and FDV. FREE — no x402 charge.

Parameters not published.

spraay_free_dex_searchSearch DEX token pairs across all chains via DexScreener (Uniswap, PancakeSwap, Raydium, etc.). Returns matching pairs with price, liquidity, 24h volume, and chain. FREE — no x402 charge.

Parameters not published.

spraay_free_dex_tokensGet all DEX trading pairs for a given token address via DexScreener. Returns every pair the token trades in, with price and liquidity per pair. FREE — no x402 charge.

Parameters not published.

spraay_free_dex_trendingGet currently trending tokens and pairs across DEXes via DexScreener. Returns the hottest pairs by recent volume and price action. FREE — no x402 charge.

Parameters not published.

spraay_free_modelsList the full model catalog (free mirror of the paid spraay_models list). Returns all model IDs, providers, and context window sizes. FREE — no x402 charge.

Parameters not published.

spraay_gpu_modelsList all available GPU model shortcuts grouped by category (image, video, LLM, audio, utility). Shows shortcut names, full Replicate model IDs, and descriptions. You can also use any Replicate model by its full ID. FREE — no USDC cost.

Parameters not published.

spraay_gpu_runRun AI model inference on GPU via Replicate. Supports image generation (flux-pro, sdxl, ideogram), video generation (wan-video, minimax-video), LLMs (llama-70b, llama-8b, mixtral), audio (whisper transcription, musicgen), and utilities (esrgan upscaling, rembg background removal). Use shortcuts like

Parameters not published.

spraay_gpu_statusCheck the status of a GPU prediction by ID. Use this to poll for results on longer-running jobs like video generation or large model inference. Returns output when complete. Costs $0.002 USDC.

Parameters not published.

spraay_image_editEdit an existing image with a text prompt (optionally masked). May return the edited image directly or a job ID to poll with spraay_image_status. Costs $0.05 USDC.

Parameters not published.

spraay_image_generateGenerate an image from a text prompt using DALL-E 3, FLUX, or SDXL. May return the image directly or a job ID to poll with spraay_image_status. Costs $0.06 USDC.

Parameters not published.

spraay_image_statusPoll the status of an image generation or edit job by ID. Returns progress/state and the result URL(s) once complete. Costs $0.001 USDC.

Parameters not published.

spraay_invoice_createCreate a payment invoice with a pre-encoded ERC-20 transfer transaction. Supports USDC, USDT, DAI, EURC, WETH on Base. Data persists in Supabase. Returns invoice ID, payment instructions, and unsigned tx. Costs $0.005 USDC.

Parameters not published.

spraay_invoice_getLook up a specific invoice by ID. Returns full invoice details, on-chain balance check, and payment status. Data persists in Supabase. Costs $0.001 USDC.

Parameters not published.

spraay_invoice_listList invoices by creator or payer address with optional status filter. Data persists in Supabase. Costs $0.002 USDC.

Parameters not published.

spraay_kyc_statusCheck KYC verification status by record ID or wallet address. Returns verification level, check results, and expiry. Data persists in Supabase. Costs $0.005 USDC.

Parameters not published.

spraay_kyc_verifyInitiate KYC/KYB verification for compliance-gated payments. Supports individual and business verification at basic, enhanced, or full levels. Data persists in Supabase. Costs $0.05 USDC.

Parameters not published.

spraay_logs_ingestIngest structured logs for debugging and monitoring agent workflows. Accepts up to 100 entries per batch. Data persists in Supabase. Costs $0.001 USDC.

Parameters not published.

spraay_logs_queryQuery structured logs by service, level, and time range. Returns matching log entries sorted newest first. Data persists in Supabase. Costs $0.003 USDC.

Parameters not published.

spraay_markets_kalshi_eventsList prediction market events from Kalshi (regulated US event contracts). Returns events with markets, tickers, and prices. Costs $0.001 USDC.

Parameters not published.

spraay_markets_kalshi_marketGet detail for a single Kalshi market by its ticker. Returns yes/no prices, volume, and settlement info. Costs $0.001 USDC.

Parameters not published.

spraay_markets_polymarket_eventsList prediction market events from Polymarket. Returns events with their markets, outcomes, and current prices. Costs $0.001 USDC.

Parameters not published.

spraay_markets_polymarket_marketGet detail for a single Polymarket market by its condition ID. Returns outcomes, current prices, volume, and resolution status. Costs $0.001 USDC.

Parameters not published.

spraay_markets_polymarket_orderbookGet the live CLOB order book for a Polymarket outcome token. Returns bids and asks with sizes. Costs $0.001 USDC.

Parameters not published.

spraay_markets_polymarket_tradesGet recent trades for a Polymarket market by condition ID. Returns trade history with price, size, side, and timestamp. Costs $0.001 USDC.

Parameters not published.

spraay_markets_searchSearch prediction markets across Polymarket and Kalshi in one query. Returns matching markets from all sources with prices and source labels. Costs $0.002 USDC.

Parameters not published.

spraay_modelsList all 200+ AI models available on the Spraay x402 Gateway. Returns model IDs, providers, and context window sizes. Costs $0.001 USDC.

Parameters not published.

spraay_notify_emailSend an email notification via AgentMail for payment confirmations, alerts, receipts, or general communication. Supports subject, CC, and reply-to. Costs $0.003 USDC.

Parameters not published.

spraay_notify_smsSend an SMS notification for payment alerts (simulated — Twilio integration coming). Requires E.164 phone format. Costs $0.005 USDC.

Parameters not published.

spraay_notify_statusCheck delivery status of a previously sent email or SMS notification by notification ID. Costs $0.001 USDC.

Parameters not published.

spraay_oracle_fxGet stablecoin exchange rates with depeg detection. Returns cross-rates between USDC, USDT, DAI, and EURC. Costs $0.002 USDC.

Parameters not published.

spraay_oracle_gasGet current gas prices on Base in gwei. Returns base fee, priority fee, and estimated transaction costs. Costs $0.001 USDC.

Parameters not published.

spraay_oracle_pricesGet real-time on-chain token prices with confidence scores from Uniswap V3 QuoterV2 on Base. Returns USD prices for ETH, WETH, cbBTC, USDT, DAI, EURC, and more. Costs $0.003 USDC.

Parameters not published.

spraay_payroll_estimateEstimate gas and fees for a payroll batch before executing. Returns estimated gas in wei and USD. Costs $0.002 USDC.

Parameters not published.

spraay_payroll_executeExecute a payroll batch payment via Spraay V2 contract on Base. Pay up to 200 employees in a single transaction with any stablecoin. Returns unsigned transaction data. Costs $0.02 USDC.

Parameters not published.

spraay_payroll_tokensList all stablecoins supported for payroll on Base. Returns symbols, addresses, and decimals. Costs $0.001 USDC.

Parameters not published.

spraay_pricesGet live on-chain token prices on Base from Uniswap V3 pools. Returns USD prices with timestamps. Costs $0.002 USDC.

Parameters not published.

spraay_resolveResolve ENS names (.eth) and Basenames (.base.eth) to wallet addresses, or perform reverse lookup from address to name. Costs $0.001 USDC.

Parameters not published.

spraay_rpc_callMake a premium multi-chain JSON-RPC call via Alchemy (EVM) or Helius (Solana). Supports Base, Ethereum, Arbitrum, Polygon, BNB Chain, Avalanche, and Solana. Costs $0.001 USDC.

Parameters not published.

spraay_rpc_chainsList all chains supported by the Spraay RPC proxy and their allowed JSON-RPC methods. Costs $0.001 USDC.

Parameters not published.

spraay_search_extractExtract clean, structured content from specific URLs — perfect for RAG pipelines. Returns the full text content of each page, ready for LLM consumption. Up to 5 URLs per request. Costs $0.015 USDC.

Parameters not published.

spraay_search_qnaAsk a question and get a direct, synthesized answer with cited sources. Searches the web, extracts relevant content, and generates a comprehensive answer. Great for research and fact-checking. Costs $0.02 USDC.

Parameters not published.

spraay_search_webSearch the web and get clean, LLM-ready results via Tavily. Returns extracted content (not just links), plus an AI-generated answer. Supports basic and advanced search depth, domain filtering, and topic focus (general, news, finance). Costs $0.01 USDC.

Parameters not published.

spraay_stocks_companyGet a company profile via Finnhub. Returns name, exchange, industry, market cap, IPO date, and more. Costs $0.001 USDC.

Parameters not published.

spraay_stocks_historyGet historical OHLC candles for a stock via Finnhub. Returns open/high/low/close/volume series for the requested resolution and range. Costs $0.001 USDC.

Parameters not published.

spraay_stocks_priceGet a real-time stock quote via Finnhub. Returns current price, daily open/high/low, previous close, and change. Costs $0.001 USDC.

Parameters not published.

spraay_stocks_searchSearch for a stock symbol by company name or partial ticker via Finnhub. Returns matching symbols with descriptions. Costs $0.001 USDC.

Parameters not published.

spraay_storage_getRetrieve previously pinned content from IPFS/Arweave by CID. Returns the stored data. Costs $0.002 USDC.

Parameters not published.

spraay_storage_pinPin content to IPFS via Pinata for permanent decentralized storage. Returns CID (content identifier) for retrieval. Supports text, JSON, and base64 data. Costs $0.005 USDC.

Parameters not published.

spraay_storage_statusCheck the pin status of a storage request by pin ID. Returns pinning progress and confirmation. Costs $0.001 USDC.

Parameters not published.

spraay_summarizeAI intelligence briefing for any wallet address or transaction hash. Returns structured risk assessment, entity classification, activity summary, and actionable insights. Costs $0.008 USDC.

Parameters not published.

spraay_swap_executeExecute a token swap via Uniswap V3 on Base. Returns unsigned transaction data for the caller to sign and broadcast. Get a quote first with spraay_swap_quote. Costs $0.01 USDC.

Parameters not published.

spraay_swap_quoteGet a swap quote from Uniswap V3 on Base. Returns expected output amount, price impact, and route details. Use spraay_swap_tokens to see available tokens. Costs $0.002 USDC.

Parameters not published.

spraay_swap_tokensList all tokens available for swapping on Spraay via Uniswap V3 on Base. Returns symbols, addresses, and decimals. Costs $0.001 USDC.

Parameters not published.

spraay_tax_calculateCalculate crypto tax gain/loss using FIFO method for up to 500 transactions. Returns per-event breakdown and aggregate summary with short/long-term classification. Data persists in Supabase. Costs $0.01 USDC.

Parameters not published.

spraay_tax_reportRetrieve a previously calculated tax report by ID, or list all reports. Data persists in Supabase. Costs $0.02 USDC.

Parameters not published.

spraay_webhook_deleteDelete a registered webhook by ID. Removes it permanently from Supabase. Costs $0.001 USDC.

Parameters not published.

spraay_webhook_listList all registered webhooks with their status, subscribed events, and delivery stats. Data persists in Supabase. Costs $0.001 USDC.

Parameters not published.

spraay_webhook_registerRegister a webhook endpoint to receive real-time POST events for payments, escrows, swaps, invoices, and more. Returns webhook ID and HMAC secret for signature verification. Data persists in Supabase. Costs $0.003 USDC.

Parameters not published.

spraay_webhook_testSend a test ping event to a registered webhook to verify delivery and signature validation. Data persists in Supabase. Costs $0.002 USDC.

Parameters not published.

spraay_xmtp_inboxRead XMTP inbox messages for an Ethereum address. Returns decrypted messages from the production XMTP network. Costs $0.002 USDC.

Parameters not published.

spraay_xmtp_sendSend an encrypted XMTP message to any Ethereum address on the XMTP production network. Messages are end-to-end encrypted. Costs $0.003 USDC.

Parameters not published.

Ask AI

✦

Ask AI about plagtech/spraay-x402-mcp

Powered by Claude · Grounded in docs

I know everything about plagtech/spraay-x402-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

README

Spraay x402 MCP Server

smithery badge Version Tools

Full-stack DeFi infrastructure for AI agents — 57 pay-per-use tools (56 active) on Base with persistent Supabase storage.

Connect Claude, Cursor, or any MCP-compatible AI to onchain payments, token swaps, bridge, payroll, invoicing, escrow, oracle data, analytics, AI inference, email, XMTP messaging, webhooks, cron scheduling, IPFS storage, multi-chain RPC, KYC, auth, audit trail, tax & 200+ AI models.

AI agents pay USDC per request via x402 protocol. No API keys. No accounts. Just plug in and go.


Quick Start

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "spraay": {
      "command": "npx",
      "args": ["-y", "spraay-x402-mcp"],
      "env": {
        "EVM_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "spraay": {
      "command": "npx",
      "args": ["-y", "spraay-x402-mcp"],
      "env": {
        "EVM_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY"
      }
    }
  }
}

Smithery

smithery mcp add Plagtech/Spraay-x402-mcp

From Source

git clone https://github.com/plagtech/spraay-x402-mcp
cd spraay-x402-mcp
npm install
echo "EVM_PRIVATE_KEY=0xYOUR_KEY" > .env
npm start

57 Tools — 15 Categories

AI ($0.001–$0.005)

Tool Description Cost
spraay_chat Chat with 200+ AI models (GPT-4, Claude, Llama, Gemini) $0.005
spraay_models List all available models $0.001

Payments ($0.001–$0.01)

Tool Description Cost
spraay_batch_execute Batch pay up to 200 recipients in one tx $0.01
spraay_batch_estimate Estimate gas for batch payment $0.001

DeFi — Swap ($0.001–$0.01)

Tool Description Cost
spraay_swap_quote Get Uniswap V3 swap quote $0.002
spraay_swap_tokens List supported swap tokens $0.001
spraay_swap_execute Execute swap (unsigned tx) $0.01

Oracle ($0.001–$0.003)

Tool Description Cost
spraay_oracle_prices On-chain token prices with confidence scores $0.003
spraay_oracle_gas Gas prices on Base $0.001
spraay_oracle_fx Stablecoin FX rates with depeg detection $0.002

Bridge ($0.001–$0.005)

Tool Description Cost
spraay_bridge_quote Cross-chain bridge quote (8+ chains) $0.005
spraay_bridge_chains Supported bridge chains $0.001

Payroll ($0.001–$0.02)

Tool Description Cost
spraay_payroll_execute Pay up to 200 employees in stablecoins $0.02
spraay_payroll_estimate Estimate payroll gas and fees $0.002
spraay_payroll_tokens List payroll stablecoins $0.001

Invoice ($0.001–$0.005) — persistent

Tool Description Cost
spraay_invoice_create Create invoice with payment tx $0.005
spraay_invoice_list List invoices by address $0.002
spraay_invoice_get Look up invoice by ID $0.001

Analytics ($0.003–$0.005)

Tool Description Cost
spraay_analytics_wallet Wallet profile: balances, age, classification $0.005
spraay_analytics_txhistory Transaction history with decoded types $0.003

Escrow ($0.001–$0.008) — persistent

Tool Description Cost
spraay_escrow_create Create conditional escrow with milestones $0.008
spraay_escrow_list List escrows by address $0.002
spraay_escrow_get Escrow status and details $0.001
spraay_escrow_fund Mark escrow as funded $0.002
spraay_escrow_release Release funds to beneficiary $0.005
spraay_escrow_cancel Cancel escrow $0.002

AI Inference ($0.008–$0.01)

Tool Description Cost
spraay_classify_address AI wallet classification with risk scoring $0.008
spraay_classify_tx AI transaction classification and risk analysis $0.008
spraay_explain_contract AI smart contract analysis and explanation $0.01
spraay_summarize AI intelligence briefing for any address or tx $0.008

Communication ($0.001–$0.005)

Tool Description Cost Status
spraay_notify_email Send email notifications (AgentMail) $0.003 ✅ Live
spraay_notify_sms Send SMS notifications $0.005 ⏳ Simulated
spraay_notify_status Check notification delivery status $0.001 ✅ Live
spraay_webhook_register Register webhook endpoint $0.003 ✅ Persistent
spraay_webhook_test Test webhook delivery $0.002 ✅ Persistent
spraay_webhook_list List registered webhooks $0.001 ✅ Persistent
spraay_webhook_delete Delete webhook $0.001 ✅ Persistent
spraay_xmtp_send Send encrypted XMTP message $0.003 ✅ Live
spraay_xmtp_inbox Read XMTP inbox $0.002 ✅ Live

Infrastructure ($0.001–$0.005)

Tool Description Cost Status
spraay_rpc_call Multi-chain JSON-RPC via Alchemy $0.001 ✅ Live
spraay_rpc_chains List supported RPC chains $0.001 ✅ Live
spraay_storage_pin Pin to IPFS via Pinata $0.005 ✅ Live
spraay_storage_get Retrieve pinned content $0.002 ✅ Live
spraay_storage_status Check pin status $0.001 ✅ Live
spraay_cron_create Create scheduled job $0.005 ✅ Persistent
spraay_cron_list List scheduled jobs $0.001 ✅ Persistent
spraay_cron_cancel Cancel scheduled job $0.001 ✅ Persistent
spraay_logs_ingest Ingest structured logs $0.001 ✅ Persistent
spraay_logs_query Query logs $0.003 ✅ Persistent

Identity & Access ($0.001–$0.05) — persistent

Tool Description Cost
spraay_kyc_verify Initiate KYC/KYB verification $0.05
spraay_kyc_status Check KYC status $0.005
spraay_auth_session Create scoped auth session $0.005
spraay_auth_verify Verify session token $0.001

Compliance ($0.001–$0.02) — persistent

Tool Description Cost
spraay_audit_log Record audit trail entry $0.001
spraay_audit_query Query audit trail $0.005
spraay_tax_calculate Calculate crypto tax (FIFO) $0.01
spraay_tax_report Retrieve tax report $0.02

Data ($0.001–$0.002)

Tool Description Cost
spraay_prices Live token prices on Base $0.002
spraay_balances ETH + ERC-20 balances for any wallet $0.002
spraay_resolve ENS / Basename resolution $0.001

How It Works

  1. AI agent calls a tool (e.g. spraay_batch_execute)
  2. MCP server hits the Spraay x402 Gateway
  3. Gateway returns 402 Payment Required with USDC amount
  4. @x402/axios auto-signs a USDC micropayment from your wallet
  5. Gateway validates payment and returns data
  6. Agent gets the response

All payments are micro-transactions ($0.001–$0.05) in USDC on Base mainnet.


Requirements

  • Wallet: EVM private key with USDC on Base (even $1 covers thousands of calls)
  • Node.js: 18+
  • MCP Client: Claude Desktop, Cursor, or any MCP-compatible client

Environment Variables

Variable Required Default Description
EVM_PRIVATE_KEY Yes — Wallet private key for USDC payments
SPRAAY_GATEWAY_URL No https://gateway.spraay.app Override gateway URL

Links

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About plagtech/spraay-x402-mcp

How do I install plagtech/spraay-x402-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is plagtech/spraay-x402-mcp safe to use with an AI agent?

Its trust score is 67 out of 100 (good). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is plagtech/spraay-x402-mcp still maintained?

The last commit was 7 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.