Skip to main content
Glama
stripe-chargeback-dispute-evidence-automator-mcp

stripe-chargeback-dispute-evidence-automator-mcp

stripe-chargeback-dispute-evidence-automator-mcp

Autonomous Stripe Chargeback & Dispute Evidence Compiler MCP Server (Visa CE 3.0 & Mastercard Reason Code Automation)

🌐 Live Interactive Storefront & Instant URL Grader: https://ronanchnlps-bit.github.io | πŸ“Š 200 Live Enterprise Audit Dossiers: https://ronanchnlps-bit.github.io/dossiers/index.html

⚑ Instant Zero-Install Execution (npx)

npx -y github:ronanchnlps-bit/stripe-chargeback-dispute-evidence-automator-mcp --help

Related MCP server: genpark-agentic-multimodal-product-return-fraud-detector-skill

πŸ’³ Commercial Licensing & 48-Hour Done-For-You Remediation Sprints (Zero-Call Async Checkout)

Tier

Deliverable

Price

Instant Checkout (PayPal / Card)

1. Pro Commercial License

Unlimited CI/CD & Production Repos + Commercial SARIF/VPAT Export

$79.00

πŸ’³ Buy Pro License ($79.00) β†’

2. Instant Quick-Fix Patch Pack

Pre-Built Edge Worker + /llms.txt + security.txt + Draft VPAT 2.5

$99.00

πŸ”₯ Buy Instant Patch Pack ($99) β†’

3. 48-Hour Done-For-You Sprint

Full Turnkey Pull Request Remediation + Signed ITI VPAT 2.5 ACR + 7-Day SLA

$1,497.00

⚑ Order 48h Done-For-You Sprint ($1,497) β†’

4. Continuous Monthly Retainer

Automated Weekly Drift Scans + PR Gatekeeping + Certificate Renewal

$299/mo

πŸ”„ Activate Monthly Retainer ($299/mo) β†’


Stripe Chargeback & Dispute Defense Evidence Automator MCP Server, CLI & Interactive Studio

MCP Protocol Visa CE 3.0 Stripe Disputes API Tests Commercial Kit

Commercial-grade autonomous Stripe chargeback defense engine, Visa Compelling Evidence 3.0 (CE 3.0) verification protocol, and card network dispute monitoring (VDMP/ECM) revenue recovery system.
Built for SaaS founders, digital product merchants, and e-commerce platforms losing 1%–2.5% of gross GMV to friendly fraud. Zero paid API keys required.


⚑ The Friendly Fraud Problem & The Visa CE 3.0 Solution

Online merchants lose billions annually to friendly fraudβ€”legitimate customers claiming charges were "unrecognized" (fraudulent), that they "canceled before renewal" (subscription_canceled), or that "software wasn't delivered" (product_not_received). Manual evidence submission has an abysmal 15%–22% win rate.

The Visa CE 3.0 Breakthrough (April 2023 Mandate)

Under Visa Compelling Evidence 3.0 (CE 3.0), card issuers must dismiss 10.4 fraud disputes and shift financial liability back to the merchant if the merchant proves:

  1. 2+ Prior Undisputed Settled Transactions: Processed between 120 and 365 calendar days before the disputed transaction.

  2. 2+ Matching Core Data Elements: The disputed transaction and historical charges must share at least two matching data points:

    • Customer IP Address (ipAddress / customer_ip)

    • Device ID / Fingerprint (deviceId / device_fingerprint)

    • Billing / Shipping Address Hash (billingAddressHash)

    • Customer Account ID (userAccountId / customer_id)

    • Customer Email (customerEmail)

  3. Cryptographic Proof of Agreement: Time-stamped Terms of Service SHA-256 acceptance receipt and active session telemetry.

This engine automates 100% of the CE 3.0 qualification pipeline and elevates dispute win rates from ~20% to 85%–96%.


πŸ› οΈ System Architecture & Capabilities

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚             STRIPE DISPUTE DEFENSE & REVENUE RECOVERY SUITE            β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ MCP Stdio Server       β”‚ Tools: check_visa_ce30, compile_stripe, audit  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ CLI Tool               β”‚ dispute-automator --scenario <1-6> | audit    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Interactive Studio     β”‚ dist/dispute-evidence-studio.html (Dark UI)   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Stripe Update Payload  β”‚ customer_communication, access_activity_log,   β”‚
β”‚                        β”‚ refund_policy_disclosure, cancellation_policy,β”‚
β”‚                        β”‚ service_documentation, uncategorized_text     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Card Scheme Monitor    β”‚ Visa VDMP (0.90%) & Mastercard ECM (1.00%)     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“¦ Exposed MCP Tools

