{
  "schemaVersion": "1.0",
  "name": "solana-forensics-mcp",
  "title": "Solana Forensics MCP",
  "version": "1.0.0",
  "description": "Deterministic Solana SPL & Token-2022 rug forensics, extension safety audit, top-20 concentration, and wallet exposure MCP server.",
  "homepage": "https://solana-forensics-mcp.nguyenthanhnam-pye.workers.dev",
  "openapi": "https://solana-forensics-mcp.nguyenthanhnam-pye.workers.dev/openapi.json",
  "transport": {
    "type": "streamable-http",
    "url": "https://solana-forensics-mcp.nguyenthanhnam-pye.workers.dev/mcp"
  },
  "authentication": {
    "freeTools": [
      "preview_solana_mint"
    ],
    "paidRails": [
      "x402 v2 (_meta['x402/payment'] or PAYMENT-SIGNATURE header)",
      "X-API-Key / Authorization: Bearer (redeemed via POST /v1/keys/redeem)",
      "X-Solana-Tx (single-call confirmed Solana mainnet transaction proof)"
    ]
  },
  "payments": {
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "settlementWallet": "CU3jGXaBX3TLR24iY9SPcoFWbg5vKpyFKQMjuk9DFckt",
    "facilitator": "https://facilitator.payai.network",
    "feePayer": "CjNFTjvBhbJJd2B5ePPMHRLx1ELZpa8dwQgGL727eKww",
    "usdcAtaInitialized": false,
    "assets": [
      {
        "symbol": "USDT",
        "mint": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
        "decimals": 6,
        "x402Active": true,
        "directSolanaPay": true
      },
      {
        "symbol": "USDC",
        "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "decimals": 6,
        "x402Active": false,
        "directSolanaPay": true,
        "note": "Direct Solana Pay USDC active now (auto-initializes canonical USDC ATA); x402 USDC auto-enables upon ATA initialization."
      },
      {
        "symbol": "SOL",
        "mint": "native",
        "decimals": 9,
        "x402Active": false,
        "directSolanaPay": true
      }
    ],
    "creditPacks": [
      {
        "id": "starter",
        "name": "Starter Credit Pack",
        "usd": 2,
        "atomicStable": "2000000",
        "calls": 150,
        "ttlDays": null
      },
      {
        "id": "builder",
        "name": "Builder Credit Pack",
        "usd": 5,
        "atomicStable": "5000000",
        "calls": 500,
        "ttlDays": null
      },
      {
        "id": "pro_30d",
        "name": "Pro 30-Day Pass",
        "usd": 15,
        "atomicStable": "15000000",
        "calls": 5000,
        "ttlDays": 30
      }
    ]
  },
  "tools": [
    {
      "name": "preview_solana_mint",
      "description": "FREE (20/day/IP): Fast Solana SPL & Token-2022 mint authority and dangerous extension check (PermanentDelegate, TransferHook, TransferFeeConfig, DefaultAccountState, MintCloseAuthority, Pausable, NonTransferable). Defaults to PYUSD Token-2022 if mint is omitted.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mint": {
            "type": "string",
            "description": "Solana base58 SPL or Token-2022 mint address (optional; defaults to PYUSD 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo)"
          }
        },
        "additionalProperties": false
      },
      "payment": {
        "priceUsd": 0
      }
    },
    {
      "name": "audit_solana_mint",
      "description": "PAID ($0.02 via x402 USDT/USDC, X-API-Key, or X-Solana-Tx): Deep Solana SPL & Token-2022 rug forensics report with full Token-2022 extension proofs, mint/freeze authority checks, top-20 holder concentration percentages (top1/top5/top10/top20), recent mint signatures, and deterministic 0-100 risk score.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mint": {
            "type": "string",
            "description": "Solana base58 SPL or Token-2022 mint address to audit"
          }
        },
        "required": [
          "mint"
        ],
        "additionalProperties": false
      },
      "payment": {
        "priceUsd": 0.02,
        "atomicStable": "20000",
        "rails": [
          "x402-v2-solana",
          "solana-tx-proof",
          "api-key"
        ]
      }
    },
    {
      "name": "audit_solana_wallet",
      "description": "PAID ($0.02 via x402 USDT/USDC, X-API-Key, or X-Solana-Tx): Solana wallet counterparty & exposure audit returning SOL balance, executable/program flags, SPL vs Token-2022 token counts, top holdings, frozen/delegated account flags, and dust/zero-balance exposure.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "Solana base58 wallet address to audit"
          }
        },
        "required": [
          "address"
        ],
        "additionalProperties": false
      },
      "payment": {
        "priceUsd": 0.02,
        "atomicStable": "20000",
        "rails": [
          "x402-v2-solana",
          "solana-tx-proof",
          "api-key"
        ]
      }
    },
    {
      "name": "batch_audit_solana_mints",
      "description": "PAID ($0.05 via x402 USDT/USDC, X-API-Key, or X-Solana-Tx): Batch deep Solana SPL & Token-2022 mint audit for up to 10 mints in a single call.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mints": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "maxItems": 10,
            "description": "Array of 1 to 10 Solana base58 mint addresses"
          }
        },
        "required": [
          "mints"
        ],
        "additionalProperties": false
      },
      "payment": {
        "priceUsd": 0.05,
        "atomicStable": "50000",
        "rails": [
          "x402-v2-solana",
          "solana-tx-proof",
          "api-key"
        ]
      }
    }
  ]
}