GetCookies
v1.1.1Set 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
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results (default 100) |
search | string | Filter by domain name |
create_domain
Add a website to GetCookies. Returns its domain_id.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain name, e.g. example.com |
get_domain
Get one domain, including install state
| Parameter | Type | Description |
|---|---|---|
domain_id * | string | Domain 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.
| Parameter | Type | Description |
|---|---|---|
domain_id * | string | Domain ID (from list_domains or create_domain) |
get_scan_status
Check the status of a cookie scan
| Parameter | Type | Description |
|---|---|---|
scan_id * | string | Scan ID |
get_scan_cookies
List the cookies a scan found, with categories
| Parameter | Type | Description |
|---|---|---|
scan_id * | string | Scan ID |
limit | number | Max results (default 200, max 1000) |
classify_cookie
Set the category of a detected cookie
| Parameter | Type | Description |
|---|---|---|
category * | string | |
cookie_id * | string | Cookie ID (from get_scan_cookies) |
description | string | What the cookie does |
get_widget_config
Get the consent banner configuration of a domain
| Parameter | Type | Description |
|---|---|---|
domain_id * | string | Domain ID (from list_domains or create_domain) |
update_widget_config
Change the consent banner. Only the fields you pass are changed.
| Parameter | Type | Description |
|---|---|---|
domain_id * | string | Domain ID (from list_domains or create_domain) |
accept_all_text | string | |
auto_block_scripts | boolean | |
banner_description | string | |
banner_title | string | |
consent_duration_days | number | 1-730 |
consent_mode_type | string | advanced (default): Google tags send cookieless pings before consent. basic: the loader holds Google tags back until the visitor consents. |
cookie_policy_url | string | |
customize_text | string | |
google_analytics_id | string | GA4 measurement ID, e.g. G-XXXXXXX |
google_consent_mode_enabled | boolean | Send Google Consent Mode v2 signals (all plans) |
google_tag_manager_id | string | GTM container ID, e.g. GTM-XXXXXX |
iab_tcf_enabled | boolean | Enable IAB TCF v2.2 |
layout | string | |
position | string | |
primary_color | string | Hex color, e.g. #1976d2 |
privacy_policy_url | string | |
regulation_mode | string | |
reject_all_text | string | |
show_reject_button | boolean | Show Reject all on the first layer (keep true in the EU) |
theme | string | |
tracker_blocking | string | on: 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
| Parameter | Type | Description |
|---|---|---|
domain_id * | string | Domain ID (from list_domains or create_domain) |
verify_install
Check that the banner script is installed on the live site
| Parameter | Type | Description |
|---|---|---|
domain_id * | string | Domain 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.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page to test, e.g. https://example.com |
get_consent_stats
Consent statistics for a domain (accept/reject rates, totals)
| Parameter | Type | Description |
|---|---|---|
domain_id * | string | Domain ID (from list_domains or create_domain) |
get_consent_logs
Consent records for a domain (audit trail)
| Parameter | Type | Description |
|---|---|---|
domain_id * | string | Domain ID (from list_domains or create_domain) |
limit | number | Max results (default 100) |
get_domain_analytics
Consent analytics for a domain over a period
| Parameter | Type | Description |
|---|---|---|
domain_id * | string | Domain ID (from list_domains or create_domain) |
end_date | string | YYYY-MM-DD (default: today) |
start_date | string | YYYY-MM-DD (default: 30 days ago) |