RevClamp Enterprise B2B REVENUE ASSURANCE Start Free
MODEL CONTEXT PROTOCOL (MCP 2025-06-18) | STREAMABLE HTTP & STDIO

RevClamp Model Context Protocol (MCP) Server

Give Claude Desktop, Cursor, Windsurf, and autonomous finance/engineering agents 5 deterministic B2B billing and tax tools over Streamable HTTP (https://api.revclamp.com/api/mcp) or local stdio (npx -y github:lhphong09t2/revclamp-mcp). Updated .

1. Zero-Install Remote Streamable HTTP Config

Connect directly to https://api.revclamp.com/api/mcp. Omit the Authorization header for instant zero-key stateless sandbox testing, or supply a free rg_live_... workspace key.

{
  "mcpServers": {
    "revclamp": {
      "url": "https://api.revclamp.com/api/mcp"
    }
  }
}

2. Local stdio Bridge (Claude Desktop / Cursor)

Zero-dependency Node.js ≥ 20 ESM bridge with 32KB payload cap, SSRF host pinning, and strict JSON-RPC 2.0 envelope validation.

{
  "mcpServers": {
    "revclamp": {
      "command": "npx",
      "args": ["-y", "github:lhphong09t2/revclamp-mcp"],
      "env": {
        "REVCLAMP_MCP_URL": "https://api.revclamp.com/api/mcp"
      }
    }
  }
}

3. Exposed MCP Tools (5 Deterministic B2B Tools — MCP 2025-06-18 Annotated)

All 5 tools return both structuredContent and JSON text content, with explicit readOnlyHint: true, destructiveHint: false, and idempotentHint: true annotations.

MCP Tool Name Title & Scope Key Input Parameters Structured Output Keys
revclamp_audit_revenue_leakage Audit 90-Day B2B Subscription & Usage Revenue Leakage customers, usageEvents, disputes, dunningGracePeriodDays, costPerEventCents audit.scannedCustomers, audit.ghostLeakEventsCount, audit.estimatedBleedUsd, audit.leakageAlerts
revclamp_evaluate_ghost_usage Evaluate Stripe 2025-03-31.basil Ghost-Usage Entitlement customerId, subscriptions, subscriptionsHasMore, dunningGracePeriodDays, usageTimestampSec, occurredAtSec evaluation.isGhostLeak, evaluation.isGhostUsage, evaluation.reason, evaluation.GhostUsageAlert
revclamp_stage_stripe_dispute_ce3 Stage Non-Destructive Visa CE 3.0 Stripe Dispute Draft disputeId, customerId, disputeReason, existingUncategorizedText, disputedTransaction, priorTransactions, usageEvents submitForcedFalse (true), ce3Qualification.qualified, drawer.stripeUpdateParams
revclamp_validate_eu_vat_vies Validate EU & UK NI (XI) B2B VAT ID with VIES Breaker sellerCountry, buyerVatId (normalizes GR → EL), viesMode, consultationNumber normalizedVat.countryCode, reverseChargeEligible, viesDecision.status, viesDecision.action
revclamp_reconcile_b2b_net_terms Reconcile Shopify Plus B2B Net-15/30/60 Wholesale Deposit orderId, totalOrderCents, paidAmountCents, creditNoteCents, creditNotesCents, requiredDepositCents, requiredDepositPercent, paymentTermsDays reconciliation.state, reconciliation.fulfillmentHold, reconciliation.remainingBalanceCents, reconciliation.orderTag

4. Live JSON-RPC 2.0 MCP Playground (POST /api/mcp)

Select any of the 5 MCP tools (or tools/list) to inspect the JSON-RPC 2.0 request envelope and execute a live call against POST /api/mcp in stateless sandbox mode.

{
  "jsonrpc": "2.0",
  "id": "mcp-playground-1",
  "method": "tools/call",
  "params": {
    "name": "revclamp_audit_revenue_leakage",
    "arguments": {
      "dunningGracePeriodDays": 3,
      "costPerEventCents": 142
    }
  }
}

5. Live MCP Response & structuredContent Output

Displays deterministic domain verdicts, round-trip latency, and the full JSON-RPC 2.0 response returned by POST /api/mcp.

Click Execute Live JSON-RPC 2.0 Call to test POST /api/mcp directly in your browser.
Awaiting live JSON-RPC 2.0 call...

6. Registry Manifests & Open-Source Bridge

Inspect our machine-readable discovery files or open any standalone diagnostic tool in the browser.

View /.well-known/mcp.json Manifest → GitHub: lhphong09t2/revclamp-mcp Glama MCP Directory Open Free B2B Tools Hub Provision Free Workspace Key