Skip to content
PreviewFix

Model Context Protocol (MCP)

Connect AI agents to PreviewFix.

Point Claude Desktop, Claude Code, Cursor, Windsurf or ChatGPT at our stateless Streamable HTTP endpoint https://previewfix.com/mcp. Agents can list sellable services, run free live previews and generate hosted checkout links for a human buyer to review and pay — with zero autonomous card charges and zero cross-customer access.

MCP endpoint summaryv1.0.0
Streamable HTTP URL
POST https://previewfix.com/mcp
Discovery manifest
GET https://previewfix.com/.well-known/mcp.json
Registry identifier
com.previewfix/previewfix
Capabilities
5 tools · 2 resources
Authentication
Optional API keyFree previews

1 · Client setup

Add one URL in five clients.

No API key is required to browse services or run free previews within the per-IP allowance. Pass an optional Authorization: Bearer ak_live_… or X-API-Key header if you hold a PreviewFix API key for higher hourly preview limits.

Claude Code (CLI or project .mcp.json)Streamable HTTP
# Quick CLI install (anonymous free previews)
claude mcp add --transport http previewfix https://previewfix.com/mcp

# Optional: add your API key for higher per-key rate limits
claude mcp add --transport http previewfix https://previewfix.com/mcp \
  --header "X-API-Key: ak_live_YOUR_KEY"

# Or check into project root as .mcp.json:
{
  "mcpServers": {
    "previewfix": {
      "type": "http",
      "url": "https://previewfix.com/mcp"
    }
  }
}
Claude Desktop (Connectors or claude_desktop_config.json)Remote connector
# Recommended (Claude Desktop UI):
# Settings → Connectors → Add custom connector
#   Name: PreviewFix
#   URL:  https://previewfix.com/mcp

# Local bridge fallback (claude_desktop_config.json):
{
  "mcpServers": {
    "previewfix": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://previewfix.com/mcp"]
    }
  }
}
Cursor (.cursor/mcp.json)Streamable HTTP · valid JSON
{
  "mcpServers": {
    "previewfix": {
      "url": "https://previewfix.com/mcp"
    }
  }
}
Windsurf (~/.codeium/windsurf/mcp_config.json)Streamable HTTP · valid JSON
{
  "mcpServers": {
    "previewfix": {
      "serverUrl": "https://previewfix.com/mcp"
    }
  }
}
ChatGPTRemote MCP Connector / Developer Mode
No OAuth required

ChatGPT remote MCP setup

In ChatGPT open Settings → Apps & Connectors (with Developer Mode enabled on supported plans), click Create, set the MCP Server URL to https://previewfix.com/mcp and select No authentication. Because get_checkout_link never charges a card and only returns a hosted checkout URL, human confirmation stays enforced in your browser.

2 · Tools (5 operations)

Five scoped tools, zero silent charges.

Every tool returns structured JSON inside a standard MCP text content block and sets isError: true on validation, rate-limit or vertical-screening refusals.

Complete MCP tool contract (5 tools)

Stateless JSON-RPC 2.0 · Official TypeScript MCP SDK

  • list_servicesRead-only
    Arguments
    category?: 'email-security' | 'accessibility' | 'eu-compliance' | 'ai-visibility' | 'data-conversion' | 'procurement' | 'site-reliability' | ...
    Returns
    Sellable service slugs, VAT-inclusive GBP/USD variant prices, turnaround, accepted MCP input fields, and whether a service requires a web file upload.
    Guardrails
    Strictly filtered to currently sellable services. Safe to call repeatedly.
  • run_previewFree preview
    Arguments
    slug: string, input: Record<string, unknown>
    Returns
    token (16–32 chars), solveUrl, headline, summary, structured preview blocks, deliverable list, mode ('live' | 'sandbox'), and variant prices.
    Guardrails
    Runs the exact same validation, prohibited-vertical screen, SSRF IP pinning, rate limits, and preview cost cap as /api/preview. Binary file-upload services point back to their web toolUrl.
  • get_previewRead-only
    Arguments
    token: string (16–32 chars)
    Returns
    Stored preview headline, summary, blocks, deliverables, status, and solveUrl for an active preview token.
    Guardrails
    Requires the cryptographically random token returned by run_preview. Returns not_found for expired, blocked, or non-sellable tokens.
  • get_checkout_linkHuman-paid
    Arguments
    token: string, email: string, variant?: string, provider?: 'stripe' | 'paypal', name?: string
    Returns
    reference (e.g. PR-7K2M9Q), checkoutUrl, solveUrl, orderUrl, humanPaymentRequired: true.
    Guardrails
    Creates an unpaid order and returns a hosted Stripe URL (or PayPal when enabled). No charge is made until the human buyer opens checkoutUrl and completes payment.
  • check_order_statusRead-only
    Arguments
    reference: string, token: string
    Returns
    Order status, paidAt, deliveredAt, progress events, escrow details (if any), and expiring signed deliverable download URLs once delivered.
    Guardrails
    Strictly requires BOTH the order reference AND the matching preview token so no caller can read another customer's order.

3 · Resources (2 read-only URIs)

Live catalogue and pricing resources.

MCP clients that prefetch resources can read our current sellable services and VAT-inclusive pricing schedules directly without invoking a tool.

previewfix://catalogapplication/json

Service catalogue

Sellable services, preview input schemas, turnaround times, and tool URLs.

Generated dynamically from the active server configuration — never stale or hardcoded.

previewfix://pricingapplication/json

