# Connect CookieScript to Your AI Agent (Universal MCP)

> Use your AI to monitor compliance, audit security, and track issues in CookieScript — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http cookiescript https://api.universalmcp.app/mcp/cookiescript`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/cookiescript` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "cookiescript", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: CookieScript | Category: Legal & Compliance (CookieScript) | Auth: Direct read-only database login
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Scan results, Policy documents, Rule drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=cookiescript | Guide: https://universalmcp.app/mcp/cookiescript
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (16 actions: 4 Read, 12 Write)
Perform over 10 actions across banner setup, compliance scanning, consent records, script blocking, and account and partners. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Banner Setup (4):** Customize Cookie Banner (write), Create Multi-Language Cookie Banner (write), Set Geo Targeting Rules (write), Share Cookie Banner (write)
- **Compliance Scanning (3):** Scan Website For Cookies (write), Review Monthly Scan Results (read), Check Regulation Compliance (read)
- **Consent Records (3):** Export User Consent Records (read), View Advanced Reporting (read), Enable Google Consent Mode v2 (write)
- **Script Blocking (3):** Enable Automatic Script Blocking (write), Enable Third-Party Cookie Blocking (write), Configure IAB TCF 2.3 Integration (write)
- **Account and Partners (3):** Start Free Trial (write), Join Agency Partner Program (write), Generate Privacy Policy (write)

## Example Prompts for CookieScript
- **Pre-consent cookies:** "List every cookie CookieScript flagged as set before consent on our EU domains, with the script source and category."
- **Policy coverage:** "Compare CookieScript cookie categories against our published cookie policy and list any undocumented cookies."
- **Consent rate trends:** "Summarize CookieScript banner accept and reject rates by country for the last 30 days, highlighting drops above 10 percent."
- **Draft blocking rule:** "Draft a CookieScript blocking rule for the ads pixel on northwind-supply.eu and hold it for compliance review before activation."
