Consent as a primitive, not a plugin.
A typed cookie consent SDK, a REST API behind it, a CLI for your terminal, and an MCP server so an assistant can do the tedious parts. Build the interface yourself, or drop in the widget and skip it.
import { useConsentManager } from '@katla.app/sdk/react' function Banner() { const { hasDecision, availableCategories, selected, toggleCategory, acceptAll, rejectAll, saveSelection, } = useConsentManager() if (hasDecision) return null return ( <aside> {availableCategories.map((category) => ( <Toggle key={category} label={category} checked={selected.includes(category)} onChange={() => toggleCategory(category)} /> ))} <button onClick={acceptAll}>Accept all</button> <button onClick={rejectAll}>Necessary only</button> <button onClick={saveSelection}>Save choices</button> </aside> ) }
Pick the surface that fits the job.
SDK
Consent state, categories and decisions as a small typed client. React hooks and Next.js components on top of it.
Widget
One script tag, pasted inline, when you would rather not build the UI. Themed from the dashboard; the same engine underneath.
CLI
Add domains and trigger scans from your terminal. Export the classified inventory for the audit trail.
MCP server
Let Claude, ChatGPT or your editor run scans, read consent stats and change configuration in plain language.
Ask, instead of clicking.
Connect Claude, ChatGPT or your editor to the account you already have. Tools run as you, with your permissions - an assistant cannot reach a site you cannot.
Every tool and the permission model →- katla_scan_site
- Start a scan; katla_get_scan_status says when it is done.
- katla_list_sites
- Sites in the account, with verification and last scan time.
- katla_list_cookies
- Classified inventory with categories, providers and descriptions.
- katla_get_consent_stats
- Accept, reject and partial rates for a site.
- katla_update_cookie_category
- Reclassify a cookie; your override sticks.
- katla_generate_privacy_policy
- Save the company details the generated policy names.
Everything the dashboard does, over HTTP.
The dashboard, the CLI and the MCP server all talk to this. Nothing is held back for the UI.
OpenAPI spec →Gzipped, from our CDN in one request. The Next.js SDK can inline it instead, with no request at all.
Measured against the same page with no consent platform on it. Method on the compare page.
Sites, cookies, consents and policies, all through your account’s own permissions.
Cookie and privacy policies generated from the cookies your scan actually found.
Consent in your app before lunch.
Sign up, add a domain, run a scan, then one import. The free plan covers all of it. New to headless consent? Read the getting started guide or clone one of the example projects.