DecryptAds MCP

Model Context Protocol bridge (Streamable HTTP) for ads.txt, sellers.json, and supply-chain investigations.

Endpoint

Use this URL in your MCP client (remote / HTTP transport):

https://mcp.decryptads.com/mcp

Transport path is /mcp, not the site root. Backend: same REST API as api.decryptads.com/docs.

OAuth sign-in

Any MCP client that supports OAuth connects to https://mcp.decryptads.com/mcp with your DecryptAds account. The client sends you to the DecryptAds login you already use, then a consent screen, then back to that client. API keys are not required for that path and keep working for clients that send a key instead.

  1. Add the connector URL https://mcp.decryptads.com/mcp.
  2. Sign in to DecryptAds when asked, and allow the connection. The consent screen shows the hostname you are returning to.
  3. Tool access follows the plan on that account. A free account can call the free tools. Researcher and enterprise tools still return 403 until the account has that plan.

The authorization server is https://decryptads.com. It uses PKCE and does not offer dynamic client registration.

API key (Cursor and other clients)

MCP is available to signed-in DecryptAds accounts (free, researcher, and enterprise). Each user connects with their own API key (same tokens as the REST API). Some tools still require researcher / enterprise (e.g. Legal dossier, Crawl, Auto-Investigate, Feed Builder). Per-host ad-density and privacy scores are available to all signed-in tiers, including free.

  1. Sign in at decryptads.com.
  2. Open Account → API keys and create a token.
  3. Copy the key when shown (svw_…); it is displayed only once.
  4. Add it to your MCP client (see below).

Send the token on every MCP request using either header (same key value):

Authorization: Bearer svw_YOUR_KEY_HERE

# or

X-API-Key: svw_YOUR_KEY_HERE

Prefer Authorization: Bearer … when the client has a standard OAuth/Bearer field. Use X-API-Key if your client only supports custom headers or you already use that style for REST. Do not send both with different values.

The bridge validates the key, then forwards it to the API (rate limits and monthly quota apply per user). Revoke the key in the app to disable MCP immediately.

See also: How to use the API.

Agent usage rules (read this)

These rules are also published as MCP server instructions to connected clients. AI agents and operators must follow them to avoid overloading database-backed endpoints (especially validation alerts) and hitting rate / monthly quota limits.

  1. One publisher at a time. Load investigation data for a single hostname, finish that analysis, then move to the next. Do not open many publishers in parallel.
  2. No fan-out. Do not call publisher_* tools across a long list of hosts concurrently — especially publisher_validation_alerts, publisher_autoinvestigate, and publisher_jurisdiction_partners.
  3. Prefer Auto-Investigate first (researcher+). Use publisher_autoinvestigate once per host for the scored overview when the key has researcher or enterprise access (free-tier keys get 403 on Auto-Investigate). For the full ad-density and privacy crawl envelopes on that same host, call publisher_ad_density_score and publisher_privacy_score (available to all signed-in tiers, including free). Call publisher_validation_alerts or publisher_jurisdiction_partners when you need those payloads for the same host (available to all tiers, including free).
  4. Be sparse with crawls. ingest_hostnames triggers live fetches; use it only when the user asks to rescan, and keep batches small.
  5. Prefer specifics over corpus sweeps. Query named hostnames / ad systems the user cares about rather than bulk directory dumps unless explicitly requested.
  6. Legal dossier is heavy. Call legal_dossier one query at a time. Prefer a hostname, ads ID (pub-… / seller id), or registry/tax ID over vague name sweeps. Requires a researcher or enterprise account.
  7. Projects are private to the API-key owner. Tools like list_projects, get_project, and pin_to_project read/write the same Projects as the webapp UI for that user. There is no shared/team project store. Legacy aliases (list_cases, pin_to_case, …) still work.
  8. Feed Builder is researcher+. Tools like list_feeds, preview_feed, and create_feed require the feed_builder feature. Free-tier keys get 403.
  9. IP → origin ASN is researcher+. origin_asn and asn_intel require researcher or enterprise access. IPv6 is not enabled.
  10. DA Feeds are enterprise+. list_da_feeds and get_da_feed require an enterprise account (free and researcher keys get 403). List the catalogue once, then fetch only the slug the user named — do not fan out every feed.
  11. Authorizing-hostname lists are researcher+. ad_system_list_declaring_sites returns the full latest-snapshot host table. Free-tier keys get 403.
  12. App store catalog is researcher+. search_store_apps_catalog, get_store_app_catalog_detail, search_store_apps_by_sdk, and publisher_store_apps require researcher or enterprise access. Free-tier keys get 403.
  13. Legal policies search is DATEAM or admin. legal_policies_search finds pages that contain a word or phrase in Ad systems, Publishers, or App Policies. Researcher, enterprise, and free keys get 403.
  14. Rate limits. No more than 1 request per second and 30 requests per minute for heavy tools (sellers_json domain lookup, declared_supply, reverse_owner / reverse_manager, Auto-Investigate, validation alerts). Investigate one hostname at a time. Shared monthly quota still applies. Bursting or parallel host lists will return 429. MCP uses the same API key as REST; session webapp traffic is not on this 30/min cap.

