Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Tamper-evident, Sigstore-signed audit trail for Claude Code agents.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"occasio": {
"command": "npx",
"args": [
"-y",
"@occasiolabs/occasio"
]
}
}
}在终端中运行这条命令
claude mcp add occasio -- npx -y @occasiolabs/occasio粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"occasio": {
"command": "npx",
"args": [
"-y",
"@occasiolabs/occasio"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"occasio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@occasiolabs/occasio"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 occasiolabs 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.10.0)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Python MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Local-only Python MCP server for the Files.com API.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Local-first audit chain and identity gate for AI coding agents. Your prompts, your tool calls, your audit log; all on your machine, cryptographically verifiable later — and an agent may *request* an identity (ssh / cloud / root), not silently *assume* one.
Occasio is a local proxy that sits between your AI coding agent (Claude Code, Cline, or anything that talks to the Anthropic API) and whichever LLM endpoint you configured. Every tool call passes through one human-readable policy file you control. You can see what is leaving your machine in real time, block what should not happen, and end up with a tamper-evident hash-chained log that a third party can verify offline months later if you ever need to prove what your agent did.
Nothing about Occasio sends data to a third party. There is no Occasio cloud, no Occasio account, no telemetry. Read docs/WHY-LOCAL.md for the architecture, docs/COMPARE.md for how this differs from cloud-hosted AI observability tools, and docs/SUSTAINABILITY.md for how a local-first product is funded under Apache 2.0.
*Screenshot: occasio eyes --demo against synthetic data — no real paths, no real traffic. The "(demo)" badge top-left is always shown in demo mode.*
npm install -g @occasiolabs/occasio
occasio demo audit # Auditor scenario: signed attestation + cross-verifier proof (10s, no API key) occasio demo attest # End-to-end attestation pipeline against a synthetic chain occasio demo anomalies # Live EDR detection on a synthetic adversarial chain occasio harness # Real Claude Code attacking a denied path — defense holds
The first three demos run against synthetic data so you can see the full pipeline in seconds with no external dependencies. The fourth spawns a real Claude Code subordinate under your Anthropic login (bundled auth — no API key required) and proves the defense end-to-end. Start with demo audit — it answers the only question that actually matters: *"prove what your AI agent did in CI."*
The incident this was built for: an agent is asked only for a deploy command, but on its own it sshes into the server and reads env. The strict policy stops exactly that — an AI agent may *request* an identity, it may not silently *assume* one.
printenv, cat .env, /proc/self/environ, private-key reads, grep-for-secret-names — blocked no matter which command or tool reads them; the output never reaches the model.ssh / scp, az / the cloud control plane, sudo / systemctl — a fail-closed BLOCK with a "requires human approval" refusal the agent cannot satisfy on its own.occasio init --template strict # the identity-gated posture
ssh deploy@host → BLOCKED, pending apr_…occasio approvals approve apr_… --once # you, single-use, short TTL
The agent cannot self-approve: the approval control plane is in its deny-zone and the token is HMAC-signed. The chain records actor=ai_agent · delegator=you · approved_by=you. A second, non-proxied enforcement point — a PreToolUse hook (occasio hook --install) — covers execution that doesn't pass through the proxy.
Full design, threat model, and the honest residuals (runtime indirection, egress): docs/identity-gate.md.
Most people land here for one of these — pick the column that fits and skim accordingly.
| Daily dev work | CI / compliance | |
|---|---|---|
| Question you're asking | "What is the agent actually sending to Anthropic, and what's it costing me?" | "Prove what the agent did during this run." |
| Main commands | occasio eyes, occasio dashboard, --budget N, --eyes, occasio scan, occasio preflight simulate | occasio attest, occasio bundle → occasio verify, occasio policy lock/diff, occasio anomalies, occasio audit verify |
| What you get | Live browser UI on 127.0.0.1 — every outbound payload, byte breakdown, redactions in the clear; plus a preview of what your policy would allow/block | One portable evidence file a third party verifies offline in one command, a signed/approved policy lock, and per-round volume limits |
| Jump to | Live visibility · Scanner & preflight | Evidence workflow · Policy workflow |
Both views read the same underlying log. You don't have to pick one — running the proxy gives you both for free.
New here? The [5-minute Getting Started guide](docs/GETTING-STARTED.md) walks the identity-gate flow end to end — install →
init --template strict→ run your agent → approve a borrow → verify the log. Every command in it is tested against the published release.
Requires Node.js ≥ 18. Works on Windows, macOS, Linux.
npm install -g @occasiolabs/occasio # Install
occasio doctor # Verify setup (Node, claude CLI, port, profile) occasio init # Write ~/.occasio/policy.yml (dev-default) occasio init --template strict # …or the identity gate: deny secrets, gate ssh/cloud/root behind approval occasio register # Add 'claude' shell alias (one-time) claude "read package.json and tell me the version"
After the alias is registered, every claude invocation routes through Occasio transparently. Audit-chain rows accumulate at ~/.occasio/pipeline-events.jsonl.
Inspect the run:
occasio status # Session totals
occasio replay --detail # Run-level audit occasio audit verify # Re-walk the hash chain end-to-end occasio anomalies # Run EDR detectors over the last 15 minutes occasio attest --run-id # Build a behavioral attestation for one session occasio explain # Why was this blocked? — the matched policy rule + how to unblock
Grouped by what you're doing. (stable) = load-bearing with test coverage; (beta) = works end-to-end, narrower; (alpha) = scaffold. Full list: occasio help.
| Command | Purpose | ||
|---|---|---|---|
claude [args] | Start Claude Code through the local proxy | (stable) | |
status · ledger · replay · boundary · inspect | Inspect cost / tokens / per-run audit / cloud boundary | (stable) | |
eyes · dashboard | Live browser/terminal view of outbound traffic | (beta) | |
| `scan --file\ | --stdin` | Explainable secret scan (prefix/jwt/env-key/entropy), exit 1 on findings | (stable) |
preflight simulate | Predict allow/block for candidate actions vs the active policy | (stable) | |
preflight | Backward-looking miner of past opening-move patterns | (beta) | |
audit verify · attest [verify] | Verify the hash chain · build/verify a signed attestation | (stable) | |
bundle --run → verify | Pack one run into a portable evidence file · verify it offline | (stable) | |
policy show/validate/lock/diff | Inspect · lint · record the approved policy · detect drift | (stable) | |
explain | Connect a BLOCK to the rule that caused it + how to unblock | (stable) | |
anomalies | Windowed EDR over the chain | (beta) | |
doctor [--paranoid] | Setup health · local-first self-audit | (stable) |
Produce one file an auditor or CI receives and checks in a single command:
occasio attest --run-id <uuid> --sign # behavioral attestation (Sigstore optional)
occasio bundle --run --out run.occasio.json # pack attestation + chain slice + policy + manifest occasio verify run.occasio.json # 6 offline checks; exit ≠ 0 on tamper
verify checks the schema, the manifest hashes, the chain slice integrity, the policy binding, the git-state vs chain cross-check, and the Sigstore signature when present — all against data embedded in the file (never the producer's machine). The run is bound to the concrete code it touched via git_state rows (HEAD + diff hash + changed files). Signing is optional; an unsigned bundle still verifies everything else. Bundles embed absolute producer paths — an internal-audit artifact; review before sharing publicly. → docs/VERIFY.md
~/.occasio/policy.yml governs the Occasio-controlled path: secret handling, deny_paths/allow_paths, custom deny_patterns, per-round limits, and tool routing. Approve it and pin against drift:
occasio policy init # starter policy.yml
occasio policy validate # lint before you rely on it occasio policy lock --sign --out policy.lock.json # record the approved policy occasio policy diff --since policy.lock.json # CI gate: exit 1 if the policy drifted
→ docs/POLICY.md
occasio scan --file .env # explainable secret findings (masked, exit 1)
occasio preflight simulate --read ~/.ssh/id_rsa --bash "npm test" --strict # would the policy block this?
scan never prints the secret in plaintext (masked snippet + SHA-256). preflight simulate runs candidate actions through the same policy engine the runtime uses and shows the matched rule + how to unblock for anything it would block. → docs/SCAN.md · docs/PREFLIGHT.md
occasio doctor --paranoid
Scans the installed source for every outbound network primitive, classifies each callsite, checks for telemetry SDK signatures, and surfaces the audit chain status. Exits non-zero if any critical finding appears. JSON output via --paranoid --json. See docs/WHY-LOCAL.md for the architecture this verifies.
Where Occasio sits alongside SLSA Provenance and CycloneDX AI-BOM: docs/SUPPLY-CHAIN-TRIANGLE.md. Occasio is the runtime behavioral leg.
The audit chain and signed attestations answer *"what did the agent do, prove it"* — the auditor's question. Sometimes you also want the simpler one: *"what is the agent doing right now?"* What is leaving your machine in this HTTP request. Which files have already gone to Anthropic in this session. What the system prompt looks like. What got redacted before it shipped.
occasio eyes is a local browser UI on http://127.0.0.1:3002 that shows exactly that. Capture is opt-in via --eyes on the proxy; nothing leaves the machine, all storage stays under ~/.occasio/eyes/.
occasio eyes --demo # synthetic data, no proxy needed (10-second tour)
occasio claude --eyes # then in another terminal: occasio eyes # browser tab opens automatically
What you see:
只显示了开头部分;其余内容请在仓库中阅读