{
  "name": "@x402-platform/mcp-server",
  "version": "2.0.0",
  "transport": "stdio",
  "http": {
    "info": "https://api.genesistokenlabs.com/mcp",
    "tools": "https://api.genesistokenlabs.com/mcp/tools",
    "registry": "https://api.genesistokenlabs.com/mcp/registry",
    "discover": "https://api.genesistokenlabs.com/mcp/discover",
    "jsonrpc": "https://api.genesistokenlabs.com/mcp",
    "note": "HTTP exposes discovery only (tools/list, x402_discover, x402_estimate). Pay stays on local stdio MCP with the agent wallet. No host-side private key."
  },
  "catalog": {
    "url": "https://api.genesistokenlabs.com/catalog.json",
    "wellKnown": "https://api.genesistokenlabs.com/.well-known/x402",
    "agentsTxt": "https://api.genesistokenlabs.com/agents.txt",
    "mergedSkuCount": 777
  },
  "packages": {
    "mcpServer": "/opt/x402-platform/packages/mcp-server",
    "mcpShim": "/opt/x402-platforms/sdks/mcp/x402-mcp-server.js"
  },
  "stdio": {
    "mcpServers": {
      "x402": {
        "command": "node",
        "args": [
          "/opt/x402-platform/packages/mcp-server/dist/cli.js"
        ],
        "env": {
          "NETWORK": "base-mainnet",
          "SERVICE_REGISTRY_URL": "https://api.genesistokenlabs.com/mcp/registry"
        }
      },
      "x402-platforms": {
        "command": "node",
        "args": [
          "/opt/x402-platforms/sdks/mcp/x402-mcp-server.js"
        ]
      }
    },
    "note": "WALLET_PRIVATE_KEY is required for x402_pay and must be set only on the agent machine. This host does not hold a payer key."
  },
  "tools": {
    "platform": [
      {
        "name": "x402_pay",
        "category": "Payment",
        "description": "Make a paid request to any x402 endpoint (stdio; agent wallet local)"
      },
      {
        "name": "x402_pay_batch",
        "category": "Payment",
        "description": "Execute multiple paid requests in parallel"
      },
      {
        "name": "x402_estimate",
        "category": "Payment",
        "description": "Get the price without paying"
      },
      {
        "name": "x402_pay_stream",
        "category": "Payment",
        "description": "Streaming payments for long-running tasks"
      },
      {
        "name": "x402_discover",
        "category": "Discovery",
        "description": "Search x402 services by category/keyword"
      },
      {
        "name": "x402_service_info",
        "category": "Discovery",
        "description": "Get detailed info about a service"
      },
      {
        "name": "x402_compare_prices",
        "category": "Discovery",
        "description": "Compare prices across providers"
      },
      {
        "name": "x402_health_check",
        "category": "Discovery",
        "description": "Check if a service is online"
      },
      {
        "name": "x402_register_service",
        "category": "Discovery",
        "description": "Register a provider in the local discovery index"
      },
      {
        "name": "x402_sync_registry",
        "category": "Discovery",
        "description": "Sync listings from SERVICE_REGISTRY_URL"
      },
      {
        "name": "x402_wallet_balance",
        "category": "Wallet",
        "description": "Check USDC balance"
      },
      {
        "name": "x402_wallet_history",
        "category": "Wallet",
        "description": "Get transaction history"
      },
      {
        "name": "x402_wallet_fund",
        "category": "Wallet",
        "description": "Request testnet funds"
      },
      {
        "name": "x402_spending_stats",
        "category": "Wallet",
        "description": "Detailed spending analytics"
      },
      {
        "name": "x402_set_budget",
        "category": "Wallet",
        "description": "Set spending limits"
      },
      {
        "name": "x402_delegate_budget",
        "category": "Delegation",
        "description": "Create budget for sub-agent"
      },
      {
        "name": "x402_revoke_budget",
        "category": "Delegation",
        "description": "Revoke a delegation"
      },
      {
        "name": "x402_list_delegations",
        "category": "Delegation",
        "description": "List all delegations"
      },
      {
        "name": "x402_delegation_stats",
        "category": "Delegation",
        "description": "Get delegation analytics"
      },
      {
        "name": "x402_transfer_between_delegations",
        "category": "Delegation",
        "description": "Move budget between agents"
      },
      {
        "name": "x402_smart_pay",
        "category": "Advanced",
        "description": "Smart routed payment"
      },
      {
        "name": "x402_subscribe",
        "category": "Advanced",
        "description": "Subscribe to a paid plan"
      },
      {
        "name": "x402_escrow",
        "category": "Advanced",
        "description": "Escrow a payment"
      },
      {
        "name": "x402_refund_request",
        "category": "Advanced",
        "description": "Request a refund"
      },
      {
        "name": "x402_audit_trail",
        "category": "Advanced",
        "description": "Payment audit trail"
      },
      {
        "name": "x402_network_switch",
        "category": "Advanced",
        "description": "Switch payment network"
      },
      {
        "name": "x402_gas_estimate",
        "category": "Advanced",
        "description": "Estimate gas"
      },
      {
        "name": "x402_portfolio",
        "category": "Advanced",
        "description": "Portfolio view"
      }
    ],
    "shim": [
      {
        "name": "x402_arb_signals",
        "host": "mev",
        "method": "GET",
        "path": "/signals/arb",
        "description": "Cross-DEX arbitrage opportunities on Base."
      },
      {
        "name": "x402_oracle_divergence",
        "host": "mev",
        "method": "GET",
        "path": "/signals/oracle-divergence",
        "description": "Stale push-oracle windows with measurable drift."
      },
      {
        "name": "x402_funding_carry",
        "host": "mev",
        "method": "GET",
        "path": "/signals/funding-carry",
        "description": "Perp funding-rate carry trades."
      },
      {
        "name": "x402_liquidations",
        "host": "mev",
        "method": "GET",
        "path": "/signals/liquidations",
        "description": "Lending accounts near liquidation."
      },
      {
        "name": "x402_sandwich_risk",
        "host": "mev",
        "method": "GET",
        "path": "/signals/sandwich-risk",
        "description": "Pending swaps at high sandwich-attack risk."
      },
      {
        "name": "x402_failed_tx",
        "host": "mev",
        "method": "GET",
        "path": "/signals/failed-tx",
        "description": "Failed-tx classifier (causes + counts)."
      },
      {
        "name": "x402_cross_pool_spread",
        "host": "mev",
        "method": "GET",
        "path": "/signals/cross-pool-spread",
        "description": "Same-asset spreads across pools/fee tiers."
      },
      {
        "name": "x402_cross_chain_arb",
        "host": "mev",
        "method": "GET",
        "path": "/signals/cross-chain-arb",
        "description": "Cross-chain net-of-bridge price spreads."
      },
      {
        "name": "x402_intents",
        "host": "mev",
        "method": "GET",
        "path": "/signals/intents",
        "description": "Open intent-based orders awaiting a solver."
      },
      {
        "name": "x402_mev_firehose",
        "host": "mev",
        "method": "GET",
        "path": "/signals/firehose",
        "description": "All MEV signal feeds combined."
      },
      {
        "name": "x402_gas",
        "host": "rpc",
        "method": "GET",
        "path": "/gas/{chain}",
        "description": "Gas oracle (slow/standard/fast) for a chain."
      },
      {
        "name": "x402_rpc",
        "host": "rpc",
        "method": "POST",
        "path": "/rpc/{chain}",
        "description": "Forwarded JSON-RPC call."
      },
      {
        "name": "x402_governance",
        "host": "rpc",
        "method": "GET",
        "path": "/intel/governance/{chain}",
        "description": "Active governance proposals on a chain."
      },
      {
        "name": "x402_protocol_health",
        "host": "rpc",
        "method": "GET",
        "path": "/intel/protocol/{protocol}/health",
        "description": "Protocol health monitor."
      },
      {
        "name": "x402_nft_market",
        "host": "rpc",
        "method": "GET",
        "path": "/intel/nft-market/{chain}",
        "description": "Top NFT collections by 1h volume."
      },
      {
        "name": "x402_perp_analytics",
        "host": "rpc",
        "method": "GET",
        "path": "/intel/perp-analytics/{venue}",
        "description": "Perp DEX analytics."
      },
      {
        "name": "x402_yield_best",
        "host": "yield",
        "method": "GET",
        "path": "/quote/best",
        "description": "Best yield route for an asset+action."
      },
      {
        "name": "x402_flashloan_quote",
        "host": "yield",
        "method": "POST",
        "path": "/quote/flashloan",
        "description": "Cheapest flashloan provider."
      },
      {
        "name": "x402_token_supply",
        "host": "yield",
        "method": "GET",
        "path": "/scan/token-supply",
        "description": "Token supply audit (owner powers, mint authority)."
      },
      {
        "name": "x402_fork_risk",
        "host": "yield",
        "method": "GET",
        "path": "/scan/fork-risk",
        "description": "Bytecode similarity score to known rug templates."
      },
      {
        "name": "x402_airdrop_eligibility",
        "host": "yield",
        "method": "GET",
        "path": "/scan/airdrop-eligibility",
        "description": "Heuristic airdrop eligibility for a wallet."
      }
    ]
  }
}