This package exposes 3 production MCP tools via JSON-RPC 2.0 stdio:

1. check_visa_ce30_eligibility

Evaluates a disputed charge against historical settlement records. Validates the 120–365 day window, undisputed status, and checks 2+ matching elements.

{
  "disputedCharge": {
    "id": "ch_3O8annualEnterprise001",
    "created": "2026-10-15T11:42:19Z",
    "ipAddress": "198.51.100.45",
    "deviceId": "dev_macbook_pro_m3_88f9c1",
    "userAccountId": "usr_enterprise_9912",
    "customerEmail": "marcus.vance@vancetech-industries.com"
  },
  "priorTransactions": [ ... ]
}

Returns: { eligibleForVisaCe30: true, qualifyingTransactionsCount: 2, matchedElements: ["ipAddress", "userAccountId", "customerEmail"], winProbabilityScore: 94 }.

2. compile_stripe_dispute_evidence

Compiles an official stripe.disputes.update() payload and authoritative Executive Legal Rebuttal Brief for all Stripe reason codes:

  • fraudulent

  • subscription_canceled

  • product_not_received

  • unacceptable_product

  • duplicate

  • credit_not_processed

Includes cryptographic SHA-256 ToS acceptance receipt, server access logs, and formal demand for liability shift.

3. audit_merchant_chargeback_ratio

Audits merchant chargebacks against card network penalty programs:

  • Visa VDMP (Visa Dispute Monitoring Program): Standard threshold at 0.90% & 100 disputes; Early Warning at 0.65% & 75 disputes.

  • Mastercard ECM (Excessive Chargeback Merchant): Threshold at 1.00%; Early Warning at 0.70%.

  • Calculates net recovered revenue and dispute fee savings ($15/dispute avoidance).


πŸš€ Quickstart & MCP Setup

A. Add to Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "stripe-dispute-automator": {
      "command": "npx",
      "args": ["-y", "stripe-chargeback-dispute-evidence-automator-mcp"]
    }
  }
}

B. Add to Cursor / Antigravity IDE (mcp.json)

{
  "mcpServers": {
    "stripe-dispute-defense": {
      "command": "node",
      "args": ["/absolute/path/to/stripe-chargeback-dispute-evidence-automator-mcp/src/mcp-server.js"]
    }
  }
}

πŸ’» CLI Commands

# Run benchmark and build Interactive Studio
node bin/cli.js --demo

# Run specific real-world scenario (1 to 6)
node bin/cli.js --scenario 1

# Audit monthly VDMP/ECM chargeback ratio & net revenue recovery
node bin/cli.js audit --disputes 92 --tx 9800 --dispute-vol 8450 --sales-vol 84200

# Evaluate Visa CE 3.0 from a JSON file
node bin/cli.js check-ce30 my-dispute.json

# Compile complete Stripe payload and legal rebuttal
node bin/cli.js compile my-case.json

πŸ§ͺ 6 Realistic Benchmark Scenarios

Scenario

Dispute Reason

Key Defense Strategy

Win Rate

1. SaaS Annual Pro ($1,188)

fraudulent

Visa CE 3.0 IP + Account match, 2 prior renewals (143d & 350d), 84 logins

94%

2. AI Compute Tokens ($450)

fraudulent

4.2M tokens consumed, API key issuance telemetry, clickwrap ToS hash

85%

3. Developer Boilerplate ($199)

fraudulent

Visa CE 3.0 triple-renewal match, asset SHA-256 download telemetry

98%

4. Team License Renewal ($720)

subscription_canceled

7-day pre-renewal notification opened, self-serve cancellation disclosure

88%

5. Hardware 2FA Keys ($349)

product_not_received

FedEx tracking, recipient signature verification, GPS coordinates

92%

6. VDMP High-Risk Audit

vdmp_warning

0.9388% ratio alert, roadmap to save $73,135/yr in recovered revenue

β€”


🎨 Interactive Studio (dist/dispute-evidence-studio.html)

