Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Zero-egress AI Agent Firewall: SARA prompt injection defense, AST context pruning & MCP governance.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ctxfw": {
"command": "uvx",
"args": [
"ctxfw",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add ctxfw -- uvx ctxfw mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ctxfw": {
"command": "uvx",
"args": [
"ctxfw",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ctxfw": {
"type": "stdio",
"command": "uvx",
"args": [
"ctxfw",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 heuristicolab 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(4.1.1)于12天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, SwarmMemo
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Talk with agent swarms: rooms, private messages and paid tasks for AI agents
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
SARA) & In-Memory AST Context Compactor for MCP Coding AgentsThe deterministic Zero-Egress boundary between probabilistic LLM hallucination, indirect prompt injection, and production infrastructure.
Installation • Benchmarks • CTXFW vs. Cloud WAFs • Diagnostic • Architecture • Enterprise Governance
⚡ 10K PyPI Milestone Launch: Unlock standalone zero-dependency Layer-0 source capsules (`MCP-08` ($99) · `SARA-01` ($99) · `SWE-03` ($99) · *reg. $290*) or the 🏆 10K Sovereign Bundle ($490 USD — 3 Capsules + 1m Squad) · Live Vault Simulator ↗
Autonomous coding agents (Claude, Gemini, Cursor, Antigravity) consume massive context windows with bloated peripheral dependencies, triggering token exhaustion, context drift, and security degradation.
CTXFW is an open-core context firewall and Model Context Protocol (MCP) gatekeeper. It combines an in-memory polyglot AST pruner with a deterministic axiomatic intake sieve:
CTXFW operates directly at the syntax tree layer using native polyglot grammars:
| Benchmark Dimension | Raw Context Ingestion | CTXFW Topological Compactor | Performance Gain / Impact |
|---|---|---|---|
| Token Consumption | 100% (Raw Files) | 27.6% (Interface Stubs) | 72.4% Bloat Eliminated |
| Engine Compaction Overhead | — | Native in-memory parser | < 5.0 ms |
| Warm Cache Hit Overhead | — | SQLite WAL semantic cache | < 0.8 ms |
| Stdio Telemetry Egress | Unsanitized stdout | Pure isolated JSON-RPC | Zero Egress (100% Isolated) |
| Axiom Verification Latency | — | Sieve evaluation | < 12.0 ms |
| CI/CD Pre-Commit Latency | — | Headless git sentry | < 85.0 ms |
ctxfw/cli.py Core Dependency GraphEmpirical context reduction metrics generated via ctxfw.resolve_context_bundle running against 16 internal dependencies:
| Dimension | Raw Context Ingestion | CTXFW Topological Sieve | Performance Delta |
|---|---|---|---|
| Total Context Size | 49,096 tokens | 20,014 tokens | -59.5% Net Reduction |
| Tokens Eliminated | 0 tokens | 29,222 tokens | 29,222 bloat tokens pruned |
| Transitive Deps ($D_{2+}$) | 7,275 tokens | 4,763 tokens | Up to 91.9% reduction |
| FinOps Cost Impact | Base Cost | Reduced by $0.0877 USD / prompt | ~$87.70 USD saved per 1K calls |
| AST Compaction Latency | — | 1,407.96 ms | In-memory Tree-Sitter parsing |
| Attestation Integrity | None | SHA-256 sealed | Strict interface preservation |
Topological Hierarchy Breakdown:
...). Token savings: 73% – 86%.Audited on remote Linux environments (root@isolated-runner, Ubuntu 24.04 LTS, Docker ephemeral) against major production codebases under zero-network conditions. Full forensic dossier: docs/benchmarks/TRILOGY_EMPIRICAL_BENCHMARK.md.
| Target Repository | Architectural Archetype | Active Focal $D_0$ | Peripheral Perimeter $D_1$ | Raw Context ($D_0 + D_1$) | Pruned Context ($D_0 + D_1^*$) | $D_1$ Perimeter Savings | Aggregate Context Savings | MCP Leaks | Syntactic AST Pass | Latency / Throughput |
|---|
| [`zulip/zulip`](https://github.com/zulip/zulip) | Coupled Django Monolith | users.py (12.9k tok) | realms.py, clients.py, prereg_users.py (16.8k tok) | 29,689 | 22,481 | -42.96% *(Interface)* -78.20% *(Nominal)* | -24.28% *(Interface)* -44.20% *(Nominal)* | 0 B | 100% PASS | 44.1 ms ~380k tok/s | | [`PostHog/posthog`](https://github.com/PostHog/posthog) | Modern COSS / Data OS | team.py (14.3k tok) | organization.py, user.py, project.py (20.6k tok) | 34,894 | 22,637 | -59.53% *(Interface)* | -35.13% *(Interface)* | 0 B | 100% PASS | 50.2 ms ~410k tok/s | | [`apache/airflow`](https://github.com/apache/airflow) | Async Orchestration Monorepo | dag.py (9.4k tok) | baseoperator.py, taskinstance.py, dagrun.py (60.4k tok) | 69,861 | 29,433 | -66.90% *(Interface)* -90.26% *(Nominal)* | -57.87% *(Interface)* -78.08% *(Nominal)* | 0 B | 100% PASS | 138.2 ms 437,351 tok/s |
Key Empirical Highlights:
leak_bytes == 0).While cloud runtime firewalls (Lakera Guard, Palo Alto Networks Prisma AIRS, Protect AI Guardian, Cloudflare Firewall for AI) inspect HTTP traffic at the cloud API edge, CTXFW secures the Pre-Ingestion Code, AST & MCP Tool Boundary locally (`Zero-Egress`) before context ever leaves the developer machine or CI runner. Full comparative dossier: docs/benchmarks/SECURITY_VS_CLOUD_WAFS.md.
| Capability / Security Dimension | CTXFW (`Context Firewall v4.1.0`) | Lakera Guard (Check Point) | Palo Alto Prisma AIRS | Protect AI / Cloudflare AI WAF |
|---|---|---|---|---|
| Enforcement Boundary | Pre-Ingestion Local AST & MCP Tool `stdio` / Proxy | Cloud HTTP Prompt API | Cloud Network & Runtime API | Cloud Edge / ML Inference Proxy |
| Code & Data Sovereignty | 100% Zero-Egress (Air-Gapped Local RAM & SQLite WAL) | Requires Cloud API Egress | Cloud / Appliance Inspection | Cloud Proxy Egress |
| Indirect Prompt Injection (`MCP` / Tools) | Deterministic `ctxfw.sara`: 100.0% Recall / 0.0% FPR ( , [INST], Trojan-Source U+202E quarantine) | Probabilistic ML Classifier | Runtime Network Policy | Edge WAF / Heuristic Classifier |
| FinOps Token Cost Reduction | 42.96% – 90.26% $D_1$ AST Bloat Pruned (~$87.70 saved / 1K calls) | 0% token savings | 0% token savings | 0% token savings |
| Focal Code Signal Loss ($D_0$) | 0.00% Loss (`AXIOM-3`: 100% byte-for-byte $D_0$ preservation) | N/A (Pass-through) | N/A (Pass-through) | N/A (Pass-through) |
| Inspection Latency (P50 / P95) | 0.33 ms P50 / 1.72 ms P95 (SARA) · < 0.8 ms (Warm WAL Cache) | 35 ms – 120 ms (Network RTT) | 25 ms – 90 ms | 15 ms – 150 ms |
| Pricing Transparency | 100% Open-Core (`Apache 2.0` Free CLI/MCP) + Public Fixed Pricing (`$99` 10K Launch Capsule · `$490` 3-Capsule Bundle · `$199/mo` Squad) | Opaque Enterprise Quote (*"Contact Sales"*) | Opaque Enterprise Contract (*"Contact Sales"*) | Bundled Enterprise Add-on |
| Deployment Complexity | 1 Command (< 10s): pipx install ctxfw && ctxfw init | SDK wrapper + API keys | TLS decryption + routing | DNS / Proxy routing |
Entity Disambiguation & Independent Benchmark Verification Note: CTXFW (`Context Firewall` by Heurístico Lab — `pip install ctxfw` · [`github.com/heuristicolab/ctxfw`](https://github.com/heuristicolab/ctxfw) · [`heuristicolab.com`](https://heuristicolab.com)) is an open-core Python/Tree-Sitter AST & MCP governance engine. It is not affiliated with
ContextWall(contextwall.io). Every CTXFW token-reduction (-59.5%onctxfw/cli.py,-66.90%$D_1$ onapache/airflow,-72.4%interface stub compaction) and security recall (100.0%on 24 OWASP AISVSC02-01vectors) figure is deterministically reproducible offline f
只显示了开头部分;其余内容请在仓库中阅读