Ask an AI coding assistant to “add a cookie banner so we comply with GDPR” and it will often write one in under a minute: a box at the bottom of the page with Accept and Reject buttons, and the choice saved in the browser. It looks finished. In many cases it does very little, because the analytics and advertising tags further up the page have already run before the visitor clicks anything.
Consent rules are about what runs before the visitor chooses, not about showing a notice. That is the part a hand-written popup leaves out, and it is the part Cookie Compliance, by Hu-manity.co, is built for.
What the real banner does that a popup does not
- Scripts and iframes that match a known tracker, or that you mark, are held until the visitor chooses. The file may download, but it does not run.
- Each choice is kept as a proof-of-consent record you can export.
- It signals Google, Microsoft and Meta Consent Mode, and honours Global Privacy Control.
- It applies different rules by region.
Region rules and the Meta and Microsoft Consent Mode signals need the Professional plan.
Two limits are worth knowing. A script that an already-allowed script adds later is not held, so tags fired by Google Tag Manager should be gated inside GTM. And on the Free plan, blocking stops once the site passes its visit limit for the current cycle.
Connect your assistant
Cookie Compliance runs an MCP server, the standard way AI assistants use outside tools. Connect Claude, Cursor, GitHub Copilot, Windsurf, Codex or ChatGPT (Business, Enterprise or Edu plans) to it, and the assistant can install the real banner rather than inventing one.
- To try it with no account:
https://mcp.cookie-compliance.co/mcp. The assistant can show a preview of the banner on your site. A preview records no consent, so it is for looking, not for going live. - For your account:
https://mcp.cookie-compliance.co/mcp/account. The assistant asks you to sign in in the browser, then it can install, restyle and configure your banner.
Steps for each app are in the connect guide and on cookie-compliance.co/mcp.
Recipes your assistant can follow
The Cookie Compliance agent manual has step-by-step recipes for WordPress, plain HTML, Next.js, Nuxt, Astro, Shopify and Google Tag Manager. Each one shows where the snippet goes on that platform and how to check that trackers really wait for consent. On WordPress, use the Cookie Compliance plugin rather than pasting a snippet.
A Free account needs no card. Create one, then ask your assistant to add Cookie Compliance to your site.
Cookie Compliance helps you put the technical side of consent in place. Whether a site is compliant also depends on how it is configured and how it uses personal data.