This server wraps Secure Privacy's cookie consent platform into a single MCP tool that handles the full setup process. You get domain registration, template assignment, and script generation in one command. It's built on Cloudflare Workers and runs remotely, so you don't need API keys or local setup. The install_secure_privacy_banner tool orchestrates everything: registers your domain, assigns available banner templates, configures Google Consent Mode along with Microsoft UET and Meta integrations, then hands back the script tag ready to drop into your site. Useful when you need GDPR compliance fast without clicking through a web dashboard or reading API docs.
A remote Model Context Protocol (MCP) server that enables AI agents like Claude Desktop, GitHub Copilot, and Cursor to automatically integrate GDPR-compliant cookie consent banners into websites with a single command.
Built on Cloudflare Workers, this MCP server provides a one-click solution for implementing Secure Privacy's cookie consent management platform, handling domain registration, template assignment, and script injection seamlessly.
The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to external tools and data sources. It allows AI agents to perform actions on your behalf, making complex multi-step workflows as simple as a single conversational request.
install_secure_privacy_bannerFully install Secure Privacy cookie banner on a website in one step. This is the primary tool that orchestrates the entire installation process.
What it does:
Response includes:
Simply ask your AI agent in natural language:
"Add a cookie banner to my website"
"Make my site GDPR compliant"
"Install Secure Privacy on my website"
"I need cookie consent management"
The AI will automatically use the Secure Privacy MCP to set everything up and provide you with the script tag to add to your website.
Install the mcp-remote proxy:
npm install -g mcp-remote
Open Claude Desktop and go to Settings > Developer > Edit Config
Add this configuration:
{
"mcpServers": {
"secure-privacy": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.secureprivacy.ai/sse"
]
}
}
}
Restart Claude Desktop
Start using it! Ask Claude: "Add a cookie banner to my website"
Install the mcp-remote package globally:
npm install -g mcp-remote
Open VS Code Settings (JSON) and add the MCP configuration:
{
"github.copilot.chat.mcp.servers": {
"secure-privacy": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.secureprivacy.ai/sse"
]
}
}
}
Restart VS Code
Use Copilot Chat and ask: "Add Secure Privacy cookie banner to my site"
Install the mcp-remote proxy:
npm install -g mcp-remote
Open Cursor Settings and navigate to the MCP configuration
Add the Secure Privacy MCP server:
{
"mcpServers": {
"secure-privacy": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.secureprivacy.ai/sse"
]
}
}
}
Restart Cursor
Chat with the AI and request: "Install cookie consent on my website"
If the MCP server doesn't appear in your AI client:
https://mcp.secureprivacy.ai/ssemcp-remote is properly installed by running: npm list -g mcp-remotemcp-remote: npm install -g mcp-remoteIf you see a message that the script is already present, that's normal! The MCP automatically detects existing Secure Privacy installations and won't duplicate the script tag.
Deploy to Cloudflare Workers:
Or use the command line:
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless
To add your own tools to the MCP server, define each tool inside the init() method of src/index.ts using this.server.tool(...).
You can test your MCP server from the Cloudflare AI Playground:
mcp.secureprivacy.ai/sse)For additional support:
See LICENSE file for details.