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 分

    请在仓库或注册中心条目中声明许可证。