High-craft dark-canvas UI (#090D14 background, #111827 surface, 1px #1E293B borders, JetBrains Mono tabular-nums, zero purple/neon AI gradients):

  • Scenario Quick Switcher: Instant preview across all 6 dispute cases.

  • Visa CE 3.0 Rule Inspector: Live check of 120–365 day window, undisputed status, and matched elements.

  • Stripe API Payload Viewer: Instant syntax-highlighted stripe.disputes.update() JSON with 1-click clipboard copy.

  • Executive Legal Brief: Formatted rebuttal narrative citing card brand mandates.

  • VDMP & ECM Ratio Calculator: Live financial modeling of net revenue recovered and fee savings.

Open directly in any modern browser:

open dist/dispute-evidence-studio.html

πŸ”¬ Test Suite (Vitest)

Run the comprehensive 29-test verification suite:

npm test -- --run
 βœ“ tests/dispute-engine.test.js (29 tests passed)
   βœ“ Dispute Engine β€” Date, Crypto & Normalization Utilities (5)
   βœ“ Visa Compelling Evidence 3.0 (CE 3.0) β€” Window & Qualification Rules (8)
   βœ“ Stripe Dispute Evidence Compilation β€” Reason Codes & Payloads (7)
   βœ“ Visa VDMP & Mastercard ECM Card Brand Monitoring Auditor (4)
   βœ“ MCP Server Integration & Direct Tool Handlers (4)
   βœ“ Interactive Studio HTML Generation (1)

 Test Files  1 passed (1)
      Tests  29 passed (29)
   Duration  900ms

πŸ“„ License & Commercial Distribution

MIT License. Commercialized on Smithery.ai, Glama.ai, and Gumroad ($49/mo or $149 lifetime kit). Part of the Prong 2 Marketplace Suite.

Available Tools

3 tools
audit_merchant_chargeback_ratioB

Audits merchant monthly chargeback and sales performance against Visa Dispute Monitoring Program (VDMP 0.90% threshold, 0.65% early warning) and Mastercard Excessive Chargeback Merchant (ECM 1.00% threshold) penalty programs. Models net recoverable revenue, fee savings, and generates prioritized compliance action plans.

Inputs: monthlyDisputes (required), monthlySalesVolume (required), monthlyTransactions (required), monthlyDisputeVolume (required), +3 more.

check_visa_ce30_eligibilityA

Evaluates a disputed transaction against merchant historical settlement records under Visa Compelling Evidence 3.0 (CE 3.0). Validates the 120-365 day window, undisputed status, and checks 2+ matching elements (IP, device fingerprint, billing address hash, customer ID, email). Returns eligibility verdict, matched elements, rules breakdown, and win probability score (0-100).

Inputs: disputedCharge (required), priorTransactions.

compile_stripe_dispute_evidenceB

Compiles an official Stripe disputes.update API evidence payload with pre-formatted fields (access_activity_log, customer_communication, refund_policy_disclosure, cancellation_policy_disclosure, service_documentation, uncategorized_text), ToS SHA-256 cryptographic acceptance receipt, and an Executive Legal Rebuttal narrative in Markdown citing card network regulations (Visa CE 3.0, Mastercard Chargeback Guide). Supports fraudulent, subscription_canceled, product_not_received, unacceptable_product, duplicate, and credit_not_processed dispute reason codes.

Inputs: disputeCase (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool targets a clearly distinct phase of the chargeback workflow: eligibility evaluation, evidence payload compilation, and portfolio ratio auditing. There is no overlap in purpose or inputs, so an agent can confidently select the right tool.

    Naming Consistency5/5

    All three names follow a strict verb_noun snake_case pattern (check_, compile_, audit_) with descriptive domain-specific nouns. The convention is uniform and predictable.

    Tool Count5/5

    Three tools is well-scoped for a narrow, specialized server focused on Visa CE 3.0 eligibility, evidence compilation, and chargeback ratio auditing. Each tool earns its place without bloat.

    Completeness3/5

    The surface covers eligibility checking, evidence compilation, and compliance auditing, but lacks tools to retrieve/list disputes or actually submit the compiled evidence via Stripe's disputes.update API. Eligibility is also limited to Visa CE 3.0, leaving other network-specific checks as a gap.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables detection and risk scoring of e-commerce return fraud and wardrobing by correlating return velocity, carrier scan discrepancies, product tag tampering indicators, and customer return history, then enforcing actions like restocking fees or dispute escalation.
      7
      -
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables MCP clients to evaluate e-commerce return requests by correlating return velocity, carrier scan discrepancies, product tag tampering indicators, and customer lifetime return ratios. It computes a composite fraud risk score and recommends enforcement actions such as restocking fees or dispute escalation.
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables auditing recurring bank and card subscription charges to detect stealth price increases, expired trial conversions, and calculate annualized budget leakage. It also generates retention negotiation dispute letters to help users reduce unnecessary expenses.
      7
      -