Skip to main content
Glama
x402-preflight-mcp

x402-preflight-mcp

by animus3d

x402-preflight-mcp

Zero-dependency Model Context Protocol (MCP) server exposing 16 deterministic, zero-LLM, pay-per-call x402 v2 microservices settled in USDC on Base (eip155:8453) and Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp).

No API keys, no subscriptions, no rate-limit tiers — pay $0.01–$0.05 USDC per call via standard x402 v2 payment-signature headers.

Quick Start (Zero-Install)

npx -y github:animus3d/x402-preflight-mcp

Claude Desktop / Cursor / Windsurf MCP Config

{
  "mcpServers": {
    "x402-preflight": {
      "command": "npx",
      "args": ["-y", "github:animus3d/x402-preflight-mcp"]
    }
  }
}

Related MCP server: agent-toolkit-mcp

Tools & Pricing (16 Deterministic x402 v2 Endpoints)

Tool

Endpoint

Price (USDC)

Category

json_config_preflight

POST /v1/qa/json-config-preflight

$0.01

Developer Tools

solidity_quickscan

POST /v1/audit/solidity-quickscan

$0.05

Security

i18n_json_qa

POST /v1/qa/i18n-json

$0.02

Developer Tools

csv_json_reconcile

POST /v1/reconcile/csv-json

$0.03

Data

prompt_injection_scan

POST /v1/security/prompt-injection-honeypot-scan

$0.02

Security

diff_bug_triage

POST /v1/code/diff-bug-triage

$0.05

Developer Tools

sharpe_cvar_tearsheet

POST /v1/quant/sharpe-cvar-tearsheet

$0.04

Finance

amm_slippage_il

POST /v1/defi/amm-slippage-impermanent-loss

$0.03

DeFi

evm_tx_risk_preflight

POST /v1/crypto/evm-tx-risk-preflight

$0.05

Security

mcp_tool_schema_validator

POST /v1/agent/mcp-tool-schema-validator

$0.02

AI Agents

dependency_typosquat_audit

POST /v1/sec/dependency-typosquat-audit

$0.03

Security

cron_systemd_auditor

POST /v1/ops/cron-systemd-auditor

$0.02

DevOps

sql_migration_lock_analyzer

POST /v1/ops/sql-migration-lock-analyzer

$0.04

DevOps

openapi_breaking_diff

POST /v1/ops/openapi-breaking-diff

$0.04

Developer Tools

jwt_oidc_security_linter

POST /v1/ops/jwt-oidc-security-linter

$0.03

Security

github_actions_supplychain_pin

POST /v1/ops/github-actions-supplychain-pin

$0.03

Security

x402 Payment Flow

  1. Call any MCP tool without _paymentSignature to receive the exact x402 v2 402 challenge (accepts for Base USDC and Solana USDC + extensions.bazaar schemas).

  2. Sign an EIP-3009 (Base) or SPL Token (Solana) authorization with your agent wallet (Coinbase AgentKit, BankrBot, AgentCash, etc.).

  3. Re-invoke the tool with _paymentSignature (or set X402_PAYMENT_SIGNATURE) to settle on-chain via Ultravioleta Facilitator and receive the deterministic JSON report.

Discovery & Specs

Glama MCP Server Listing

View this server on Glama MCP Servers to:

  • browse all 16 deterministic security, quant, and DevOps tools and inspect quality scores

  • test the server online using MCP Inspector

x402-preflight-mcp MCP server

License

MIT

Available Tools

16 tools
amm_slippage_ilB

[x402 $0.03 USDC on Base/Solana] Exact constant-product Uniswap V2 swap output, price impact, fee drag, Uniswap V3 concentrated liquidity multiplier, and impermanent loss table.

Inputs: amountIn (required), reserveIn (required), reserveOut (required), feeBps, +4 more.

cron_systemd_auditorA

[x402 $0.02 USDC on Base/Solana] Parses crontabs and systemd unit/timer configs, computes next 5 UTC fire times, detects flock overlap risks, and flags missing hardening directives.

Inputs: crontab, systemdUnit, systemdTimer, referenceTime, +2 more.

csv_json_reconcileB

[x402 $0.03 USDC on Base/Solana] Deterministic two-way reconciliation between left and right CSV/JSON datasets by key column with numeric tolerance diffing.

Inputs: left (required), right (required), _paymentSignature.

dependency_typosquat_auditA

[x402 $0.03 USDC on Base/Solana] Scans npm package.json and Python requirements.txt for Levenshtein typosquats, unpinned ranges, git/tarball URLs, and risky install hooks.

Inputs: ecosystem, packageJson, dependencies, requirementsTxt, +1 more.

diff_bug_triageB

[x402 $0.05 USDC on Base/Solana] Static bug and security triage for unified git diffs catching eval/exec sinks, SQL concatenation, hardcoded secrets, and error swallowing.

Inputs: diff (required), _paymentSignature.

evm_tx_risk_preflightA

