Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Signed, offline-verifiable contract-change authorization. Only a granted change can proceed.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http api-governance https://app.coderifts.com/mcp --header 'Authorization: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"api-governance": {
"url": "https://app.coderifts.com/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"api-governance": {
"type": "http",
"url": "https://app.coderifts.com/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 coderifts 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:Authorization
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.0.3)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, DiffCI
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Fail-closed, change-aware verification for AI coding agents with affected-test guidance.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Only a granted change can proceed. Before a contract change merges, deploys or registers, CodeRifts decides whether it is authorized — and the check is red without a grant.
One grant binds three things: the authorization, its single use, and the target state the change moves to. The decision is signed, and the receipt verifies offline — you do not have to trust our database to check what was authorized.
Every decision also names what it does not prove.
https://app.coderifts.com/mcphttps://coderifts.com/mcp.json — the canonical published document. The mcp.json at the root of this repository is a pointer to it, not a second copy.io.github.coderifts/api-governancehttps://coderifts.comhttps://github.com/coderifts/demo/pull/4# Claude Code
/plugin marketplace add coderifts/api-governance /plugin install api-governance@coderifts
{ "mcpServers": { "coderifts": { "url": "https://app.coderifts.com/mcp", "headers": { "Authorization": "Bearer " } } } }
npm install @coderifts/sdk pip install coderifts-sdk
GitHub Copilot reads the same server under three different root keys — servers in .vscode/mcp.json, mcpServers in the cloud agent's MCP settings, and mcp-servers in a custom agent's frontmatter — and npx coderifts copilot-setup writes all three (details below).
A key is needed only to authorize; get one at https://app.coderifts.com/api/signup.
Install the CodeRifts marketplace, then the api-governance plugin (MCP server + skill). Requires CODERIFTS_API_KEY for tool calls.
/plugin marketplace add coderifts/api-governance
/plugin install api-governance@coderifts
Local checkout (after clone):
/plugin marketplace add .
/plugin install api-governance@coderifts
The plugin wires the hosted MCP at https://app.coderifts.com/mcp and the api-governance skill. Tools exposed: preflight_change_set, verify_receipt, get_decision_details only.
Cursor Plugin package (measured Cursor layout: .cursor-plugin/plugin.json + skills/ + rules/ + mcp.json + hooks/hooks.json). Same hosted MCP and the same three tools as the Claude plugin — no fourth tool. Deterministic / signed / fail-closed — not an AI compatibility scan.
| Path | Role | Source of truth | |
|---|---|---|---|
plugins/api-governance-cursor/.cursor-plugin/plugin.json | Cursor Plugin manifest | cursor/plugins plugin.schema.json | |
plugins/api-governance-cursor/skills/coderifts/SKILL.md | Skill (name: coderifts) | Generated — coderifts-app scripts/generate-skill-carriers.js; the website .well-known/agent-skills/coderifts/SKILL.md is vendored from it | |
plugins/api-governance-cursor/rules/coderifts.mdc | Cursor rule | Generated — generate-agent-host-files.js | |
plugins/api-governance-cursor/mcp.json | Streamable HTTP MCP wiring | Same endpoint as Claude .mcp.json (not the website tool-card) | |
plugins/api-governance-cursor/hooks/hooks.json | preToolUse adapter, failClosed: true | CLI coderifts cursor-hook on `Write\ | Delete — same shape as the app's generated .cursor/hooks.json` |
.cursor-plugin/marketplace.json | Cursor marketplace entry | Cursor marketplace.schema.json |
Validate:
npm run validate:cursor
The generated-rule check is LIVE when CODERIFTS_APP_ROOT (default ~/coderifts-app) has generated/agent-host/.cursor/rules/coderifts.mdc, and RECORDED against fixtures/recorded/app-generator when it does not (weaker, named). A missing or corrupt snapshot still exits 1 — no silent skip.
Codex plugin package (measured OpenAI Codex layout: .codex-plugin/plugin.json + .mcp.json + skills/ + AGENTS.md). Same hosted MCP and the same three tools as the Claude plugin — no fourth tool.
| Path | Role | Source of truth |
|---|---|---|
plugins/api-governance-openai/.codex-plugin/plugin.json | Codex plugin manifest | Codex plugin-json-spec (scaffold skill) |
plugins/api-governance-openai/.mcp.json | Streamable HTTP MCP wiring | Same endpoint as Claude .mcp.json |
plugins/api-governance-openai/skills/api-governance/SKILL.md | Skill + tool list | Trigger wording from agent-setup rule; tool names/descriptions from generated mcp.json |
plugins/api-governance-openai/AGENTS.md | Agent rules file | Generated — coderifts agent-setup / generate-agent-host-files.js |
plugins/api-governance-openai/openai-agent-instructions.md | OpenAI Agents SDK instructions | Generated — same generator |
plugins/api-governance-openai/docs/openai-production-pattern.md | Production pattern (ID108) — host dispatch loop with executeOpenAIToolCall | Hand-authored recipe on shipped @coderifts/agent-guard ≥ 6.4.0 (first npm release that exports executeOpenAIToolCall; current npm 17.3.3) |
plugins/api-governance-openai/scripts/smoke-execute-openai-tool-call.mjs | Offline smoke (ALLOW + BLOCK; no OpenAI key) | Real dispatcher + stub client |
.agents/plugins/marketplace.json | Codex marketplace entry | Codex marketplace schema |
OpenAI’s model only emits tool_call JSON; your app executes it. Wire governance at that host loop — not as a Claude-style PreToolUse hook. Full steps + one canonical loop:
→ plugins/api-governance-openai/docs/openai-production-pattern.md
# Offline smoke (needs ~/coderifts-agent-guard built, or CODERIFTS_AGENT_GUARD_ROOT)
npm run smoke:openai-dispatch
⚠ Still failing on the same one assertion, re-measured 2026-09-24: ALLOW factory ran — execute() did not run. The other eight assertions pass (4 ALLOW, 5 BLOCK), and the BLOCK side — the side that matters for a gate — is fully green: the factory does not run, the content is the gate denial with no fabricated success, and the decision identity is surfaced. The failing assertion is on the ALLOW path, where the dispatch wrapper returns the function result without having invoked the injected factory.
The 2026-09-14 version of this note ended "Investigation is in progress." That was dropped rather than re-dated: ten days on, it is a claim about activity that nothing here can verify, and a README that reports its own diligence is reporting the one thing a reader cannot check. What a reader can check is the assertion name and today's date.
Local checkout in Codex (team marketplace path):
# From a clone of this repo, point Codex at .agents/plugins/marketplace.json
Validate package consistency (manifest, tool parity, AGENTS.md empty-diff vs regeneration):
npm run validate:openai
AGENTS.md regeneration is LIVE when ~/coderifts-app (or CODERIFTS_APP_ROOT) exists, and RECORDED against fixtures/recorded/app-generator when it does not (weaker, named). A missing or corrupt snapshot still exits 1. Directory listing / account submission steps are not automated here.
Reference copies of the generated Copilot MCP configs + instructions (single source: coderifts-app generators). Same hosted MCP and the same three tools — no fourth tool.
Primary install (living command — prefer this over copying from the kit):
npx coderifts copilot-setup
Agent-host instructions (including .github/copilot-instructions.md) come from:
npx coderifts agent-setup
From the generated guide (copilot/docs/copilot-mcp.md — do not re-author this table):
| Surface | Config location | Root key | Auth |
|---|---|---|---|
| VS Code / Copilot Chat | .vscode/mcp.json | `servers` | ${input:coderifts_api_key} + inputs[] |
| Copilot cloud agent + code review | Repo Settings → Copilot → MCP servers (paste JSON) | `mcpServers` | Agents secret COPILOT_MCP_CODERIFTS_API_KEY in headers |
| Custom agent (org/enterprise) | Agent profile .md YAML frontmatter | `mcp-servers` | ${{ secrets.COPILOT_MCP_CODERIFTS_API_KEY }} |
Tools allowlisted everywhere: preflight_change_set, verify_receipt, get_decision_details.
copilot/)| Path | Role | Source of truth |
|---|---|---|
copilot/.vscode/mcp.json | VS Code / Copilot Chat | Generated — generate-copilot-mcp.js |
copilot/copilot-cloud-agent-mcp.json | Cloud agent paste JSON (mcpServers) | Generated — same |
copilot/copilot-custom-agent-mcp.frontmatter.md | Custom agent YAML frontmatter | Generated — same |
copilot/docs/copilot-mcp.md | Install guide + surfaces table | Generated — same |
copilot/.github/copilot-instructions.md | Copilot coding-agent instructions | Generated — generate-agent-host-files.js |
copilot/SOURCE.md | Provenance + re-sync commands | Packaging note (this repo) |
Validate empty-diff vs regeneration + 3-tool discipline:
node scripts/validate-copilot-kit.js
Empty-diff vs regeneration is LIVE when CODERIFTS_APP_ROOT has the generators, and RECORDED against fixtures/recorded/app-generator when it does not (weaker, named). A missing or corrupt snapshot still exits 1. The kit is a communication / distribution mirror — npx coderifts copilot-setup remains the install path.
npx skills add coderifts/api-governance
The skills CLI discovers skills/api-governance/SKILL.md at this repository's root and installs it under the name `api-governance`. Where it lands depends on the agent (the CLI's own table): .agents/skills/api-governance/ for most agents (Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, …) and .claude/skills/api-governance/ for Claude Code.
One skill, one name (2026-09-29). The three SKILL.md carriers — Claude (plugins/api-governance/skills/api-governance/), Cursor (plugins/api-governance-cursor/skills/coderifts/) and Codex/OpenAI (plugins/api-governance-openai/skills/api-governance/) — carry the same body byte for byte and the same name: coderifts, the name skills.sh lists (npx skills add coderifts/api-governance installs ./.agents/skills/coderifts/, measured 2026-09-29). Only the frontmatter description is per host. All three are generated by coderifts-app scripts/generate-skill-carriers.js from agent/skills/coderifts/SKILL.md; test/one-skill.test.js holds them together. The website's .well-known/agent-skills/coderifts/SKILL.md is the Cursor carrier, vendored.
CodeRifts runs as a hosted Streamable HTTP MCP server. Any MCP-compatible agent (Claude Desktop, Cursor, LangGraph, AutoGen, custom) can connect and run governance checks before tool calls or merges.
https://app.coderifts.com/mcp2025-06-18)CodeRifts API Governance v1.0.3 — read from initialize → result.serverInfo.version on 2026-09-24. A version typed into a README is a claim with a date on it; npm run validate:tools-wire compares the TOOLS to the live server on every push, pull request and daily cron, but nothing compares this line, so re-read it rather than trust it.initialize, tools/list and an analyze tools/call need no key (measured live 2026-09-26只显示了开头部分;其余内容请在仓库中阅读