PrivacyFence

io.github.privacyfence由 GitHub 账号 privacyfence 发布v7.0.2更新于 Nov 7, 2026

Needs the PrivacyFence app from privacyfence.eu: human approval and audit for AI access to your data

概览

AI 生成的概览

本地审批网关,让 AI 助手只能通过人工批准且可审计的请求来使用 Gmail、Drive、Slack、Salesforce 等系统。

可以做什么
  • 搜索、读取和写入 Gmail、Drive、Docs、Sheets、日历、联系人、任务及 Apps Script 项目
  • 读取、搜索并在 Slack 和 Telegram 中发送消息
  • 读取、搜索并更新 Salesforce 记录、Jira 问题和 Confluence 页面
  • 浏览和编辑 Grist、Peek 与 Miro 内容
  • 对敏感读取和写入弹出审批卡片,本地检测个人数据,应用始终允许规则并保留链式审计日志
适用场景
当你希望助手处理业务系统数据,但需要一个独立检查点时适用:敏感读取和有后果的写入需你批准,常规请求可按细粒度策略自动放行,所有决定都有记录。
运行要求
需从其网站安装 PrivacyFence 应用(macOS 13 以上 Apple 芯片、Windows 10 以上、Ubuntu 24.04/Debian 13,或组织部署用带 Python 3.11 以上和 systemd 的 Linux 服务器)。Claude Desktop 通过 PrivacyFence 扩展连接,其他客户端使用本地 /mcp 端点,组织部署可用 OAuth 登录。初次设置需创建通行密钥并保存恢复码,并在设置中连接各项服务。
安装前请注意
它会保存 Gmail、Drive、Slack、Salesforce 等服务的连接凭据,并可在这些服务中写入、发送、移动、发布和删除数据,因此审批卡片和始终允许规则需谨慎审阅。它不是经认证的合规产品,也无法防范 root 或本地管理员。本地模式下 AI 客户端的身份不会被验证,以你的身份运行的进程可读取审批界面。

安装

在 SourceWeft 中

  1. 打开 控制台中的 PrivacyFence,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

PrivacyFence

[privacyfence/privacyfence MCP server]

AI access without giving AI the keys. Approve the sensitive. Automate the routine.

PrivacyFence is an open-source privacy and approval gateway between AI assistants and your business systems. It connects MCP-compatible assistants such as Claude Desktop and Claude Code to Gmail, Google Drive, Calendar, Slack, Salesforce, Jira, Confluence, Telegram, and more.

PrivacyFence enforces, independently of the AI, what an assistant may see and do. Sensitive reads and consequential actions require human approval, while routine requests can be automated by policy. Optional PII detection runs locally before personal data reaches the AI, and every decision is audited.

PrivacyFence runs on an employee’s own computer (macOS, Windows, or Linux) or as a central deployment on infrastructure the organization controls, allowing web clients such as claude.ai to connect as well. Connector credentials stay with PrivacyFence, never with the AI client, and no data passes through a PrivacyFence-operated server. When an organization server uses PrivacyFence’s built-in sign-in apps, only the sign-in redirect passes through the PrivacyFence relay, and an organization can use its own apps instead.

Website: privacyfence.eu · Download: privacyfence.eu/download · Docs: privacyfence.eu/docs

Why

Giving an AI assistant access to Gmail, Drive, Slack or Salesforce usually means giving it a standing permission and trusting it to use that permission well. Being allowed to read a record is not the same as wanting it sent to an AI, and a tool name in a client's prompt says little about what is about to change. PrivacyFence puts an independent control point between the assistant and your systems: the AI asks, PrivacyFence decides, and you see what is at stake before it happens.

What it does

  • Human approval for sensitive reads and for writes, on cards that show the actual content or change, who is asking and why — not a raw tool name or JSON payload.
  • Local PII detection before a read reaches the AI: likely personal data is highlighted, and it sends the request to a card even when a rule would have let it through.
  • Policy-based automation: narrow always-allow rules (a sender domain, a Drive folder, a Slack channel, a Jira project) let routine requests run without a card.
  • An audit log of every accepted, denied and automatically approved request, chained so that an edit made without its key is detected.
  • Credentials stay with PrivacyFence. On a packaged install it runs under its own service account, so the AI client, which runs as you, cannot read them or approve its own request.
  • A defined set of connectors, each tool with a gate fixed in code. PrivacyFence is not a generic proxy for arbitrary MCP tools.
[PrivacyFence approval card for reading a Gmail thread, showing the requesting AI system, its stated reason, a possible-PII warning with the matches highlighted in the message text, and what the AI system will receive]

How it works

[How a request travels through PrivacyFence: an AI client (Claude Desktop through the extension, Claude Code over HTTP, or claude.ai through an organization deployment) calls PrivacyFence over MCP; PrivacyFence applies policy, the local PII check, human approval and audit, then calls the service with credentials that stay inside it]

