mcp-server

v1.4.1
io.consentease/mcp-server Checked 4 days ago Published 1 month ago

Manage ConsentEase consent banners and cookie inventories from your coding agent.

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

consentease_list_sites List ConsentEase sites

List every website you can manage in ConsentEase (your own sites, plus — for agency accounts — your clients' sites). Cursor-paginated, newest first. Args: - limit (number, optional): Page size, 1–100 (default 20 on the server). - cursor (string, optional): Opaque cursor from a previous page's "nextCursor". - domain (string, optional): Exact domain match, normalized like create_site (protocol/www/path removed, lowercase). - status (string, optional): pending, scanning, compliant or attention. Filters apply before cursor pagination; keep the same filters on every page. Returns JS…

ParameterTypeDescription
cursorstringOpaque pagination cursor from a previous response's nextCursor.
domainstringExact normalized domain; URLs with protocol/www/path are accepted.
limitintegerPage size, 1–100.
statusstringOperational scan status, not a legal compliance verdict.

consentease_setup_site Set up ConsentEase on a website

Start here to install ConsentEase on a website. One idempotent call: creates the site (banner configuration, default cookie categories, first cookie scan) or, when you already have a site for the same normalized domain, returns that existing site. Calling it again never creates a duplicate. Getting started: 1. consentease_setup_site with the domain → returns the real install snippet for this site. 2. Place "snippet" in the <head> of every page, as high as possible and above Google Tag Manager / gtag, then publish the website. 3. consentease_check_installation with the returned siteId…

ParameterTypeDescription
domain *stringBare domain, no protocol or "www" — e.g. "example.com".

consentease_check_installation Check a site's ConsentEase installation

Verify the live ConsentEase installation on a site's homepage, like a first-time visitor who has not clicked the banner. Run it after placing the snippet from consentease_setup_site and publishing the website. Takes up to ~25 seconds. Args: - id (string): The site id (siteId from consentease_setup_site). Checks (20 points each, setupScore 0–100): - snippet_in_head: the ConsentEase script for this site is in <head>. - snippet_before_gtm: Consent Mode defaults are set before Google Tag Manager / gtag. - consent_mode_defaults: all 7 Google Consent Mode v2 defaults are set (6 denied, s…

ParameterTypeDescription
id *stringA ConsentEase site id (UUID), e.g. "bdd8b5d7-3f38-48cf-b1ed-fffa5c3d25d4".

consentease_get_site Get a ConsentEase site

Fetch a single website by id, including its status, scan counts, and public id. Args: - id (string): The site id. Returns JSON: a Site object. scriptsFound is null (not measured in the stored website snapshot). pending means awaiting a completed scan; scanning means in progress; compliant means the scan completed successfully, not legal compliance; attention means scan failure or review needed. Returns a not_found error if the site does not exist or your key cannot access it. Requires scope: sites:read.

ParameterTypeDescription
id *stringA ConsentEase site id (UUID), e.g. "bdd8b5d7-3f38-48cf-b1ed-fffa5c3d25d4".

consentease_create_site Create a ConsentEase site

Register a new website. This provisions the consent banner: it creates the site, a default banner configuration, default cookie categories, and kicks off a background cookie scan. There is no website limit per plan; billing is per website. Args: - domain (string): The bare domain with no protocol and no "www" (e.g. "example.com"). It is normalized server-side. Returns JSON: the created Site object. publicId, status, and ownership are assigned by the server and cannot be set by the caller. Prefer consentease_setup_site for onboarding: it is idempotent and returns the snippet in one call. A…

ParameterTypeDescription
domain *stringBare domain, no protocol or "www" — e.g. "example.com".

consentease_scan_site Rescan a ConsentEase site for cookies

Trigger a background cookie rescan of a site. Scanning detects and classifies cookies/scripts and updates the inventory. The server enforces a limit of 20 scans per day per user, independent of plan. Args: - id (string): The site id. Returns JSON: { "status": "scanning" } (HTTP 202). Poll consentease_get_site or consentease_get_compliance_report to observe when the scan finishes. Returns rate_limited if the daily scan limit is reached. Requires scope: sites:scan.

ParameterTypeDescription
id *stringA ConsentEase site id (UUID), e.g. "bdd8b5d7-3f38-48cf-b1ed-fffa5c3d25d4".

consentease_get_embed_snippet Get a site's embed snippet

Return the copy-paste install snippet and script URL for a site's consent banner. Args: - id (string): The site id. Returns JSON: { "publicId", "scriptUrl", "snippet" }. Place "snippet" in the site's <head>, before Google Tag Manager / gtag, so consent defaults are set before tags load. Requires scope: sites:read.

ParameterTypeDescription
id *stringA ConsentEase site id (UUID), e.g. "bdd8b5d7-3f38-48cf-b1ed-fffa5c3d25d4".

consentease_get_compliance_report Get a site's compliance snapshot

Return an operational snapshot of a site derived from real scan, cookie, and banner state. Args: - id (string): The site id. Returns JSON: { websiteId, domain, status, lastScan, bannerConfigured, scan:{cookiesFound,scriptsFound}, cookies:{total}, categories:{total,enabled}, warnings:string[] }. scriptsFound is null: not measured in the stored website snapshot. Warning codes: scan_zero_with_inventory = last scan found zero but auto-detected inventory remains, possible scan failure, rescan recommended (not proof of failure); scan_stale = lastScan older than 30 days; never_scanned = lastScan…

ParameterTypeDescription
id *stringA ConsentEase site id (UUID), e.g. "bdd8b5d7-3f38-48cf-b1ed-fffa5c3d25d4".

consentease_list_categories List a site's cookie categories

List the real cookie categories belonging to a site. Use this before consentease_add_cookie to obtain a categoryId; never guess category IDs. Args: - id (string): The site id. Returns JSON: { "data": [{ "id", "name", "displayName", "isRequired", "isEnabled" }] }. Another account's site is hidden with not_found. Requires scope: sites:read.

ParameterTypeDescription
id *stringThe ConsentEase site id (UUID) the cookie belongs to.

consentease_list_cookies List a site's cookies

List the cookie inventory for a site. Cursor-paginated, newest first. Args: - id (string): The site id. - limit (number, optional): Page size, 1–100 (default 20 on the server). - cursor (string, optional): Opaque cursor from a previous page's "nextCursor". Returns JSON: { "data": Cookie[], "nextCursor": string | null }. Each cookie has name, provider, purpose, expiry, type, categoryId, and isAutoDetected. Requires scope: sites:read.

ParameterTypeDescription
id *stringThe ConsentEase site id (UUID) the cookie belongs to.
cursorstringOpaque pagination cursor from a previous response's nextCursor.
limitintegerPage size, 1–100.