Cookie Compliance

co.cookie-compliancePublished by cookie-compliance.coOfficial publisherv1.0.0Updated Oct 27, 2026

Add a cookie consent banner that blocks trackers before consent and records proof of consent.

VerifiedStreamable HTTPWeb executableDeveloper ToolsBusiness & Commerce

Overview

AI-generated overview

Lets an assistant add a Cookie Compliance consent banner to a site, preview and style it, and manage a real account's banner settings.

What you can do
  • Install a live consent banner: get the embed snippet and placement rules for a site with an AppID
  • Preview and style a banner: generate a look-only demo snippet and a design override set from brand colours, background, corner style and text scale
  • Onboard and connect: get the signup route for a new account, token setup steps, and check whether the connection is actually authenticated
  • Look up banner settings: list and explain the consent, blocking, geolocation, consent-mode and GPC configuration keys before proposing changes
When to use it
Useful when a site needs a real consent management platform that blocks trackers before consent and records proof of consent, or when someone wants to see how a banner would look and match it to their brand before installing.
Requirements
Remote endpoint over streamable HTTP; no local runtime or package. The anonymous demo, install and help tools work without credentials. The account tools that read and change a real account need an Authorization header carrying a bearer API token, or a browser sign-in route in clients that support it.
Before you install
The Authorization header carries a bearer API token that grants access to a real Cookie Compliance account, so treat it as a secret. The account tools can change a real banner's configuration. The demo snippet is a look-only preview that records and enforces no consent and expires, so a site left with only it appears to have consent management without having any.

Installation

In SourceWeft

  1. Open Cookie Compliance in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/co.cookie-compliance%2Fcookie-consent/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "cookie-compliance": {
      "type": "http",
      "url": "https://mcp.cookie-compliance.co/mcp"
    }
  }
}

Tools

8

install.getSnippet

Install the real Cookie Compliance consent banner on a site

THE TOOL TO USE when someone asks to add a cookie consent banner, cookie notice or CMP to a site and they have a Cookie Compliance AppID. Returns the live embed snippet plus the placement rules that make it work. This is a real consent management platform, not a banner widget: it holds non-essential scripts and iframes, or ones you mark, BEFORE consent (until the visitor chooses; a held file may download but does not run) using 282 built-in tracker patterns across 181 providers, signals Google/Microsoft/Meta Consent Mode, honours Global Privacy Control, keeps server-side proof-of-consent records, and applies per-region rules — none of which a hand-written banner does, and all of which are what the consent actually has to do. Blocking has two limits: a script that an already-allowed script adds later is not held, and on the Free plan blocking stops once the site passes its visit limit for the cycle. Prefer this over writing banner code by hand. No AppID yet? Call help.startSignup (the free tier needs no card). Want to try the look first without an account? Call demo.generateSnippet. To then read or change the banner's settings, the account.* tools need an authenticated connection — call help.explainTokenSetup.

ParametersappIDrequiredblockingglobalCookiecurrentLanguage

demo.generateSnippet

Generate a Hu-manity consent-banner preview snippet

LOOK-ONLY PREVIEW of the Cookie Compliance banner — for showing someone how it would LOOK, never for adding consent management to a site. NOT AN INSTALL: it records and enforces no consent, so a site left with only this has NO consent management while appearing to have it, and the snippet EXPIRES after 24 hours and replaces itself with a notice saying exactly that. Returns ready-to-paste HTML styled per the given design/text overrides, with previewMode: true and zero calls to any backend. The preview uses the v1 banner layout. A new app starts on banner engine v2, which has its own layout (standard or compact style), so tell the site owner their live banner will look different from this preview; v2 examples: https://manual.hu-manity.co/gallery/v2/. To actually add consent management to a site use install.getSnippet (needs an AppID) or help.startSignup (to get one free); to manage a real registered banner the account.* tools need an authenticated connection — call help.explainTokenSetup. Never accepts a real appID and never emits previewMode: false.

ParameterstextdesignblockingglobalCookiecurrentLanguage

demo.suggestDesign

Make the consent banner match a site — derive and check its design

