Connect Plausible, Cloudflare Analytics and Search Console via MCP
Connect Plausible Analytics, Cloudflare Analytics and Google Search Console once in ScanTheLink. Cursor, Claude Code and Codex can then query the same owner-scoped evidence through https://scanthelink.com/api/mcp using a single read-only key.
Bind and sync the sources to the same website
- Plausible: Create a Stats API key, enter it in the Plausible connection card and bind the matching
site_id. ScanTheLink authenticates Stats API v2 requests with a Bearer header. Sync to retain traffic totals and the top 25 referral sources. - Cloudflare: Create a token restricted to the site’s zone with
Zone:ReadandAnalytics:Read. Bind the zone and sync. The connector uses GraphQL daily zone aggregates for requests, cache and threats. Cloudflare’s browser-beacon Web Analytics is a separate dataset. Use Plausible for visitor and referral counts in this workflow. - Search Console: Authorize
webmasters.readonly, pick the matching property and sync. Keep the property type and window in view when comparing clicks and impressions with Plausible traffic.
Provider credentials stay in their owner connections. Use a separate ScanTheLink Read-Only MCP key from Agents & usage, with Allow connected data read enabled. Pass the key via the client’s protected environment as SCANTHELINK_API_KEY.
Configure Streamable HTTP in your client
Cursor
{
"mcpServers": {
"scanthelink": {
"url": "https://scanthelink.com/api/mcp",
"headers": {"Authorization": "Bearer ${env:SCANTHELINK_API_KEY}"}
}
}
}Claude Code
{
"mcpServers": {
"scanthelink": {
"type": "http",
"url": "https://scanthelink.com/api/mcp",
"headers": {"Authorization": "Bearer ${SCANTHELINK_API_KEY}"}
}
}
}Codex
[mcp_servers.scanthelink]
url = "https://scanthelink.com/api/mcp"
bearer_token_env_var = "SCANTHELINK_API_KEY"Client references: Cursor, Claude Code and Codex. Provider references: Plausible Stats API and Cloudflare Web Analytics.
Read the evidence in the right order
- Call
get_portfolio_brieffor owned sites, then pass a returnedscan_idtoget_site_intelligencefor retained totals, source freshness and technical evidence. - Read
observed_ai_referralsfromget_site_intelligence. There is no separateget_ai_referralstool. Zero in the retained top 25 means no recognized AI referrals in those rows. Unclicked mentions and referrals below the cutoff are outside that sample. - Use
check_site_posturefor live public checks andget_deploy_impactfor retained operational evidence after a release.
unknown_not_zero preserves missing data. observed_not_causal preserves the difference between an observation and its explanation. The read-only key grants zero-write scope and uses zero scan credits for these tools. Retained reads leave provider data unchanged. The posture check sends bounded public requests.
Continue with a real site
Read the Search Console and GA4 guide, verify crawler access or use the post-deploy checklist.