Full tool list below. Canonical page for agents: this document at https://mcp.decryptads.com/.

Client setup

Cursor

Edit ~/.cursor/mcp.json or a project .cursor/mcp.json. Bearer (recommended):

{
  "mcpServers": {
    "decryptads": {
      "url": "https://mcp.decryptads.com/mcp",
      "headers": {
        "Authorization": "Bearer svw_YOUR_KEY_HERE"
      }
    }
  }
}

Same key via X-API-Key:

{
  "mcpServers": {
    "decryptads": {
      "url": "https://mcp.decryptads.com/mcp",
      "headers": {
        "X-API-Key": "svw_YOUR_KEY_HERE"
      }
    }
  }
}

Restart Cursor (or reload MCP). Tools appear in the MCP panel after a successful connection.

Other HTTP clients use the same URL. Prefer OAuth when the client supports it. Otherwise send the same API key as Authorization: Bearer or X-API-Key.

Tools

After you connect with a valid API key, your MCP client lists tools from the server (tools/list). Names and descriptions match the deployed bridge. Tools are grouped like the app: publisher page, ad system page, then shared utilities.

Publisher page (publisher_*)

Same endpoints as /publisher/<host> and Auto-Investigate.

Domain DNS / RDAP

Same as the Domain DNS / RDAP card on publisher and ad-system pages. Cache-only (no live dig/RDAP). Auth required (free+).

Hostname TLS

Same as the TLS certificate card on publisher and ad-system pages. Cache-only (no live handshake). Auth required (free+). Does not strip www.

ASN / BGP

IPv4 origin ASN and known-bad / BPH labels. Researcher+ only. IPv6 is not enabled.

Ad system page (ad_system_*)

Same endpoints as the ad-system profile, explore sites/accounts, and sellers.diff.

Crawl

Schain & file hashes

Research & dashboards

Legal identity

Compare & diff

Seller / account lookups

Store app catalog (researcher+)

Projects

Feed Builder

Researcher+ only. Free-tier keys get 403. Daily or weekly schedules are available; you can still save and run feeds manually.

DA Feeds

Enterprise+ only. Researcher and free-tier keys get 403.

Impression logs

Large impression-log uploads are not exposed via MCP; use the web UI, then poll with get_impressionlog_analysis_job. Hub-fleet city IP geolocation (POST /geo/locate) is not an MCP tool.

Example prompts

Avoid prompts that imply parallel multi-host investigation (“check validation alerts for these 50 domains at once”).

More documentation

MCP and REST share the same API keys and backend. For scripts without an AI assistant, call the REST API directly.