GetCookies

v1.1.1
co.getcookies/getcookies-mcp Checked 1 day ago Published 11 days ago

Set up a GDPR cookie banner with Consent Mode v2, scan cookies and run a Reject all test.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

whoami

Show the GetCookies account this MCP server is connected to. Use it to check the token works.

list_domains

List the domains (websites) in the GetCookies account

ParameterTypeDescription
limitnumberMax results (default 100)
searchstringFilter by domain name

create_domain

Add a website to GetCookies. Returns its domain_id.

ParameterTypeDescription
domain *stringDomain name, e.g. example.com

get_domain

Get one domain, including install state

ParameterTypeDescription
domain_id *stringDomain ID (from list_domains or create_domain)

initiate_scan

Start a cookie scan of a domain. Returns scan_id; poll get_scan_status until it is completed.

ParameterTypeDescription
domain_id *stringDomain ID (from list_domains or create_domain)

get_scan_status

Check the status of a cookie scan

ParameterTypeDescription
scan_id *stringScan ID

get_scan_cookies

List the cookies a scan found, with categories

ParameterTypeDescription
scan_id *stringScan ID
limitnumberMax results (default 200, max 1000)

get_widget_config

Get the consent banner configuration of a domain

ParameterTypeDescription
domain_id *stringDomain ID (from list_domains or create_domain)

update_widget_config

Change the consent banner. Only the fields you pass are changed.

ParameterTypeDescription
domain_id *stringDomain ID (from list_domains or create_domain)
accept_all_textstring
auto_block_scriptsboolean
banner_descriptionstring
banner_titlestring
consent_duration_daysnumber1-730
consent_mode_typestringadvanced (default): Google tags send cookieless pings before consent. basic: the loader holds Google tags back until the visitor consents.
cookie_policy_urlstring
customize_textstring
google_analytics_idstringGA4 measurement ID, e.g. G-XXXXXXX
google_consent_mode_enabledbooleanSend Google Consent Mode v2 signals (all plans)
google_tag_manager_idstringGTM container ID, e.g. GTM-XXXXXX
iab_tcf_enabledbooleanEnable IAB TCF v2.2
layoutstring
positionstring
primary_colorstringHex color, e.g. #1976d2
privacy_policy_urlstring
regulation_modestring
reject_all_textstring
show_reject_buttonbooleanShow Reject all on the first layer (keep true in the EU)
themestring
tracker_blockingstringon: known trackers (Meta, TikTok, LinkedIn, Hotjar, ...) wait for consent. monitor: only list them in the browser console. off: leave them alone.

get_widget_snippet

Get the install code to put first in the <head> of every page

ParameterTypeDescription
domain_id *stringDomain ID (from list_domains or create_domain)

verify_install

Check that the banner script is installed on the live site

ParameterTypeDescription
domain_id *stringDomain ID (from list_domains or create_domain)

run_reject_test

Free public test of any URL: loads the page, clicks the banner's Reject all and reports the trackers and cookies that still fire, next to what fires before consent. Takes 30-60 s; limited to 5 runs per hour.

ParameterTypeDescription
url *stringPage to test, e.g. https://example.com

get_domain_analytics

Consent analytics for a domain over a period

ParameterTypeDescription
domain_id *stringDomain ID (from list_domains or create_domain)
end_datestringYYYY-MM-DD (default: today)
start_datestringYYYY-MM-DD (default: 30 days ago)