Claude Desktop connects through the PrivacyFence extension (PrivacyFence.mcpb); Claude Code and other clients that speak Streamable HTTP connect to the local /mcp endpoint directly; in an organization deployment, clients such as claude.ai, ChatGPT (Developer Mode) and Gemini Enterprise sign in with OAuth through the organization's identity provider. How it works walks one read and one write through, card by card.

Platforms

InstallRuns on
macOS (.dmg)macOS 13 or newer, Apple silicon
Windows (-setup.exe)Windows 10 / Windows Server 2016 or newer, x64
Linux (.deb)Ubuntu 24.04, Debian 13 or newer, amd64
Organization deploymentA Linux server with Python 3.11 or newer and systemd (pip install privacyfence)

Tested with Claude Desktop and Claude Code on every install, with ChatGPT desktop on macOS, and with claude.ai, ChatGPT (Developer Mode) and Gemini Enterprise through an organization deployment; any MCP-compatible client can connect. See Platform support.

Connectors

ConnectorWhat an AI client can do through it
GmailSearch and read messages, threads and attachments; create drafts and replies, labels, filters; archive. No tool sends email.
Google Drive, Docs & SheetsSearch, read, download, upload, move and write files; edit and format Docs; read, write and format Sheets
Google CalendarRead events, free/busy and rooms; create, update and delete events; out-of-office and working location
Google Contacts, TasksRead, create and update contacts and tasks
Google Apps ScriptRead and write project source; read the result of a run you started (PrivacyFence never runs scripts)
SlackList and read channels, DMs and threads; search; send messages; start group chats
TelegramRead and search chats; send messages
SalesforceRead records, search, run reports; create and update records
JiraRead, create, update, comment on and transition issues
ConfluenceSearch and read pages and attachments; create and update pages
Jira AssetsBrowse schemas, object types and attributes; search and read objects, linked objects and connected tickets; export to CSV/JSON (read-only)
GristList documents and tables; read records after review; add and update records, add tables and columns (nothing is deleted)
PeekList your shared HTML pages and their versions; read comments, visit counts and who has access after review; publish pages and new versions, choose who can open them, rename, comment on and delete them
MiroList boards and tags; read items and connector lines after review; add and change sticky notes, cards, texts, shapes, frames and connector lines with approval (nothing is deleted)

Connectors summarizes what each one reviews and which writes need approval; the Tools reference lists every tool and its gate.

Quick start

  1. Download the installer for your platform from privacyfence.eu/download and run it.
  2. Sign out and back in once, so your account's new group membership takes effect.
  3. Add a passkey when the companion app (menu bar, tray, or applications menu) asks, and keep the recovery code.
  4. Open Settings from the companion and connect your services.
  5. Connect Claude Desktop with PrivacyFence.mcpb, or Claude Code with the /mcp endpoint.
  6. Ask your assistant for something, and approve it on the card.

Step by step for each platform: Getting started, then macOS, Windows or Linux. For claude.ai, ChatGPT or a whole team, see Organization deployment.

Documentation

Limitations

PrivacyFence is independent open-source software, not a certified compliance product. It has no certification, business-continuity plan or SLA, and does not by itself make a deployment compliant with any regulation. It does not protect against root or a local Administrator, or against local code on an install that is not packaged (a source checkout or a pip install). A process running as you can read the local review screen, though not approve from it, and in local mode the name an AI client gives is never verified. The full list is What PrivacyFence does not claim. To report a vulnerability, see SECURITY.md.

License

Apache License 2.0. See LICENSE and NOTICE.

来源:README.md,提交 1ebc614

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

24
  1. v7.0.2最新Nov 7, 2026
  2. v7.0.1Nov 3, 2026
  3. v7.0.0Nov 1, 2026
  4. v6.13.0Oct 29, 2026
  5. v6.9.1Oct 26, 2026
  6. v6.8.2Oct 26, 2026
  7. v6.8.1Oct 23, 2026
  8. v6.8.0Oct 22, 2026
  9. v6.7.0Oct 22, 2026
  10. v6.6.1Oct 21, 2026
  11. v6.6.0Oct 21, 2026
  12. v6.5.0Oct 20, 2026
  13. v6.4.0Oct 17, 2026
  14. v6.3.0Oct 16, 2026
  15. v6.2.0Oct 15, 2026
  16. v6.1.0Oct 12, 2026
  17. v5.9.1Oct 11, 2026
  18. v5.8.1Oct 11, 2026
  19. v5.7.0Oct 10, 2026
  20. v5.6.1Oct 10, 2026
  21. v5.6.0Oct 10, 2026
  22. v5.5.0Oct 1, 2026
  23. v5.3.0Sep 30, 2026
  24. v5.2.1Sep 29, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分