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 分