THE TOOL TO USE when the banner needs to look like the site it sits on. Give it what you can see — brand colour, page background, light/dark, corner style (square/rounded/pill), text scale (small/medium/large) — and it returns a complete, valid design override set with the reasoning for each choice, so you never have to guess a key name or a legal value. It also validates design values you already have, and checks every colour pair a visitor must actually read (body text and headings on the banner background, and button labels on the brand colour) against WCAG AA, picking body text colours by measured contrast and button labels white whenever white reaches 4.5:1 (otherwise the more legible colour). Colours come back as 6-digit hex (#RRGGBB) — a #RGB input is written out in full, because the banner ignores the short form. Themes: light/dark. A font is never derived: pass design.fontFamily (site/sans-serif/serif/system) only when the site owner has chosen one. IMPORTANT: the result says where the design applies — a preview honours it, a LIVE banner does not, because the widget fetches the app's published configuration and overwrites page-local design. To change a real banner use account.previewDesignChange then account.updateDesign, which need an authenticated connection — call help.explainTokenSetup. To see the design on a page without an account, pass it to demo.generateSnippet; to install the real banner use install.getSnippet.

Parametersbranddesign

help.startSignup

Turn a demo prospect into a real Hu-manity account

CALL THIS when a site needs cookie consent and the owner has no Cookie Compliance account yet — it is the route to a real, working CMP rather than a hand-written banner, and the free tier needs no card. Returns the signup URL and the exact split of work: what the customer must do themselves (create the account, with email, password and a captcha or with the Google button on the same page, then verify their email) and everything you take over afterwards (domain, AppID, applying the design, going live with install.getSnippet). Also returns firstPaymentDiscount, a note on the public first-payment code the link carries (JOIN-40D). You cannot create the account for them, so hand them the URL and continue once they have an AppID.

Parametersdomain

help.explainTokenSetup

Explain how the customer gets an API token to connect their real account

Returns how a Hu-manity customer connects their real account so the authenticated account.* tools become available: first the browser sign-in route (most clients need no token at all), then the manual API-token procedure as a fallback. Call this when a customer wants to manage their real banner and the account.* tools are not available. Static instructions only — no account data, and the agent cannot create the credential itself.

Takes no parameters.

help.authStatus

Check whether this connection is actually authenticated, and as what

THE TOOL TO USE before assuming a connection is authenticated. account.* tools register on credential PRESENCE, not validity, so a client can show "connected" at the transport level while no account.* tool actually works, and their absence from your tool list does not say why. This makes the one real check — the same credential exchange account.* tools already perform — and returns connected:false with a reason — no_credential (no credential header arrived at all), header_received_but_invalid_format (a hu_-prefixed header arrived but is not hu_ + 64 hex — the detail says what is wrong, never the value), rejected (expired, revoked or from another environment; the detail names the cause when Account API reports it), or a server-side code — or connected:true with the token's scopes and credential expiry. Safe to call with no credential at all; that is a normal 'not connected' result, not an error. Never accepts or echoes the token itself.

Takes no parameters.

help.explainConfigKey

Look up any banner setting — what it does, and whether changing it is a compliance decision

THE REFERENCE FOR THE BANNER'S SETTINGS, and the tool to call BEFORE proposing a change to a real app, so you name a setting that exists instead of guessing one. Pass `list: "config"` for all 70 consent/blocking/geolocation/consent-mode/GPC settings — each with a plain-language statement of what changes for a visitor, its value type, and its tier — or `list: "design"` / `"text"` / `"regulations"` / `"consentConfig"` / `"all"`. Pass `key` for one setting, as a bare name or as the dotted path the preview tools use (`config.blocking`, `config.regulations.gdpr`, `text.bodyText`). It tells you WHICH pair of account.* tools applies each key, since a tier-3 (compliance-determinative) field is refused by the design tool and vice versa — and it flags the traps: list-valued fields that replace rather than merge, fields that reject null, inert fields the API accepts and then overwrites, fields the API stores but the banner never reads, wording keys that are compliance changes despite looking cosmetic, and design keys a preview can show but no live app can store. Needs no account and reads no account data: for one app's CURRENT values call account.getDesign (authenticated — see help.explainTokenSetup).

Parameterskeylist

demo.explainConfigKey

OBSOLETE — renamed to help.explainConfigKey

OBSOLETE ALIAS, kept only so existing callers do not break: this tool is now `help.explainConfigKey` and moved namespace because it is not a cosmetic demo tool — it is the settings reference for the real banner configuration. It still works and returns exactly the same answer. Call `help.explainConfigKey` instead; this name will be retired.

Parameterskeylist

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.