ConsentLayer MCP

Connect Claude, ChatGPT and Cursor to ConsentLayer

Pick the AI you already use. It sets up cookie consent on your client’s site and checks that it works.

On every plan, including Free

You sign in through your browser

Codex

CLI and IDE extension. Two commands in your terminal.

Claude

Web, desktop and mobile. Add the connector, then sign in.

Add to Claude

Claude Code

One command in your terminal.

Grok Bot

Ask Grok Bot to add the server for you.

Grok

Add it as a custom connector on grok.com.

OpenCode

Two commands in your terminal.

VS Code

Adds the server to Copilot agent mode.

Kiro

Opens Kiro with the server filled in.

Add to Kiro

Notion

Add it as a custom MCP connection in Notion.

Pi

Two commands in your terminal.

Antigravity

Add the server to Antigravity’s MCP config.

Windsurf

Add the server to Windsurf’s MCP config.

Warp

Connects through the mcp-remote bridge.

Devin

Add it as a custom MCP server in Devin.

Replit

Saved to your account, so every Replit App can use it.

Add to Replit

Another tool

Any tool that supports remote MCP servers with OAuth sign-in.

Add ConsentLayer to Codex

You sign in through your browser the first time it connects.

  1. 1

    Add the server:

    codex mcp add consentlayer --url https://api.consentlayer.com/mcp
  2. 2

    Sign in:

    codex mcp login consentlayer
  3. 3

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to Claude Code

You sign in through your browser the first time it connects.

  1. 1

    Run this in your terminal:

    claude mcp add consentlayer --transport http https://api.consentlayer.com/mcp
  2. 2

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to Grok Bot

You sign in through your browser the first time it connects.

  1. 1

    Ask Grok Bot to add a remote MCP server named ConsentLayer with this URL, then sign in:

    https://api.consentlayer.com/mcp
  2. 2

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to Grok

You sign in through your browser the first time it connects.

  1. 1

    On grok.com, open Connectors, click New connector and choose Custom.

  2. 2

    Paste the server URL, then sign in to ConsentLayer:

    https://api.consentlayer.com/mcp
  3. 3

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to OpenCode

You sign in through your browser the first time it connects.

  1. 1

    Add the server:

    opencode mcp add consentlayer --url https://api.consentlayer.com/mcp
  2. 2

    Sign in:

    opencode mcp auth consentlayer
  3. 3

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to VS Code

You sign in through your browser the first time it connects.

  1. 1

    Run this in your terminal:

    code --add-mcp '{"name":"consentlayer","type":"http","url":"https://api.consentlayer.com/mcp"}'
  2. 2

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to Notion

You sign in through your browser the first time it connects.

  1. 1

    Open Settings, then Connections, then Add custom MCP. This needs a Business or Enterprise plan, and a workspace admin must allow custom MCP servers.

  2. 2

    Paste the server URL, then sign in to ConsentLayer:

    https://api.consentlayer.com/mcp
  3. 3

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to Pi

You sign in through your browser the first time it connects.

  1. 1

    Add the server:

    pi mcp add consentlayer --url https://api.consentlayer.com/mcp
  2. 2

    Sign in:

    pi mcp login consentlayer
  3. 3

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to Antigravity

You sign in through your browser the first time it connects.

  1. 1

    Open the MCP server settings and edit the raw config, mcp_config.json. Add this entry and save:

    { "mcpServers": { "consentlayer": { "serverUrl": "https://api.consentlayer.com/mcp" } } }
  2. 2

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to Windsurf

You sign in through your browser the first time it connects.

  1. 1

    Open the MCP settings in Cascade and edit the raw config, mcp_config.json. Add this entry and save:

    { "mcpServers": { "consentlayer": { "serverUrl": "https://api.consentlayer.com/mcp" } } }
  2. 2

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to Warp

You sign in through your browser the first time it connects.

  1. 1

    Open Settings, then MCP servers, then Add. Paste this entry:

    { "consentlayer": { "command": "npx", "args": ["-y", "mcp-remote", "https://api.consentlayer.com/mcp"] } }
  2. 2

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to Devin

