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.

Values you need

VariableWhat it is
CONSENTEASE_API_KEYrequired secret ConsentEase API key (ce_live_…). Create one in the dashboard under Settings → API Keys.
CONSENTEASE_API_URLoptional ConsentEase origin (no /api/v1 suffix). Defaults to the live production API; only set this to target a local/dev server. Default: https://consentease.io

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-server -e 'CONSENTEASE_API_KEY=<CONSENTEASE_API_KEY>' -- npx -y --package=@consentease/mcp-server@1.4.1 consentease-mcp-server
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@consentease/mcp-server@1.4.1",
        "consentease-mcp-server"
      ],
      "command": "npx",
      "env": {
        "CONSENTEASE_API_KEY": "<CONSENTEASE_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@consentease/mcp-server@1.4.1",
        "consentease-mcp-server"
      ],
      "command": "npx",
      "env": {
        "CONSENTEASE_API_KEY": "<CONSENTEASE_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CONSENTEASE_API_KEY",
      "id": "consentease-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-server": {
      "args": [
        "-y",
        "--package=@consentease/mcp-server@1.4.1",
        "consentease-mcp-server"
      ],
      "command": "npx",
      "env": {
        "CONSENTEASE_API_KEY": "${input:consentease-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@consentease/mcp-server@1.4.1", "consentease-mcp-server"]
env = { "CONSENTEASE_API_KEY" = "<CONSENTEASE_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-server https://consentease.io/mcp --header 'X-API-Key: <X-API-Key>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "mcp-remote",
        "https://consentease.io/mcp",
        "--header",
        "X-API-Key: <X-API-Key>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "headers": {
        "X-API-Key": "<X-API-Key>"
      },
      "url": "https://consentease.io/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "headers": {
        "X-API-Key": "<X-API-Key>"
      },
      "type": "http",
      "url": "https://consentease.io/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "mcp-remote", "https://consentease.io/mcp", "--header", "X-API-Key: <X-API-Key>"]

For AI agents

  1. Ask the user for: CONSENTEASE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: consentease_list_sites, consentease_setup_site, consentease_check_installation, consentease_get_site, consentease_create_site, consentease_scan_site, consentease_get_embed_snippet, consentease_get_compliance_report, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json