Pricing schedule

VAT-inclusive GBP and USD prices for sellable services, plus recurring website monitors and EU Battery Passport hosting plans.

Generated dynamically from the active server configuration — never stale or hardcoded.

4 · Safety, rate limits & audit logging

Built for untrusted inputs and human checkout.

An AI agent can inspect a domain or page and prepare an order link, but financial authority, refund controls and customer records remain strictly outside the MCP surface.

Hard security boundaries

What this MCP server refuses by design

  • No autonomous payments or refunds: No MCP tool can charge a card, issue a refund, cancel a subscription, or modify account settings. get_checkout_link only returns a hosted Stripe URL (or PayPal when enabled) for the human buyer.
  • No cross-customer access: check_order_status requires both the order reference and the matching random preview token. Session cookies are ignored on /mcp.
  • Untrusted input isolation: Free-text inputs pass through our deterministic sanitiser before reaching any pipeline, binary file fields are blocked over MCP, and all outbound crawls use DNS-pinned SSRF protection plus the prohibited-vertical screen.
  • Structured audit trail: Every tool call, resource read, rate-limit hit and failed API key check is logged to Postgres with hashed caller identifiers — never storing raw API keys, raw IPs or buyer emails in the audit log.
Enforced quotas

Per-IP, per-key and payload limits

Maximum JSON-RPC request body
256 KiB (HTTP 413 above)
General MCP calls (anonymous / API key)
120 / 240 per 15 min
Free previews (anonymous / API key)
12 / 30 per hour
Checkout links (anonymous / API key)
20 / 40 per hour
Invalid Bearer / X-API-Key header
HTTP 401 (never falls back)

Free previews enforce the same per-preview cost cap as our web tools, plus a per-service daily preview spend cap on /mcp. HTTP 429 replies include a Retry-After header in seconds.

5 · Active catalogue (7 services)

Currently sellable via MCP.

This list is rendered directly from the active SELLABLE_PIPELINES configuration — identical to what list_services and previewfix://catalog return.

pdf-to-erpWeb upload only

Wholesale PDF to Shopify, WooCommerce & Xero

Turn a supplier price-list PDF into import-ready, penny-exact CSVs.

Fields: vendor, markupPercent, dateFormat

wcag-eaa-auditMCP preview

EAA & ADA WCAG 2.2 AA Audit + Code Patch

A real-browser accessibility audit with the copy-paste fixes and your conformance statement.

Fields: url*, countryCode, platform, organisation, contactEmail, pageLimit, staff, annualTurnoverEur

tender-bid-readinessMCP preview

Public Tender Bid-Readiness Matrix

Know in minutes whether a tender is winnable, and what the scoring rewards.

Fields: url*, companyName, cpvCodes, regions, annualTurnoverGbp, employees, credentials, publicLiabilityGbp, employersLiabilityGbp, professionalIndemnityGbp, referencesAvailable

Independent AI bid-analysis software — not affiliated with any government authority.

dmarc-fix-packMCP preview

DMARC, SPF, DKIM & BIMI Fix-Pack

The exact DNS records to stop your domain being spoofed, checked for 30 days.

Fields: domain*, reportEmail

geo-ai-visibilityMCP preview

AI Search Visibility Pack

llms.txt, structured data and an AI-readiness audit so assistants can find and cite you.

Fields: url*, brandName, category, location, competitors, prompts

dpp-peppolMCP preview

EU Digital Product Passport & Peppol Pack

A scannable product passport and a validated e-invoice, ready for EU buyers.

Fields: productName*, gtin*, category, batteryCategory, batteryChemistry, ratedCapacityAh, nominalVoltageV, minVoltageV, maxVoltageV, ratedEnergyKwh, batteryWeightKg, manufacturingDate, carbonFootprintKgCo2e, carbonFootprintClass, expectedLifetimeCycles, roundTripEfficiencyPct, recycledCobaltPct, recycledLithiumPct, recycledNickelPct, criticalRawMaterials, extinguishingAgent, euDeclarationOfConformityUrl, dueDiligenceReportUrl, brand, model, description, countryOfOrigin, batch, serial, materials, careInstructions, disposalInstructions, warrantyMonths, safetyWarnings, resolver, manufacturerName*, manufacturerStreet*, manufacturerCity*, manufacturerPostcode, manufacturerCountry*, manufacturerEmail, manufacturerWebsite, euRepName, euRepStreet, euRepCity, euRepPostcode, euRepCountry, euRepEmail, invoiceNumber, invoiceIssueDate, invoiceDueDate, paymentTerms, currency, sellerVatId, sellerEndpoint, sellerIban, buyerName, buyerStreet, buyerCity, buyerPostcode, buyerCountry, buyerVatId, buyerEndpoint, buyerReference, quantity, unitPrice, vatCategory, vatRate

booking-patch-deskMCP preview

Broken Mobile Booking Instant-Patch Desk

We replay the failure on a phone, then hand you the fix.

Fields: url*, bookingProvider, cms

6 · Quick verification

Test discovery and JSON-RPC in curl.

Streamable HTTP clients must send Accept: application/json, text/event-stream and Content-Type: application/json on POST /mcp.

1 · Inspect /.well-known/mcp.jsonGET 200
curl -sS https://previewfix.com/.well-known/mcp.json | jq .
2 · Call list_services over Streamable HTTPPOST /mcp
curl -sS -X POST https://previewfix.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "list_services",
      "arguments": {}
    }
  }'