You sign in through your browser the first time it connects.

  1. 1

    Open Customize, then MCPs, then Add custom MCP. Choose HTTP with OAuth.

  2. 2

    Paste the server URL, then sign in to ConsentLayer:

    https://api.consentlayer.com/mcp
  3. 3

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Add ConsentLayer to your tool

You sign in through your browser the first time it connects.

  1. 1

    Add this server URL to your tool’s MCP settings. It uses streamable HTTP with OAuth sign-in:

    https://api.consentlayer.com/mcp
  2. 2

    Ask for cookie consent on your client’s site:

    Set up ConsentLayer cookie consent on example.com

Set up the ConsentLayer MCP

Set up cookie consent with one sentence

Ask for cookie consent on a client site. The agent creates the site, scans it for trackers and sorts them into categories. If it can edit the code, it adds the tag and deploys. If it can’t, it gives you the tag to paste. Then it checks the live site and reports a score out of 100.

> set up cookie consent for mysite.example
→ setup_site … site created, 12 services found
→ services sorted into statistics and marketing
✓ tag added to <head>, deployed
→ check_installation …
✓ banner live, trackers held until consent
✓ compliance score ready · open: publish a cookie policy page

Connect your AI tool

Add ConsentLayer to ChatGPT, Claude, Cursor, Codex or any other tool that supports MCP. The guide shows the steps for each one.

  1. 1Add the ConsentLayer server to your AI tool.
  2. 2Sign in to ConsentLayer in the browser window that opens.
  3. 3Ask the agent to set up cookie consent on your site.
Read the guide

Work anywhere, stay in control

Work from your desktop, browser or phone

The ConsentLayer server runs online, so you install nothing on your computer. Connect ChatGPT or Claude once and use it in the web, desktop and mobile apps. You sign in through your browser, and you never copy an API key.

See every change in the dashboard

The agent changes the same settings you see in the dashboard, so you can review each change and edit it there. To disconnect an agent, go to Settings, then API keys.

FAQ

Frequently asked questions

What is MCP?

MCP (Model Context Protocol) is an open standard that lets an AI agent use another app’s tools. The ConsentLayer MCP server gives your agent the tools to set up a cookie banner, scan a site for trackers and check the install.

Why use MCP instead of the dashboard?

Your agent does the setup in the tool you already use to build the site. If it can edit the code, it also adds the tag and checks the live site. The dashboard shows the same settings, so you can use both. The agent’s AI usage counts toward your AI tool’s plan.

What can my agent access?

After you sign in, the agent can work with the sites in your ConsentLayer account: banner settings, scans, services and categories, cookie policies, consent records and Do Not Sell requests. It can’t see other accounts.

Can my agent change my live site?

Banner and blocking settings change on the live site as soon as the agent saves them, the same as a change in the dashboard. The tag goes into your code only if the agent can edit and deploy that code.

What if my agent makes a mistake?

Open the dashboard and change the setting back. To delete a site, the agent must type its domain back, so it can’t delete one by accident.

Which AI tools work with ConsentLayer?

Any tool that can connect to a remote MCP server with OAuth sign-in, including ChatGPT, Claude, Cursor, Codex, VS Code and Replit. The cards above show the steps for each one. Lovable and Bolt get a prompt from the dashboard instead, with your real tag already in it.

How do I connect Claude to ConsentLayer?

In Claude, add ConsentLayer from the connector directory and sign in. In Claude Code, run claude mcp add consentlayer --transport http https://api.consentlayer.com/mcp. Then ask Claude to set up cookie consent on your site.

Do I need an API key?

No. The first time your agent connects, your browser opens and you sign in. There are no keys to create, paste into a config file or commit to a repo by mistake.

My AI tool already made a cookie banner. Am I covered?

Usually not. A banner made from a prompt often shows buttons while the trackers still fire, and nothing records the visitor’s choice. ConsentLayer holds trackers until the visitor consents and records every decision.

Is the MCP server free?

Yes. The MCP server is on every plan, including Free. Connect it, set up a site and go live without a credit card.

Do the next site in one sentence

Start free on one site with no credit card. Connect your agent whenever you are ready.

No credit card required

Free plan forever

Works with the AI you already use