Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Turn your team's rules into checks your AI agent can't skip. Deterministic, no AI inside.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 leaderiop 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0-rc1)于16天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Tools 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.
Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
See it in 60 seconds · How it works · What you can build · Docs
SpecForge turns what your organisation knows into rules your AI can't skip.
You write down your things, how they link, and the rules they must obey. SpecForge compiles that into one typed, checked graph. People and AI agents read it and change it through standard protocols (CLI, MCP, LSP), and a change that breaks a rule is refused, whoever made it.
It works for software specs, product plans, quality procedures, or any field with rules worth checking. SpecForge doesn't know your field until you install an extension that teaches it.
AI can now do real work: write code, draft a launch plan, prepare a batch record. What it works from is the weak part.
The knowledge that should guide it sits in places nothing enforces:
The more work you give to AI, the worse this gets. It produces faster than anyone can review.
This isn't a problem with the model. It's a problem with where your rules live.
There are two ways to teach an AI how your organisation works.
A soft skill is advice placed in the AI's context: a prompt, a Markdown spec, a policy PDF, a skill file. It helps, but it's prose. The AI may follow it, or not.
A hard skill is a rule a program enforces. The AI can't skip it, because the check fails and says why.
| | Soft skill prompt, Markdown spec, policy, skill file | Hard skill SpecForge extension | |---|---|---| | Lives in | The AI's context window, as prose | A compiler, as code | | Can the AI ignore it? | Yes, silently | No: the check fails | | Same verdict twice? | Not always | Always. There's no AI inside | | Knows what's missing? | No | Yes: broken links, unenforced rules, unproven promises | | Shared how? | Copied between files | Versioned and installed, like a library |
SpecForge is an engine for hard skills. Think of it as a type checker for what your organisation means.
| Part | What it is | In plain words |
|---|---|---|
| Extensions | WASM packages that declare entity kinds, their fields and links, the rules that judge them, and commands | The "apps": they teach SpecForge a domain |
| The graph | Every entity and link, compiled from small .spec files in your repository | The "memory": one source of truth |
| Validation | The extensions' rules plus structural checks, on every compile and every edit | The "referee": a change that breaks a rule is refused, whoever made it |
| Surfaces | CLI, MCP, LSP with a VS Code extension, and a package registry | The "doors" people and agents come in through |
| AI models | Claude or any other agent, driving SpecForge from outside, mostly over MCP | The "brain": bring your own |
The core grammar knows five structural words: spec, ref, use, define, defaults. Every other word in a spec (behavior, persona, invariant, campaign, procedure) and every rule ("an invariant must be enforced by a behavior", "a journey's persona must exist") exists only because an extension declares it.
These extensions ship inside the binary, as a starter set:
| Extension | What it declares |
|---|---|
@specforge/software | Behaviors, events, types, and interfaces (ports) |
@specforge/product | Features, personas, channels, journeys, deliverables, milestones, releases, modules, and your team's vocabulary (terms) |
@specforge/governance | Rules that must always hold (invariants), decisions, constraints, and failure modes |
@specforge/formal | Properties and axioms that an SMT solver proves or refutes |
@specforge/testing, @specforge/cargo-test, @specforge/vitest | Which of your tests prove which entities |
@specforge/rust, @specforge/typescript | Source analysis that helps an agent write a spec from existing code |
Turn one on with specforge add @specforge/product. The full list is in the extension inventory. To teach SpecForge your own field, see Extending SpecForge and the extension SDK.
@gsd/*) is being designed; the others are not started.The use cases say what works today and what is roadmap for each, and examples has projects you can run.
No agent needed. Install, create a product plan, then try to break it:
curl -fsSL https://raw.githubusercontent.com/leaderiop/SpecForge/main/install.sh | sh
mkdir launch-plan && cd launch-plan specforge init --extensions @specforge/product # a persona, a channel, a journey, a milestone specforge link onboarding channels email # point the journey at a channel that doesn't exist
error[E080]: the edit would leave the project with 1 error it does not have; nothing was written
error[E003]: unresolved reference 'email' in entity 'onboarding'
The edit is refused and nothing is written. Declare the channel first, and the same edit goes through:
specforge new channel email "Email newsletter" --in spec/hello.spec --description "The monthly newsletter" --status active
specforge link onboarding channels email specforge product persona-channels developer # cli, email
An agent makes the same edits over MCP, and gets the same refusals. Hand-written files get the same check:
mkdir ../sf-demo && cd ../sf-demo
specforge init --extensions @specforge/software # spec/hello.spec, which checks clean sed -i.bak 's/\[user_logged_in\]/[user_loged_in]/' spec/hello.spec # drop one letter specforge check
[E003] Error: unresolved reference 'user_loged_in' in entity 'authenticate_user'
20 │ produces [user_loged_in] │ Help: did you mean 'user_logged_in'?
[W007] Warning: event 'user_logged_in' is not produced by any behavior
1 error, 1 warning, 0 infos
A reviewer reads. A check resolves. Errors always fail the check; warnings fail it too with specforge check --strict, which is what you run in CI.
1. Install. SpecForge is a single binary with no dependencies.
curl -fsSL https://raw.githubusercontent.com/leaderiop/SpecForge/main/install.sh | sh
Other ways to install
# Homebrew (once the tap is published)
brew install leaderiop/tap/specforge
cargo binstall --git https://github.com/leaderiop/SpecForge specforge-cli
git clone https://github.com/leaderiop/SpecForge && cd SpecForge cargo install --path crates/surfaces/cli
Prebuilt archives for macOS, Linux and Windows are on the Releases page. Formal proofs (@specforge/formal) also need the z3 solver on your PATH; everything else works without it.
2. Create a project with the extensions your work needs:
specforge init --extensions @specforge/software,@specforge/product
This writes a specforge.json and a first file in spec/. In a Cargo or vitest project, it also turns on the matching test runner.
3. Connect your agent. SpecForge speaks MCP, so any MCP client can read, query and edit the graph. Use an absolute path:
claude mcp add specforge -- specforge mcp /path/to/your/project
In Cursor, one click adds it for the open project (${workspaceFolder}):
Other MCP clients
{
"mcpServers": { "specforge": { "command": "specforge", "args": ["mcp", "/path/to/your/project"] } } }
4. Ask your agent. For example:
Write a spec in
spec/for the feature I described: the behavior, the rules it must never break, the events it
emits, and what proves each one. Validate it with the SpecForge tools and fix every error before you show it to me.
5. Read the result yourself.
specforge check # is the graph consistent?
specforge review # what is still unproven?
6. Link your proof. For software, each test names the entity and obligation it proves. Follow the Rust or vitest guide, then run specforge collect. It asks once before running your test command, and records what each test proves.
You'll want to read it, because the graph is what you approve. You rarely need to write it: your agent writes and fixes the files, or edits them through specforge new, set and link, and the check tells it when it's wrong.
It's built to be easy to read. Each block is one thing, with a kind, a name, a title, and fields, like a filled-in form:
channel email "Email newsletter" {
description "The monthly newsletter" status active }
To write specs by hand, start with the authoring tutorial, the worked example and product getting started.
| Surface | Status | What it's for |
|---|---|---|
CLI (specforge) | Shipped | Check, query, export, typed edits, CI |
| MCP server (specforge mcp) | Shipped
只显示了开头部分;其余内容请在仓库中阅读