Developer platform
MCP server
Cursor · Claude Desktop · n8n
or your own backend
● Scope-gated
every tool call

Drive ClickTrust from any AI agent, IDE or backend.

One Model Context Protocol endpoint. Every fraud-defence and MMP capability: web scanning, in-app SDK ops, affiliate management, postback control, reports, IP lists and audience exclusion.

Curated, scope-gated and ready for Cursor, Claude Desktop, n8n or your own backend.

Live JSON spec · /api/mcp/spec

Agent self-registration

Any media-buying agent can self-register

No admin provisioning needed. Self-register, create accounts, add traffic sources, manage fraud reports and operate campaign protection, all through MCP.

  1. 01Create accountSign up at ClickTrust
  2. 02Generate MCP keyDeveloper → API Keys
  3. 03Fetch skill.mdDownload the agent skill
  4. 04Add MCP serverCursor, Claude or n8n
  5. 05Start operatingCreate accounts, scan, report

● What you can automate

Every namespace. One tool surface.

Curated tools shaped around real intents, not a 1:1 dump of 500 routes. Designed for LLMs to plan over.

web.*Web protection→ web.accounts.create→ web.scripts.snippet→ web.traffic.query
inapp.*In-app SDK→ inapp.accounts.create_native→ inapp.app_events.summary→ inapp.device_blocklist.upsert
mmp.*MMP attribution→ mmp.affiliates.create→ mmp.offers.create→ mmp.postbacks.replay
reports.*Reports→ reports.data.query→ reports.aggregate.query→ reports.scheduled.run_now
audience.*Audience exclusion→ audience.exclusion.preview→ audience.exclusion.export_url→ audience.unsubscribe.add
iplists.*IP lists→ iplists.whitelist.add→ iplists.whitelist.bulk_upload→ iplists.blocklist.list
trap.*Trap intelligence→ trap.catalog.list→ trap.taxonomy→ trap.account.set
site.*Website content (CMS)→ site.pages.create→ site.blog.create→ site.assets.upload

Tool names from the live spec. The full catalog is generated from GET /api/mcp/spec.

Website operations

Let an agent run the website

https://clicktrust.cc/mcp/web

This endpoint exposes only the tools needed to operate web tracking accounts. MMP, in-app, audience and report tools are not reachable on it, whatever scopes the key carries, so a site-management agent can be given a key without widening its blast radius.

Writes are admin-only. Every tool that changes a site requires the admin:web scope, which exists only on keys minted from Admin → API Keys. Partner-minted keys are read-only here.

Edit clicktrust.cc itself. With admin:site the agent can create and publish pages at any URL (HTML or markdown, inside the site layout or full-page), replace existing marketing pages, write blog posts and upload images: site.pages.*, site.blog.*, site.assets.*.

5 min

for site edits to go live on the tag.

1 min

for published clicktrust.cc changes to go live.

Never

deleted. Accounts can be deactivated, not deleted.

Create and edit sites

  • ·web.accounts.create / update / set_active
  • ·name, landing URL and tag lock, multi-site tag, GTM mode
  • ·lead-gen scanning, skip-blank-UTM and referrer rules

Tag and blocking

  • ·web.scripts.snippet: the exact install tag
  • ·web.blocking.get / web.accounts.update_blocking
  • ·404, captcha or custom redirect, by risk category or trap

Lists, traps and telemetry

  • ·iplists.whitelist.* / iplists.blocklist.list
  • ·trap.account.status / trap.account.set
  • ·web.traffic.query / tqi, sessions, heatmaps (read-only)

clicktrust.cc content

  • ·site.pages.create / update / publish / unpublish
  • ·site.blog.create / update: same renderer as /blog
  • ·site.assets.upload: images, PDFs, CSS and JS

Read-only partner key: web:read iplists:read trap:read. Admin write key (Admin → API Keys): admin:web; admin tools take ownerEmail to name the customer. Catalog: /api/mcp/spec?surface=web. Config examples are under the Website operations tab in the quickstart below.

Quickstart

Connect in three minutes

Sign up, generate a scoped MCP key from Developer → API Keys, paste it into your client config and restart the agent. Done.

Add ClickTrust to ~/.cursor/mcp.json so Composer + Agent can call tools.

The @clicktrust/mcp launcher bridges stdio, which desktop and IDE clients speak, to the hosted Streamable HTTP endpoint. It uses mcp-remote under the hood, so behaviour matches the upstream MCP spec.

~/.cursor/mcp.json
{
  "mcpServers": {
    "clicktrust": {
      "command": "npx",
      "args": ["-y", "@clicktrust/mcp"],
      "env": {
        "CLICKTRUST_API_KEY": "ctk_mcp_xxxxxxxxxxxxxxxx"
      }
    }
  }
}

Authentication

Two paths, one auth context

Pick the path that matches your runtime. Both feed the same scope-gated dispatcher, and both can be revoked from Developer → API Keys.

Scoped API key

Hosted / server agents

Best for backend agents, CI pipelines, n8n flows and anything else that runs server-side. Mint a ctk_mcp_* key with the exact scopes the agent needs.

curl https://clicktrust.cc/mcp \
  -H "Authorization: Bearer ctk_mcp_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Create a key from your profile →

OAuth 2.1 + PKCE

Desktop / IDE clients

Spec-compliant authorization-code flow with PKCE. Best for Claude Desktop, Cursor, Continue and anything else where you would rather not paste a long-lived key.

{
  "authorization_endpoint": "https://clicktrust.cc/api/oauth/authorize",
  "token_endpoint": "https://clicktrust.cc/api/oauth/token",
  "registration_endpoint": "https://clicktrust.cc/api/oauth/register",
  "code_challenge_methods_supported": ["S256"]
}
See live spec →

Scope vocabulary

Every tool declares the scope it needs. Grant only what the agent actually does.

web:readweb:writeinapp:readinapp:writeinapp:sdkmmp:readmmp:writemmp:postbackreports:readreports:writeaudience:readaudience:writeiplists:readiplists:write

● Tool reference

Live tool catalog

Generated in the browser from GET /api/mcp/spec so the docs always match the running server. Endpoint for this surface: https://clicktrust.cc/mcp

The live catalog could not be loaded. Open /api/mcp/spec to read it directly.

Example prompts

What your agent can do today

Drop these into Cursor, Claude Desktop or any MCP-aware agent. Each one resolves to one or two tool calls.

  • 01“Create a tracking account for https://shop.example.com/landing, turn on lead-gen scanning and give me the snippet.”
  • 02“Publish a new page at /pricing-india comparing our three plans in INR, in the site layout, with a meta description.”
  • 03“Write a 900-word blog post on GAM ads.txt fraud and publish it with the tags gam and supply-chain.”
  • 04“Switch account a1b2c3 to a multi-site tag and enable captcha blocking for high-risk clicks.”
  • 05“Add an affiliate Acme Media to my SaaS Q4 offer with 20% rev-share and invite ops@acmemedia.com.”
  • 06“Upload these IPs to my whitelist: 203.0.113.10, 203.0.113.11, 203.0.113.42.”
  • 07“Run the weekly fraud report for account a1b2c3 and email it to alex@growthco.io.”
  • 08“Show me the device blocklist for the iOS app and unblock the device that ends in a4f2.”
  • 09“Pull last 7 days of MMP clicks for affiliate Acme Media and tell me the attributed install rate.”
  • 10“How many users would land in my Google audience-exclusion list for account a1b2c3 over the last 30 days?”

Wire ClickTrustinto your agenttoday.

Free to try. Sign up, generate a scoped key from your profile, paste it into your client config, and your agent has every fraud-defence and MMP capability one tool call away.