PrivAgents: Agents and MCP servers for Confidential AI Workflows
@UvrajSB
关于 PrivAgents: Agents and MCP servers for Confidential AI Workflows
PrivAgents is a privacy-first framework where intelligent agents interact with a secure MCP (Model Computation & Processing) server to perform encrypted data analysis using homomorphic encryption.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"PrivAgent": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is PrivAgents?
PrivAgents is a privacy-first framework that enables autonomous agents (on-device or in the cloud) to perform secure data processing through trustless MCP servers using homomorphic encryption. It is designed for sensitive environments such as healthcare, personalization, and finance, where data must remain confidential during processing.
How to use PrivAgents?
Clone the repository, create a Python virtual environment, install dependencies, and start the MCP server from the root directory with PYTHONPATH=. python mcp/server.py. Then run either the Ollama agent (PYTHONPATH=. python agent/ollama_mcp_agent.py) for local execution or the OpenAI agent (PYTHONPATH=. python agent/openai_mcp_agent.py) for cloud execution.
Key features of PrivAgents
- Supports both on-device (Ollama) and cloud-based (OpenAI) agents
- Homomorphic encryption (BFV scheme) for end-to-end data confidentiality
- Modular MCP server performs encrypted similarity calculations
- Encrypted pipeline: data encrypted on device, processed, and decrypted locally
- Demonstrated with movie preference matching using encrypted dot products
Use cases of PrivAgents
- Privacy-preserving recommendation systems that never expose user preferences
- Secure data processing in healthcare, finance, and personalization
- Encrypted similarity matching for any domain (movies, music, shopping)
- Educational demonstrations of homomorphic encryption in practical workflows
FAQ from PrivAgents
What encryption scheme does PrivAgents use?
PrivAgents uses the BFV homomorphic encryption scheme via TenSEAL to encrypt user data before sending it to the MCP server.
Which agents can I use with PrivAgents?
Two agents are supported: the Ollama Agent for on-device reasoning with local models, and the OpenAI Agent for cloud-based intelligence via API.
Where does the actual data processing happen?
The user’s input is encrypted on the device, sent to the MCP server for encrypted similarity calculations, and the results are returned in encrypted form to be decrypted locally on the device.
What dependencies are required to run PrivAgents?
The project requires Python, a virtual environment, and packages listed in requirements.txt (including TenSEAL). No additional runtime or cloud backend is required beyond the chosen agent’s API key.
Does the MCP server ever see unencrypted data?
No. The server only receives encrypted tensors and computes dot products under encryption. User data remains confidential throughout the entire workflow.
其他 分类下的更多 MCP 服务器
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论