Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Prompt injection + PII detection for LLM apps and agent pipelines. Deterministic, sub-25ms.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"zentric-protocol": {
"command": "npx",
"args": [
"-y",
"zentric-protocol-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add zentric-protocol -- npx -y zentric-protocol-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"zentric-protocol": {
"command": "npx",
"args": [
"-y",
"zentric-protocol-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"zentric-protocol": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"zentric-protocol-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 ZentricProtocol 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.3)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Prompt injection detection & PII anonymization with a signed audit trail — for LLM apps and AI agents.
*Every prompt, RAG chunk and tool output inspected before it reaches your model — deterministic CLEARED / ANONYMIZED / BLOCKED verdicts with a signed audit record (SHA-256 + UUID + UTC) per request.* *Detection tells you what happened. The audit record is what you show your auditor — GDPR Art. 30 evidence today, EU AI Act readiness tomorrow.*
→ Get API key (free, 10,000 req/mo) · Quickstart · Integrity Report v1.0 (PDF)
A real prompt injection attempt. Caught in <0.1ms. Your model never sees it.
This repository exists for transparency and contribution — not as a deployable alternative to the hosted service.
| What's in this repo | What's not in this repo |
|---|---|
Authentication middleware (/middleware) | IntegrityGuard detection engine |
Stripe webhook handler (/api/webhooks) | PrivacyGuard PII detection engine |
Supabase schema & migrations (/supabase) | Signature database (22 injection vectors) |
| API interface contracts & response shapes | Model weights and training data |
Landing page & documentation (index.html) | Audit record signing infrastructure |
Cloning this repository does not give you access to the Zentric processing service. The detection engine that inspects prompts, detects PII, and generates signed audit reports runs on Zentric's infrastructure and requires an active license.
Because trust is infrastructure. You should be able to verify how authentication works, how your API key is validated, and how subscription state is checked before your requests reach the engine. We believe in auditability at every layer — including our own enforcement code.
We accept contributions to the middleware, webhook handler, and Supabase schema. Open a PR or file an issue. For security-related contributions, see the Security section.
| Tier | Price | Requests | Start |
|---|---|---|---|
| Free | Free | 10,000/mo | Get API key → |
| Indie | $29/mo | 25,000/mo | See pricing → |
| Team | $99/mo | 100,000/mo | See pricing → |
| Scale | $499/mo | 500,000/mo | See pricing → |
| Enterprise | Custom | Unlimited | Contact → |
Zentric Protocol is an infrastructure integrity layer for AI systems. It sits between your application and your LLM, examining every signal — prompts, responses, user inputs — and returning a cryptographically-signed verdict before execution continues.
It is not a filter. It does not guess. It applies deterministic rules across a standardized pipeline and returns a structured, auditable JSON report for every request.
Input Signal
│ ▼ ┌─────────────────────────────────────────┐ │ ZENTRIC PROTOCOL │ │ │ │ ┌─────────────┐ ┌─────────────────┐ │ │ │IntegrityGuard│→│ PrivacyGuard │ │ │ │ 22 injection │ │ 12 PII types │ │ │ │ signatures │ │ 7 languages │ │ │ └─────────────┘ └────────┬────────┘ │ │ ▼ │ │ ┌──────────────┐ │ │ │ ZentricReport│ │ │ │ UUID+SHA-256 │ │ │ │ GDPR Art.30 │ │ │ └──────────────┘ │ └─────────────────────────────────────────┘ │ ▼ Verdict + Certificate → Your System
Zentric uses deterministic signature matching — not an ML classifier. Every block is a known pattern match, which means 100% precision on known patterns and zero false positives: nothing is ever blocked unless it matches a catalogued signature. Verdicts are returned in sub-millisecond time (no model in the hot path), so the same input always produces the same verdict.
Any published metric is reproducible: run npm run benchmark (benchmarks/run.mjs) against the public deepset/prompt-injections dataset to verify the numbers yourself.
Detects prompt injection, jailbreak attempts, and instruction overrides before they reach your LLM.
Identifies and anonymizes PII in prompts and responses. Regional standards treated as first-class entities.
Every request that passes through the protocol generates a signed, immutable audit record.
{
"report_id": "zp_01HXYZ...", "uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "timestamp_utc": "2026-05-14T22:00:00.000Z", "sha256": "e3b0c44298fc1c149afb...", "verdict": "CLEARED", "integrity": { "injection_detected": false, "signatures_matched": [], "confidence": null }, "privacy": { "pii_detected": true, "entities": [ { "type": "EMAIL", "action": "REDACTED", "position": [42, 61] } ] }, "compliance": { "audit_record": true, "ccpa": true, "eu_ai_act_s52": true }, "latency_ms": 0.05 }
curl -X POST https://api.zentricprotocol.com/v1/analyze \
-H "Authorization: Bearer zp_live_..." \ -H "Content-Type: application/json" \ -d '{ "input": "Your prompt or user input here", "modules": ["integrity", "privacy"], "options": { "anonymize": true, "language": "auto" } }'
{
"status": "ok", "verdict": "CLEARED", "report": { ... }, "anonymized_input": "Your prompt or user input here", "latency_ms": 0.05 }
| Verdict | Description |
|---|---|
CLEARED | Input passed all checks. Safe to forward to LLM. |
BLOCKED | Injection or high-risk pattern detected. Reject. |
ANONYMIZED | PII found and redacted. Anonymized input returned. |
| Language | Status |
|---|---|
| Python | pip install zentricprotocol *(coming Q3 2026)* |
| Node.js | npm install @zentricprotocol/sdk *(coming Q3 2026)* |
| REST API | Available now |
Zentric Protocol is designed from the ground up for regulated AI deployments.
| Standard | Coverage |
|---|---|
| GDPR Art. 30 | Reproducible audit record per request — one component of an Art.30 documentation strategy |
| GDPR Art. 25 | Privacy by design — anonymization as default |
| CCPA §1798.100 | Consumer data identification and processing record |
| EU AI Act §52 | Transparency obligations resolved at infrastructure level |
| Tier | Price | Requests | Use Case |
|---|---|---|---|
| Free | Free | 10,000/mo | Test the protocol end-to-end, no credit card |
| Indie | $29/mo | 25,000/mo | Solo developers shipping their first AI feature |
| Team | $99/mo | 100,000/mo | Small teams running AI in production |
| Scale | $499/mo | 500,000/mo | High-volume pipelines and multi-agent systems |
| Enterprise | Custom | Unlimited | Regulated industries, EU data residency, dedicated SLA |
→ See plans · → Get API key · → Contact for Enterprise
Deterministic. The same input always produces the same verdict. No probabilistic black boxes in the critical path.
Stateless. The protocol does not store your data. Each request is processed and returned. The audit record is yours.
Composable. Deploy the full stack, a single guard, or wire only the audit layer into existing infrastructure.
Auditable. Every verdict is signed with SHA-256, timestamped in UTC, and assigned a UUID. Your compliance team will thank you.
Agent attacks don't arrive through the chat input. They arrive through tool call responses, RAG chunks, and memory retrievals — any external content that enters the prompt window. Your system prompt doesn't protect you here: it doesn't run until after the input is already parsed.
Wire Zentric at every ingestion point, not just on user messages:
One POST to /v1/analyze. The verdict comes back in sub-millisecond time. The agent continues or halts based on the result. Nothing else changes in your pipeline.
curl -X POST https://api.zentricprotocol.com/v1/analyze \
-H "Authorization: Bearer zp_live_..." \ -H "Content-Type: application/json" \ -d '{"input": " ", "modules": ["integrity", "privacy"]}'
Zentric Protocol ships a native Model Context Protocol (MCP) server that integrates directly with Claude Desktop and any MCP-compatible agent runtime.
The MCP server exposes Zentric's detection engine as a native MCP tool. When wired into Claude Desktop, the agent automatically calls analyze_prompt before sending any input to the LLM — user messages, tool responses, RAG chunks, and memory retrievals are all checked.
analyze_prompt(text: string) -> ZentricReport
Returns: verdict (CLEARED / BLOCKED), risk_score, matched signatures, pii_entities, report_hash (SHA-256), latency_ms.
npx zentric-protocol-mcp
Add to your claude_desktop_config.json:
{
"mcpServers": { "zentric-protocol": { "command": "npx", "args": ["zentric-protocol-mcp"], "env": { "ZENTRIC_API_KEY": "your_api_key" } } } }
Get your API key at zentricprotocol.com/quickstart — free tier is 10,000 r
只显示了开头部分;其余内容请在仓库中阅读