Account & API
API keys and AI agents
Connect AI assistants to CookieTrue through MCP, and create API keys for your own scripts.
CookieTrue can be managed by an AI assistant. It speaks the Model Context Protocol (MCP), so tools that support it can read your websites, scans and consent statistics, and make changes you allow.
#Create a key
- Open Account → AI agents and API keys.
- Press Create key, name it and choose what it may do.
- Copy the key. It starts with
ctk_and is shown only once.
#Connect an assistant
Use this address as the MCP server and send your key as a bearer token:
https://cookietrue.com/api/mcpMany assistants accept a custom MCP server with a URL and a header. Read more on the MCP page.
#What a key can do
A key follows the role you give it. A read-only key cannot change anything. See Team and roles.
#Good uses
- Ask for a summary of last week's consent rates.
- Ask which cookies appeared in the latest scan.
- Ask for help classifying unknown cookies.
Still stuck? Write to [email protected]. A person answers, usually the same day.