New advertisers: 50% off your first month with code FIRSTMONTHSee slots
getplatform avatar

GetCookies

getplatform/getcookies-mcp

Set up and check a GDPR cookie banner for websites, with cookie scans and Reject all testing.

tools
16
auth
Secret needed
transport
STDIO
env vars
2
last updated
Nov 21, 2026
View on GitHub

What it does

  • Manages sites and banners with create_domain, update_widget_config, get_widget_snippet, and verify_install, covering Consent Mode v2, regional rules, and automatic tracker blocking
  • Scans and classifies cookies with initiate_scan, get_scan_cookies, and classify_cookie, and runs run_reject_test to show which trackers still fire after Reject all
  • Reads consent data through get_consent_stats, get_domain_analytics, and get_consent_logs for reporting and audit trails; no tool deletes anything
  • Requires a personal access token starting with gcpat_ and runs locally over stdio, talking only to the GetCookies API
  • Designed for site owners and agencies who want banner setup, scanning, and consent checks done from an AI assistant

Tools

16 tools

Public tool metadata for what this MCP can expose to an agent.

whoamiShows the account the token belongs to (use it to check the setup)

Shows the account the token belongs to (use it to check the setup)

No parameter schema in public metadata yet.

list_domainsYour websites and their install state

Your websites and their install state

No parameter schema in public metadata yet.

get_domainYour websites and their install state

Your websites and their install state

No parameter schema in public metadata yet.

create_domainAdds a website and returns its domain_id

Adds a website and returns its domain_id

No parameter schema in public metadata yet.

initiate_scanStarts a cookie scan

Starts a cookie scan

No parameter schema in public metadata yet.

get_scan_statusFollows a scan to completion

Follows a scan to completion

No parameter schema in public metadata yet.

get_scan_cookiesCookies the scan found, with categories

Cookies the scan found, with categories

No parameter schema in public metadata yet.

classify_cookieSets the category of a detected cookie

Sets the category of a detected cookie

No parameter schema in public metadata yet.

get_widget_configReads the banner configuration

Reads the banner configuration

No parameter schema in public metadata yet.

update_widget_configChanges the banner: text, position, Reject all, regional rules, Consent Mode (Advanced or Basic), automatic tracker blocking. Only the fields you pass change

Changes the banner: text, position, Reject all, regional rules, Consent Mode (Advanced or Basic), automatic tracker blocking. Only the fields you pass change

No parameter schema in public metadata yet.

get_widget_snippetThe one-line install code for <head>

The one-line install code for <head>

No parameter schema in public metadata yet.

verify_installChecks that the banner script is live on the site

Checks that the banner script is live on the site

No parameter schema in public metadata yet.

run_reject_testLoads any URL, clicks Reject all and lists the trackers and cookies that still fire, next to what fires before consent

Loads any URL, clicks Reject all and lists the trackers and cookies that still fire, next to what fires before consent

No parameter schema in public metadata yet.

get_consent_statsAccept and reject rates over time

Accept and reject rates over time

No parameter schema in public metadata yet.

get_domain_analyticsAccept and reject rates over time

Accept and reject rates over time

No parameter schema in public metadata yet.

get_consent_logsConsent records for an audit trail

Consent records for an audit trail

No parameter schema in public metadata yet.

Configuration

GETCOOKIE_API_KEY*secret

GetCookies personal access token (gcpat_...), created at https://getcookies.co/connect-claude

GETCOOKIE_API_URL

API base URL. Defaults to https://api.getcookies.co

Readme

getcookies-mcp

Set up a cookie consent banner from Claude, and prove that "Reject all" really rejects.

getcookies-mcp is the official MCP server for GetCookies, a cookie consent platform (CMP). Your AI assistant can add a website, scan its cookies, configure a GDPR/CCPA banner with Google Consent Mode v2, hand you the one-line install code, check that it is live and run a Reject all test, in one conversation.

"Add example.com to GetCookies, scan it, set up a bottom-right banner with Google Consent Mode and give me the install code."

Quick start (2 minutes)

  1. Create a free GetCookies account and a personal access token at getcookies.co/connect-claude. Tokens work on every plan, including Free.
  2. Add the server to your client.

Claude Code

claude mcp add getcookies -e GETCOOKIE_API_KEY=gcpat_... -- npx -y getcookies-mcp

Claude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json) and other clients that use the mcpServers format:


View the full README on GitHub

Details

Repository
github.com/getplatform/getcookies-mcp
Website
getcookies.co/integrations/claude-code
Categories
Security, Marketing, SEO & Ads, Business, Legal & HR
Package
getcookies-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Similar to GetCookies

More Security