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

已驗證STDIO僅桌面開發者工具商業與電商

概覽

AI 產生的概覽

讓 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 中

  1. 開啟 儀表板中的 Secure Privacy Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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:

  1. Registers a domain with Secure Privacy
  2. Assigns templates - Fetches and assigns all available cookie banner templates (design + functional)
  3. Generates the script tag - Creates the integration code for your website
  4. 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:

"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.

Installation

Claude Desktop

  1. Install the mcp-remote proxy:

    bash
    npm install -g mcp-remote
  2. Open Claude Desktop and go to Settings > Developer > Edit Config

  3. Add this configuration:

    json
    {  "mcpServers": {    "secure-privacy": {      "command": "npx",      "args": [        "mcp-remote",        "https://mcp.secureprivacy.ai/sse"      ]    }  }}
  4. Restart Claude Desktop

  5. Start using it! Ask Claude: "Add a cookie banner to my website"

GitHub Copilot (VS Code)

  1. Install the mcp-remote package globally:

    bash
    npm install -g mcp-remote
  2. Open VS Code Settings (JSON) and add the MCP configuration:

    json
    {  "github.copilot.chat.mcp.servers": {    "secure-privacy": {      "command": "npx",      "args": [        "mcp-remote",        "https://mcp.secureprivacy.ai/sse"      ]    }  }}
  3. Restart VS Code

  4. Use Copilot Chat and ask: "Add Secure Privacy cookie banner to my site"

Cursor

  1. Install the mcp-remote proxy:

    bash
    npm install -g mcp-remote
  2. Open Cursor Settings and navigate to the MCP configuration

  3. Add the Secure Privacy MCP server:

    json
    {  "mcpServers": {    "secure-privacy": {      "command": "npx",      "args": [        "mcp-remote",        "https://mcp.secureprivacy.ai/sse"      ]    }  }}
  4. Restart Cursor

  5. 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-remote is 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:

[Deploy to Workers]

Or use the command line:

bash
npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless

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:

  1. Go to https://playground.ai.cloudflare.com/
  2. Enter your deployed MCP server URL (mcp.secureprivacy.ai/sse)
  3. Use your MCP tools directly from the playground

Need Help?

For additional support:

License

See LICENSE file for details.

來源:README.md,提交 824ac8d

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。