MCP Access

Consent Checker MCP

Connect Cursor, Claude Code, and other MCP clients to the deployed Consent Checker MCP server with the same API key you already use for the API.

Get API Key
Good to know: Use the deployed Heroku MCP endpoint with your normal API key. The MCP server forwards that Bearer token to the authenticated Consent Checker API, so access stays scoped to your own account, runs, reports, sessions, screenshots, and summaries.
1. Get a key

Open Account, create an API key, and keep it ready for your MCP client config.

2. Add MCP config

Point Cursor, Claude Code, or another MCP client at the deployed /mcp/ endpoint and send Authorization: Bearer <api_key>.

3. Use the tools

Run checks, list runs, fetch reports, get screenshots, inspect sessions, and start or fetch summaries directly from your client.

Consent Checker MCP

Use the Consent Checker MCP server from Cursor, Claude Code, or another MCP client with the same API key you already use for the Consent Checker API.

What You Can Do

  • Start a privacy, pixel, or CIPA audit across multiple consent flows
  • Poll the audit, fetch evidence packs, generate the suite report, and share it
  • Start a single consent check, including a post-consent journey
  • List your recent runs and audits
  • Fetch run status, the markdown report, and the raw session JSON
  • Fetch screenshot metadata and browser-usable screenshot URLs
  • Fetch tracking evidence, pixels analysis, and the CIPA flavor of that analysis
  • Fetch or start an action replay
  • Start summary generation and fetch summary or analysis status

ChatGPT and Claude

Add the deployed MCP URL as a custom connector, or install the directory app once it is listed. Sign in with your Papaya account when the client asks. The connection uses OAuth. You do not paste an API key.

If get_billing_status says the subscription is inactive, call start_subscription_checkout and open the returned Stripe Checkout URL. Checks start only after the subscription is active. Professional, Organization, and Unlimited are the plans, monthly or annual.

Cursor and other API-key clients keep using the header below.

Authentication

Your MCP client should send:

Authorization: Bearer <api_key>

ChatGPT and Claude send an OAuth access token instead of an API key. The MCP server forwards that Bearer token to the authenticated Consent Checker API.

That means:

  • the API key determines which account is making the request
  • you only see runs that belong to your account
  • reports, sessions, screenshots, and summaries are scoped the same way

Deployed MCP Endpoint

Use the deployed MCP endpoint:

https://mcp.papayacomply.ai/mcp/

Cursor Config

Put this in .cursor/mcp.json:

{
  "mcpServers": {
    "consent-checker": {
      "url": "https://mcp.papayacomply.ai/mcp/",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Claude Code Style Config

If your MCP client accepts a URL plus headers, use:

{
  "name": "consent-checker",
  "url": "https://mcp.papayacomply.ai/mcp/",
  "headers": {
    "Authorization": "Bearer YOUR_API_KEY"
  }
}

Audit workflow

ChatGPT and Claude plan the suite. Papaya runs the browsers and stores the evidence. Do not start a browser on the first request.

  1. get_billing_status. If the subscription is inactive, start_subscription_checkout and stop.
  2. get_composer_guide. Ask which location and which laws, using only that catalog.
  3. save_audit, then render_audit_plan, and stop. The card draws the plan. Do not paste a Composer, live, or results link.
  4. start_audit_runs only after the user approves, usually from the card's Run button. The card embeds each test browser.
  5. When the runs finish, the card calls get_audit_evidence and draws the scenes, screenshots, companies, cookies, requests, and comparison. Then get_report_guide. Write the legal prose under the card.

start_audit remains for a caller who explicitly wants the fixed privacy, pixel, or CIPA preset. privacy runs reject-all, accept-all, and GPC. pixels is the pixel-litigation suite. cipa is the CIPA flavor of that suite.

Available Tools

  • get_composer_guide
  • save_audit
  • start_audit_runs
  • get_report_guide
  • search_library
  • read_library_source
  • start_audit
  • get_audit
  • list_audits
  • get_audit_evidence
  • start_audit_report
  • get_audit_report
  • share_audit
  • run_consent_check
  • list_recent_runs
  • get_run_status
  • get_run_report
  • get_run_session
  • get_run_screenshots
  • get_tracking_evidence
  • get_run_analysis
  • start_run_analysis
  • get_pixels_analysis
  • start_pixels_analysis
  • get_cipa_analysis
  • start_cipa_analysis
  • get_action_replay
  • get_action_replay_script
  • start_action_replay
  • delete_run

get_run_session returns the full raw session JSON and can be large. Analysis tools return plain text unless you set include_html to true. get_cipa_analysis is the CIPA flavor of the pixels generator; get_pixels_analysis is the canonical pixel-litigation summary.

Audit resources

consent://audits/{audit_id}/report
consent://audits/{audit_id}/evidence

Screenshot Tool

Use get_run_screenshots with a run session_id to retrieve screenshot metadata plus browser-usable image URLs.

Example shape:

[
  {
    "supabase_path": "user/<session_id>/cookie-banner.png",
    "url": "https://...",
    "name": "cookie-banner.png",
    "label": "Initial Privacy Interface",
    "type": "cookie_banner"
  }
]

This is useful when you want to:

  • display captured screenshots inline
  • inspect which screenshots were captured for a run
  • render the returned url directly in HTML

Screenshot Resource

The MCP server also exposes a screenshots resource:

consent://runs/{session_id}/screenshots

That resource returns the same screenshot metadata and browser-usable image URLs as the tool.

Screenshot URLs

Screenshot responses include browser-usable image URLs.

That means a frontend or client can render them directly, for example:

<img src="https://..." alt="Consent checker screenshot">

The client does not need a Supabase API key as long as the returned URL is already public or pre-signed.

Good To Know

  • MCP access uses the same API key as the authenticated API
  • runs started through MCP still appear in the web app
  • reports, screenshots, sessions, and summaries remain available in the GUI
  • if your API key works against the API, it should work the same way through MCP