[x402 $0.05 USDC on Base/Solana] Decodes EVM calldata selectors, detects unlimited ERC-20 approve, Permit2/setApprovalForAll drainers, and scores transaction risk before signing.

Inputs: to (required), data (required), value, chainId, +1 more.

github_actions_supplychain_pinA

[x402 $0.03 USDC on Base/Solana] Audits GitHub Actions workflows for unpinned mutable action tags (@v4), pull_request_target pwn-request vectors, expression script injection, and overbroad permissions.

Inputs: workflowYaml (required), _paymentSignature.

i18n_json_qaA

[x402 $0.02 USDC on Base/Solana] Compares source vs target i18n JSON catalogs for missing keys, extra keys, empty translations, and mismatched interpolation placeholders.

Inputs: source (required), target (required), _paymentSignature.

json_config_preflightB

[x402 $0.01 USDC on Base/Solana] Deterministic JSON/config preflight validator detecting syntax errors, missing required keys, secret leaks, and env drift.

Inputs: config, jsonText, requiredKeys, _paymentSignature.

jwt_oidc_security_linterA

[x402 $0.03 USDC on Base/Solana] Audits JWT headers/claims, JWKS, and OIDC discovery configs for alg:none, HS256/RS256 confusion, excessive TTL, missing iss/aud/jti, and insecure redirect URIs.

Inputs: jwks, token, claims, header, +3 more.

mcp_tool_schema_validatorB

[x402 $0.02 USDC on Base/Solana] Audits Model Context Protocol (MCP) tool definitions for schema validity, token bloat, description-poisoning / prompt injection, and missing bounds.

Inputs: tools (required), _paymentSignature.

openapi_breaking_diffA

[x402 $0.04 USDC on Base/Solana] Compares base vs head OpenAPI 3.x specs to classify breaking vs non-breaking contract changes and recommend a semver bump.

Inputs: base (required), head (required), _paymentSignature.

prompt_injection_scanA

[x402 $0.02 USDC on Base/Solana] Deterministic detector for prompt-injection overrides, jailbreak framing, hidden Unicode zero-width chars, and credential exfiltration patterns.

Inputs: text (required), _paymentSignature.

sharpe_cvar_tearsheetA

[x402 $0.04 USDC on Base/Solana] Computes Sharpe, Sortino, Calmar, Max Drawdown, VaR(95/99), CVaR(95/99), skewness, kurtosis, and win-rate from returns or prices.

Inputs: prices, returns, riskFreeRate, periodsPerYear, +1 more.

solidity_quickscanB

[x402 $0.05 USDC on Base/Solana] Deterministic Solidity static security scanner flagging reentrancy, tx.origin, delegatecall, unchecked calls, and floating pragmas.

Inputs: source (required), _paymentSignature.

sql_migration_lock_analyzerA

[x402 $0.04 USDC on Base/Solana] Detects PostgreSQL/MySQL ACCESS EXCLUSIVE DDL table-rewrite and lock hazards (non-CONCURRENTLY indexes, unvalidated FKs, ALTER TYPE) with zero-downtime rewrites.

Inputs: sql (required), dialect, pgVersion, _paymentSignature.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 16 tools

    Disambiguation4/5

    Each tool targets a distinct analysis domain, so an agent can usually map intent to one tool. There is minor overlap between prompt_injection_scan and mcp_tool_schema_validator, since both can involve prompt-injection or description-poisoning checks.

    Naming Consistency4/5

    All names use lowercase snake_case and are descriptive domain-first identifiers. The suffix/action style varies (preflight, scan, qa, audit, analyzer, linter, diff), but the overall convention remains predictable and readable.

    Tool Count4/5

    Sixteen tools is slightly over the typical sweet spot, but each tool covers a distinct preflight/audit domain and none appear redundant. The set is broad but still reasonably scoped for a multi-domain static-checking server.

    Completeness4/5

    The server offers broad coverage across config, security, dependency, infrastructure, API, and financial preflight checks. No obvious lifecycle operations are missing for a stateless analyzer suite, though some adjacent domains such as IaC or container config auditing are not covered.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Trust layer for AI agents: 22 pay-per-call x402 tools for scam and fraud checks, payment pre-flight, wallet screening, policy approvals, contact extraction and company research. Free preview with no wallet; paid calls settle in USDC on Base.
      23
      86 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides coding agents with 19 pay-per-call developer utilities, npm supply-chain security checks, and Base blockchain lookups, paid via USDC on Base using x402. No API key needed—payment acts as authentication.
      68 npm
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to discover, pay for, and invoke x402-priced services such as document OCR, document analysis, media transcription, remote browser sessions, and receive-only email inboxes using USDC on Base, with no API keys and receipt-backed results.
      38
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to call pay-per-request AI and web tools—including web-to-Markdown reading, PDF extraction, translation, compliance lookups, domain/email/Solana data, and prediction-market intelligence—without accounts or API keys, settling each call in USDC via x402 on Base, Solana, or Arc.
      MIT