mcpField
S
ScanPay — Code Security Oracle

ScanPay — Code Security Oracle

Remote
github.com/Misterio070Security0Updated today
Repository

About ScanPay — Code Security Oracle

ScanPay is a remote security oracle for agents and machine-to-machine workflows. It combines code scanning, transaction preflight simulation, and URL scraping, with structured verdicts and x402 payments.

Key features

  1. 01AST-based vulnerability scanning
  2. 02Deterministic code patches and execution verdicts
  3. 03EVM and Solana transaction simulation
  4. 04URL scraping with cleaned Markdown output
  5. 05x402 micropayments and prepaid sessions

Use cases

  1. 01Checking code before execution
  2. 02Reviewing transactions before broadcast
  3. 03Detecting risky token approvals
  4. 04Preparing scraped page content for LLMs

MCP support

ScanPay runs a remote Streamable MCP server over HTTP and SSE, with tools including `scan_code`, `simulate_tx`, and `scrape_url`. It also offers a zero-install stdio CLI.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://scanpay-ob3w.onrender.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttps://scanpay-ob3w.onrender.com/mcp
SSEhttps://scanpay-ob3w.onrender.com/sse

Tools

Details

From the project README

ScanPay — Security Oracle & Agent Infrastructure Suite

License: MIT Engine Version x402 Conformance Multi-Chain Glama MCP

ScanPay is an autonomous security guardrail and oracle infrastructure suite designed specifically for the Agent-to-Agent (A2A) and Machine-to-Machine (M2M) economy with x402 v2 micropayments.

  • Production API: https://scanpay-ob3w.onrender.com
  • Remote Streamable MCP: https://scanpay-ob3w.onrender.com/mcp (HTTP) / https://scanpay-ob3w.onrender.com/sse (SSE)
  • Solana Merchant Wallet: JDKXvegmW5j4sAJPB6YCA9ffJbN422WLMmCWCcpy1vm4
  • Base (EVM) Merchant Wallet: 0xb295E606F38C363b476FC546c27226B5fBcAAEFA (USDC: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)

🛠️ The 3 Core Agent Services

ServiceEndpointMCP ToolPricing (Base USDC / SOL)Purpose
1. Code Security ScannerPOST /v2/scanscan_code$0.10 USDC (0.0007 SOL)AST vulnerability analysis, deterministic patches, and execution gating (PASS/WARN/BLOCK).
2. Pre-Flight Tx ShieldPOST /v2/preflight/simulatesimulate_tx$0.05 USDC (0.00035 SOL)Simulates EVM/Solana transactions before broadcast, detecting honeypots, drainers, and MEV slippage traps.
3. Anti-Bot Scraper OraclePOST /v2/oracle/scrapescrape_url$0.02 USDC (0.00015 SOL)Stealth browser scraping bypassing Cloudflare Turnstile/WAF, returning clean LLM Markdown.
4. 10-Operation SessionPOST /v2/session/depositcreate_session_deposit$0.85 USDC (0.006 SOL)Prepaid micro-voucher valid across all tools with sub-millisecond latency and 0ms RPC bypass.

🎯 Machine Experience (MX) & A2A Capabilities

Traditional developer tools output verbose human prose. ScanPay produces structured Machine Responses:

  1. Execution Gate Verdicts: Unambiguous ALLOW or BLOCK booleans with 0-100 risk_score and cryptographic Ed25519 oracle attestations.
  2. Deterministic Auto-Remediation: Generates instant remediated_code and unified_diff patches ready for git apply.
  3. Tx Pre-Flight Simulation: Decodes ERC-20 approvals, detects unlimited allowances to untrusted spenders, honeypot functions (setTrading, blacklist), and Solana SetAuthority account takeovers.
  4. Anti-Bot Scraper Oracle: Strips navigation, ads, cookies, and scripts, saving up to 90% of LLM context window tokens.

🌐 Live Discovery Endpoints

Autonomous agent frameworks discover ScanPay automatically via spec-compliant endpoints:

EndpointStandard / ProtocolPurpose
GET /llms.txtLLMs Discovery StandardMachine documentation for LLMs, agents, and Cursor
GET /robots.txtAI Crawler StandardExplicit index permissions for GPTBot, Claude-Web, PerplexityBot
GET /.well-known/x402x402 v2 SpecProtocol discovery, CAIP-2 network, multi-chain pricing & endpoints
GET /bazaar.jsonCoinbase CDP / Onyx BazaarRegistry catalog with extensions.bazaar.discoverable: true
GET /.well-known/mcp.jsonModel Context ProtocolRemote MCP manifest with 5 registered tools
GET /.well-known/agent-card.jsonERC-8004 / ERC-8183Agent identity card declaring Oracle capabilities
GET /.well-known/ai-plugin.jsonOpenAI Plugin StandardOpenAPI integration manifest for autonomous function callers
GET /SKILL.mdAgent SkillsNative instructions for Claude Code, Hermes, and Codex
GET /PAY.mdMulti-Chain SettlementSettlement routes, recipient wallets, and spend caps
POST /mcp & GET /sseMCP Remote TransportsStateless JSON-RPC tool invocation over HTTP & SSE

🤖 Remote Model Context Protocol (MCP)

ScanPay runs as a native remote streamable MCP server.

Zero-Install stdio (CLI)
npx github:Misterio070/scanpay
Add to Claude Desktop / Cursor / Windsurf
{
  "mcpServers": {
    "scanpay": {
      "url": "https://scanpay-ob3w.onrender.com/sse"
    }
  }
}

📦 Agent Framework Integrations

  • Coinbase AgentKit (Base USDC): packages/agentkit-action-scanpay (@scanpay/agentkit-action)
  • Solana Agent Kit v2: packages/plugin-solana-agent-kit (@scanpay/plugin-solana-agent-kit)
  • ElizaOS: packages/plugin-elizaos (@elizaos/plugin-scanpay)
  • Universal Guardrail Hook: packages/scanpay-guardrail/scanpay-hook.py (Claude Code PreToolUse hook, OpenCode, Codex, LangGraph)
  • ERC-8183 Commerce Evaluator: contracts/ScanPayEvaluatorV2.sol (Base ERC-8004 Validation Registry bridge)

🧪 Testing & Verification

# Run 125+ automated unit and integration tests
python3 -m pytest

📄 License

MIT © Alex Taghiashvili

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.