{"report":"{\"v\":1,\"package\":\"revclamp-mcp\",\"version\":\"1.20.33\",\"ranAt\":\"2026-11-16T11:36:16.001Z\",\"install\":{\"ok\":true,\"integrity\":\"sha512-ecbkQqZXwvCJd6nkzHn7asOkVprkMYVO8HGmStcYYofnFZA6oVXkqcNC6REo2FJn2wptXCc4OY8TiSaCh1HHmQ==\",\"deps\":0,\"scripts\":[],\"bins\":[\"revclamp-mcp\"],\"license\":\"MIT\",\"engines\":\"node >=20.0.0\",\"repository\":\"https://github.com/lhphong09t2/revclamp-mcp.git\",\"bin\":\"revclamp-mcp\"},\"start\":{\"ok\":true,\"ms\":38,\"serverName\":\"revclamp-mcp\",\"serverVersion\":\"1.20.33\",\"protocol\":\"2025-06-18\"},\"tools\":[{\"name\":\"revclamp_audit_revenue_leakage\",\"description\":\"Runs a deterministic 90-day B2B revenue leakage and Visa CE 3.0 readiness audit across caller-supplied Stripe subscriptions (2025-03-31.basil item-level periods), usage events, and disputes.\",\"params\":[\"customers\",\"usageEvents\",\"disputes\",\"dunningGracePeriodDays\",\"costPerEventCents\",\"demo\"]},{\"name\":\"revclamp_evaluate_ghost_usage\",\"description\":\"Evaluates whether a metered API/SaaS usage event belongs to an entitled customer or represents post-cancellation / post-grace ghost usage under Stripe 2025-03-31.basil.\",\"params\":[\"customerId\",\"subscriptions\",\"subscriptionStatus\",\"subscription_status\",\"currentPeriodEndSec\",\"current_period_end\",\"currentPeriodEnd\",\"latestInvoiceFailedAtSec\",\"latest_invoice_failed_at\",\"usageEvent\",\"subscriptionsHasMore\",\"dunningGracePeriodDays\",\"usageTimestampSec\",\"occurredAtSec\",\"occurredAt\",\"occurred_at\",\"timestamp\",\"demo\"]},{\"name\":\"revclamp_stage_stripe_dispute_ce3\",\"description\":\"Evaluates Visa Compelling Evidence 3.0 (CE 3.0) 120d-365d historical footprint overlap (IP / device_id) and builds a non-destructive access_activity_log draft (<= 18,000 UTF-16 code units, submit: false).\",\"params\":[\"disputeId\",\"customerId\",\"disputeReason\",\"existingAccessActivityLog\",\"existingUncategorizedText\",\"disputedTransaction\",\"priorTransactions\",\"usageEvents\",\"demo\"]},{\"name\":\"revclamp_validate_eu_vat_vies\",\"description\":\"Normalizes 27 EU member states + Northern Ireland (XI) B2B VAT IDs (auto-converting Greece GR -> EL) and checks cross-border reverse-charge format eligibility locally (or simulates VIES states when demo: true).\",\"params\":[\"sellerCountry\",\"buyerVatId\",\"supplyType\",\"viesMode\",\"consultationNumber\",\"demo\"]},{\"name\":\"revclamp_reconcile_b2b_net_terms\",\"description\":\"Reconciles Shopify Plus B2B Net-15/30/60 (and custom 1..180-day) wholesale invoices, upfront deposits, credit notes, and rounding tolerances using integer EUR-cent double-entry accounting.\",\"params\":[\"orderId\",\"totalOrderCents\",\"orderTotalCents\",\"paidAmountCents\",\"creditNoteCents\",\"creditNotesCents\",\"requiredDepositCents\",\"requiredDepositPercent\",\"paymentTermsDays\",\"daysElapsedSinceInvoice\",\"invoiceIssuedAtSec\",\"toleranceCents\",\"demo\"]},{\"name\":\"revclamp_verify_webhook_signature\",\"description\":\"Generates and verifies raw-UTF8 HMAC-SHA256 webhook signatures for Stripe (Stripe-Signature t=,v1=), Shopify (X-Shopify-Hmac-Sha256 base64), and RevClamp (X-RevClamp-Signature) with 300s timestamp replay protection.\",\"params\":[\"provider\",\"secret\",\"secrets\",\"rawPayload\",\"signatureHeader\",\"timestampSec\",\"toleranceSec\",\"demo\"]},{\"name\":\"revclamp_calculate_roi_and_plan_fit\",\"description\":\"Calculates monthly and annual B2B margin savings in integer USD cents comparing 0% take-rate flat pricing against 25%-30% chargeback contingency agencies and recommends the optimal tier.\",\"params\":[\"monthlyWonDisputeUsd\",\"monthlyGhostBleedUsd\",\"contingencyTakeRatePercent\",\"monthlyUsageEvents\",\"demo\"]},{\"name\":\"revclamp_simulate_webhook_replay\",\"description\":\"Simulates out-of-order and duplicate subscription lifecycle webhooks against a 72-hour deduplication Set and monotonic createdSec watermark vs. a naive arrival-order handler.\",\"params\":[\"scenarioPreset\",\"nowSec\",\"idempotencyWindowSec\",\"events\",\"demo\"]},{\"name\":\"revclamp_lint_dispute_evidence\",\"description\":\"Lints Stripe dispute evidence[access_activity_log] payloads against the 18,000 UTF-16 code unit ceiling, non-destructive RevClamp CE 3.0 block markers, merchant note preservation, 17,922/17,920-char fixed wrapper capacity threshold (SKIP_POST_PRESERVE_DRAFT), and Visa CE 3.0 two-identifier overlap.\",\"params\":[\"preset\",\"existingMerchantNotes\",\"evidenceLogText\",\"accessActivityLog\",\"priorMatchedCount\",\"hasIpMatch\",\"hasDeviceMatch\",\"disputedTransaction\",\"priorTransactions\",\"demo\"]}],\"toolsHash\":\"688834920f2c2da9376fb718f7da1d467a8ed6db4b0d854ac045e416dd8b3bfe\",\"wrote\":[],\"host\":{\"commit\":\"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c\",\"run\":\"https://github.com/itsHaddad/bragproof/actions/runs/43857070216\"},\"network\":{\"names\":[\"registry.npmjs.org\"],\"conns\":[]}}","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJhY3RvciI6Iml0c0hhZGRhZCIsImFjdG9yX2lkIjoiMTE0NzMyNjEiLCJhdWQiOiJicmFncHJvb2YtcmVwb3J0OjIyNDRlZTY2NTcxM2E1NTdjOTZlZjRlNGIyNDY0MjRlMDNkMjQ3NWUzODQ0MDVhNTE1MjkyNTgwNTUxMzFhMGMiLCJiYXNlX3JlZiI6IiIsImNoZWNrX3J1bl9pZCI6IjEzMzI2Mzk5NTYwNyIsImV2ZW50X25hbWUiOiJzY2hlZHVsZSIsImV4cCI6MTc5NDgyOTI4MSwiaGVhZF9yZWYiOiIiLCJpYXQiOjE3OTQ4Mjg5ODEsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naX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