
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A privacy-first framework with a trustless MCP server that performs encrypted similarity calculations on homomorphically encrypted data, paired with on-device or cloud agents.
PrivAgents: MCP server for confidential homomorphic-encryption workflows is cataloged as an MCP server attributed to uvrajsb. A privacy-first framework with a trustless MCP server that performs encrypted similarity calculations on homomorphically encrypted data, paired with on-device or cloud agents. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for PrivAgents: MCP server for confidential homomorphic-encryption workflows are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No; the server performs encrypted calculations and never sees raw user data, requiring zero trust.
README.md · 8ecdbcb48cce · 采集于 2026-11-13 12:14:20 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
PrivAgents is a privacy-first framework that showcases how autonomous agents, both on-device and in the cloud, can perform secure data processing through trustless MCP servers while ensuring complete confidentiality. It leverages Privacy-Enhancing Technologies (PETs) herein Homomorphic Encryption (HE) to compute on encrypted data without ever accessing raw information.
Through a conversational agent interface, user data is encrypted on the device, sent to a secure processing unit (MCP), and the results are returned in encrypted form to be decrypted locally. This creates a secure and intelligent system for sensitive environments such as healthcare, personalization, and finance.
On-device models offer privacy but are often limited in power. Cloud models offer power but raise trust concerns. PrivAgents solves this by combining the strengths of both:
Choose your agent type based on privacy constraints and available resources.
+------------------------+
| User Device |
| (Agent + Encryption) |
+------------------------+
| Encrypted Input
v
+------------------------+ ← Secure Channel →
| MCP Server | (Encrypted Similarity Calculation)
+------------------------+
| Encrypted Result
v
+------------------------+
| User Device (Decrypt) |
+------------------------+
PrivAgents/
│
├── agent/ # Ollama and OpenAI agent implementations with PET tools
├── mcp/ # Encrypted processing logic for similarity-based analysis
├── utils/ # Context setup, encryption helpers
├── data/ # Sample inputs and encrypted output files
└── .env # Configuration for ports and logging
git clone https://github.com/UvrajSB/PrivRec.git
cd PrivRec
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
From the root directory:
PYTHONPATH=. python mcp/server.py
PYTHONPATH=. python agent/ollama_mcp_agent.py
PYTHONPATH=. python agent/openai_mcp_agent.py
Each agent encrypts the user input, sends it for encrypted similarity calculation, and decrypts the response privately on-device.
The movie preference matching use case is a working demonstration of how privacy-preserving recommendation systems can function without accessing user data in plaintext. It showcases the end-to-end use of homomorphic encryption to encrypt user preferences, run secure similarity calculations, and deliver personalized results—all while ensuring zero exposure of raw data.
User inputs a movie interest vector
The user is asked to rate or prioritize different genres (e.g. Action, Romance, Sci-Fi). For example:
[8, 2, 9] → represents user's preference intensity across three genres.
Encryption on the agent side
The agent (either Ollama or OpenAI based) uses TenSEAL to homomorphically encrypt the interest vector using the BFV scheme. The result is an encrypted tensor, unreadable even to the server.
Encrypted similarity calculation on the MCP server
MOVIES = {
"Inception": [9, 1, 8],
"The Notebook": [1, 9, 2],
"Interstellar": [8, 2, 9],
"The Godfather": [7, 5, 4]
}
Encrypted results are returned
The server writes the encrypted similarity scores for all movies to a file, for example:
data/interest_results
Decryption on the user device
The agent loads the encrypted results and decrypts them locally using the original context and keys. The decrypted scores represent how closely each movie matches the user's preferences.
Optional: Rank and display results
The agent can sort the scores and show the top movie recommendations based on similarity, all while ensuring the user's input and preferences were never visible to the server.
Interested in building secure and intelligent systems with PETs? Whether it is extending agent logic, experimenting with new encrypted workflows, or refining the MCP layer, your contributions are welcome. Fork the repo and get started.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for PrivAgents: MCP server for confidential homomorphic-encryption workflows from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/privagent)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.