
Secure Privacy Mcp
io.github.secureprivacy由 GitHub 帳號 secureprivacy 發布v1.1.1更新於 Oct 24, 2026
An MCP server that automatically integrate GDPR-compliant cookie consent banners into websites
概覽
讓 AI 助理一步為網站安裝符合 GDPR 的 Secure Privacy Cookie 同意橫幅,並回傳可嵌入的腳本標籤。
- 可以做什麼
- 一步為網站安裝 Cookie 同意橫幅
- 向 Secure Privacy 註冊網站網域並回傳網域 ID
- 取得並指派所有可用的橫幅範本(設計類與功能類)
- 產生整合腳本標籤,並設定 Google Consent Mode、Microsoft UET、Meta 等同意模式
- 偵測既有的 Secure Privacy 安裝,避免重複插入腳本標籤
- 適用情境
- 當你希望由助理代為完成網站的 GDPR Cookie 同意設定、不想手動操作廠商後台,且接受以 Secure Privacy 作為同意管理服務商時適用。
- 執行需求
- 需要在本地 MCP 用戶端設定透過 npx 執行 mcp-remote 代理,連線到 Secure Privacy 的託管端點;需要 Node.js 與可用的網路連線。依 README 說明無需 API 金鑰或憑證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Secure Privacy Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Secure Privacy MCP Server
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.
What is MCP?
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.
Key Features
- One-Click Installation: Fully automate cookie banner deployment with a single AI command
- GDPR Compliant: Automatically configure compliant consent management
- Multiple Consent Modes: Support for Google Consent Mode (GCM), Microsoft UET, Meta, and more
- Template Management: Auto-assign all available cookie banner templates
- No API Key Required: Users don't need to provide any credentials
- AI Agent Compatible: Works with Claude Desktop, GitHub Copilot, Cursor, and other MCP clients
Available Tools
install_secure_privacy_banner
Fully 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:
- Registers a domain with Secure Privacy
- Assigns templates - Fetches and assigns all available cookie banner templates (design + functional)
- Generates the script tag - Creates the integration code for your website
- Configures consent modes - Sets up Google Consent Mode (GCM), Microsoft UET, Meta, and more
Response includes:
- Domain URL registered
- Domain ID for tracking
- Number of templates assigned
- Script tag for integration
- Confirmation of GDPR compliance
Example Usage
Simply ask your AI agent in natural language:
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.
Installation
Claude Desktop
-
Install the mcp-remote proxy:
-
Open Claude Desktop and go to Settings > Developer > Edit Config
-
Add this configuration:
-
Restart Claude Desktop
-
Start using it! Ask Claude: "Add a cookie banner to my website"
GitHub Copilot (VS Code)
-
Install the mcp-remote package globally:
-
Open VS Code Settings (JSON) and add the MCP configuration:
-
Restart VS Code
-
Use Copilot Chat and ask: "Add Secure Privacy cookie banner to my site"
Cursor
-
Install the mcp-remote proxy:
-
Open Cursor Settings and navigate to the MCP configuration
-
Add the Secure Privacy MCP server:
-
Restart Cursor
-
Chat with the AI and request: "Install cookie consent on my website"
Troubleshooting
Connection Issues
If the MCP server doesn't appear in your AI client:
- Verify the URL is correct:
https://mcp.secureprivacy.ai/sse - Restart your AI client after updating the configuration
- Check that
mcp-remoteis properly installed by running:npm list -g mcp-remote - Make sure you have an active internet connection
MCP Not Showing Up
- Ensure the configuration file syntax is correct (valid JSON)
- Check for typos in the server URL
- Try reinstalling
mcp-remote:npm install -g mcp-remote - Verify your AI client supports MCP (check version requirements)
Script Already Exists
If 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.
Development
Get Started
Deploy to Cloudflare Workers:
Or use the command line:
Customizing the MCP Server
To add your own tools to the MCP server, define each tool inside the init() method of src/index.ts using this.server.tool(...).
Testing with Cloudflare AI Playground
You can test your MCP server from the Cloudflare AI Playground:
- Go to https://playground.ai.cloudflare.com/
- Enter your deployed MCP server URL (
mcp.secureprivacy.ai/sse) - Use your MCP tools directly from the playground
Need Help?
For additional support:
- Secure Privacy Support: Contact support
- Documentation: Browse our docs
- Email: [email protected]
License
See LICENSE file for details.
來源:README.md,提交 824ac8d
工具
0版本歷史
1- v1.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。