@cookiemunch/mcp
Official@cookiemunch/mcp
A Model Context Protocol server that exposes the
Cookie Munch Developer API (the /v1 surface) as MCP tools, built on top of
@cookiemunch/sdk. Point an MCP client (Claude Desktop, Claude Code, …)
at it and an assistant can manage sites, read consent analytics, and drive privacy
operations on your behalf.
How it authenticates
The server reads an API key from the environment and derives your organization from
it server-side — you never pass an orgId.
Env var | Required | Default |
| yes | — |
| no |
|
Generate a key from the dashboard (it looks like fck_…).
Related MCP server: WP Pinch
Tools
Tool | Description |
| Identity tied to the API key (orgId, plan, key prefix). |
| List all sites (cbids) in your org. |
| Create a site (cbid auto-generated if omitted). |
| Get a site's banner/consent config. |
| Upsert (merge) a site's config. |
| Aggregated per-day consent statistics. |
| Recent anonymised consent records. |
| List Data Subject Access Requests. |
| Open a new DSAR. |
| Move a DSAR to a new status. |
| Vendors with computed risk scores. |
| Records of Processing Activities. |
Client configuration
Claude Desktop / Claude Code
Add to your MCP servers config (claude_desktop_config.json, or via
claude mcp add):
{
"mcpServers": {
"cookiemunch": {
"command": "npx",
"args": ["-y", "@cookiemunch/mcp"],
"env": {
"COOKIEMUNCH_API_KEY": "fck_your_key_here",
"COOKIEMUNCH_BASE_URL": "https://cmp.example.com"
}
}
}
}Or, from a local checkout after pnpm --filter @cookiemunch/mcp build:
{
"mcpServers": {
"cookiemunch": {
"command": "node",
"args": ["/absolute/path/to/packages/mcp/dist/bin.js"],
"env": {
"COOKIEMUNCH_API_KEY": "fck_your_key_here",
"COOKIEMUNCH_BASE_URL": "https://cmp.example.com"
}
}
}
}Programmatic use
import { createCookieMunchMcp } from '@cookiemunch/mcp';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
const server = createCookieMunchMcp({ apiKey: process.env.COOKIEMUNCH_API_KEY!, baseUrl: 'https://cmp.example.com' });
await server.connect(new StdioServerTransport());Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cookie-Munch/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server