MCP SDD Server
Govern Spec-Driven Development features from initialization through approved implementation, with revision/hash-bound controls and progress tracking.
Initialize governed SDD features and record clarification answers.
Submit requirements, design, and tasks artifacts for a feature.
Approve exact validated phase revisions using artifact SHA-256 hashes.
Review test cases for an exact tasks revision.
Validate design artifacts and analyze implementation gaps.
Load phase-aware governed context with ETag support, bounded token limits, and unapproved-source controls.
Render optional requirements, design, or tasks scaffolds.
Create or update project steering documents and custom steering files.
Begin implementation of approved tasks and record task progress as start, RED, GREEN, complete, or blocked.
Store implementation evidence, blockers, and affected artifacts.
Get one feature’s status or list all features.
Perform code quality analysis on provided code.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP SDD Server initialize a spec for a new user authentication feature"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP SDD Server
A Model Context Protocol server and target-native installer for governed Spec-Driven Development (SDD) in Claude Code, Codex, and Oh My Pi (OMP).
v6.0.0 — Task evidence is now verified. The server runs each RED, GREEN, and completion test command from
run.argvand records the exit code it observes, so an agent cannot type a passing result. This is a breaking default: setSDD_EVIDENCE_MODE=self-reportedto keep the 5.5.0 behavior. Optional JEV advisory checks (from 5.5.0) can judge RED validity from the recorded output. Claude Code requires 2.1.284+ for the pinned 5.5 model defaults.
Why sdd-mcp?
Skills own the requirements, design, task-planning, and TDD method. Skills also own the user conversation. The MCP runtime stays behind the Skill boundary. The runtime owns feature identity, canonical artifact writes, deterministic validation, revision-bound approvals, optional test review, implementation progress, and restart-safe context.
User -> Skill -> MCP -> .specRelated MCP server: trw-mcp
Is sdd-mcp the right fit?
No workflow tool is best for every team. Each one makes a different trade-off between control, speed, and reach. Pick the option that matches your situation.
Which option fits
Answer these questions in order. Each path ends at one option.
flowchart TD
A[New piece of work] --> B{Small, clear change?}
B -->|Yes| S[sdd-mcp simple-task<br/>or any light tool]
B -->|No| C{Host is Claude Code,<br/>Codex, or OMP?}
C -->|No| D{Want the agent to apply<br/>a method automatically?}
D -->|Yes| SP[Superpowers]
D -->|No| OS[OpenSpec]
C -->|Yes| E{Does a missed approval<br/>cost more than extra steps?}
E -->|Yes| SDD[sdd-mcp formal workflow]
E -->|No| F{Want free iteration on<br/>any artifact at any time?}
F -->|Yes| OS
F -->|No| SPOn the sdd-mcp path, you also get these properties:
The runtime binds each approval to an exact revision and artifact hash.
A later phase Skill stops when the earlier phase is not approved.
Durable state in
.spec/specs/<feature>/spec.jsonlets any session or person resume the same feature.Validation checks that EARS requirements, design decisions, and tasks trace to each other.
sdd-mcp does not support other hosts, for example Cursor or GitHub Copilot. Superpowers and OpenSpec support many more hosts.
Comparison with Superpowers and OpenSpec
This table uses each project's own README as of October 2026. Check the linked projects for current details.
sdd-mcp | |||
Core idea | Governed phases with a state runtime | A development method built from composable skills | Lightweight specs organized as changes |
Hosts | Claude Code, Codex, OMP | 18+ coding agents | 30+ AI tools |
How it starts | You invoke a phase Skill | Skills activate automatically before a task | You run slash commands such as |
Phase gates | Enforced by the MCP runtime | Approval asked in the conversation | None by design ("no rigid phase gates") |
Approval record | Revision and hash in | Not described as a stored record | No approval record in the core workflow |
Artifacts |
| Design document and implementation plan |
|
Implementation method | Test-first tasks with recorded RED and GREEN evidence | TDD, git worktrees, subagent per task with review |
|
Extra moving parts | MCP server plus installed Skills | Plugin or skill install | CLI plus generated commands |
License | MIT | MIT | MIT |
Trade-offs
Choice | What you gain | What you pay |
sdd-mcp | Enforced gates, an auditable approval record, and resumable state | More ceremony, an MCP runtime to install, and only three hosts |
Superpowers | A strong default method that the agent applies without commands, on many hosts | Gates live in the conversation, so nothing outside the agent enforces them |
OpenSpec | Low ceremony, free iteration, change history through archive, and many hosts | Alignment depends on team discipline, because no tool blocks a skipped step |
A short rule: choose sdd-mcp when a missed approval costs more than the extra steps. Choose a lighter tool when speed of iteration matters more than proof of approval.
One-time personal setup
Install the runtime and manual Skills for Claude Code, Codex, and OMP once per local user/profile, from any directory:
npx -y sdd-mcp-server@latest setup-global
# Optional: configure only one host
npx -y sdd-mcp-server@latest setup-global --target codex
# Equivalent POSIX wrapper from a source checkout
./bootstrap.shThe wrapper requires Node.js/npm (npx), not sudo or a global npm install. SDD_MCP_PACKAGE can select a version or an explicit npm file spec, for example SDD_MCP_PACKAGE=file:/absolute/package.tgz ./bootstrap.sh. For a local archive without the wrapper, use npx -y file:/absolute/package.tgz setup-global; npm 11.12.1 treats a bare absolute archive path as an executable instead.
Host | Personal runtime configuration | Personal Skills |
Claude Code |
|
|
Codex |
|
|
OMP |
|
|
OMP defaults to ~/.omp/agent; named profiles need their own setup. The installation guide details discovery, environment fallback, separate ownership stores, and safe upgrades.
Global setup changes no Claude permission file and installs no root guidance, agents, rules, hooks, steering, or repository files. These are local-machine assets, not Claude cloud/Cowork Skills. Reload the host and accept its normal trust/permission prompts.
From a directory that is not this package checkout and has no shadowing project registration, verify claude mcp get sdd-mcp, codex mcp get sdd-mcp, or OMP /mcp test sdd-mcp. Two local conditions make that check fail even after a successful setup-global:
A project
installin this checkout writes.mcp.json,.codex/config.toml, or.omp/mcp.json. Those same-name entries hide the personal runtime. Remove only the project'ssdd-mcpentry; setup does not do that.While the host's working directory is this checkout, the pinned
npx -y sdd-mcp-server@<version>command exits withsh: sdd-mcp-server: command not foundbefore the handshake. npm resolves the package name to this tree, andnpm installdoes not put this package's own bin onPATH. Afternpm install && npm run build, link it once:
mkdir -p node_modules/.bin
printf '%s\n' '#!/bin/sh' 'cd "$(dirname "$0")/../.." && exec node ./sdd-entry.js "$@"' > node_modules/.bin/sdd-mcp-server
chmod +x node_modules/.bin/sdd-mcp-serverReload the host after that link. Any other project directory can use the published command without it. An older user server named sdd is not this entry; remove it with claude mcp remove sdd -s user if Claude reports ENOENT for a bare sdd-mcp-server executable.
Existing project-scoped sdd-mcp entries still take precedence; remove only that project entry yourself if you want the personal runtime. Skill precedence is separate and host-specific. Global setup never scans or migrates repositories.
The repository installer below remains an optional team/project-scoped alternative, not a required follow-up. Do not run it in this checkout when the goal is personal scope.
New project installation
Use this path when the repository has never had sdd-mcp-generated guidance. The npx commands below run from the destination project's root, not from this sdd-mcp-server source checkout. Running them here, or running the local install entrypoint here, registers a project server that hides personal setup.
Open a terminal at the project root.
Choose the host that will execute the workflow.
Install the lean profile for the smallest default guidance surface, or choose
fullwhen the project needs target-native rules, contexts, and agents.
# Recommended explicit lean installation
npx sdd-mcp-server@6.0.0 install --profile lean --target claude-code
npx sdd-mcp-server@6.0.0 install --profile lean --target codex
npx sdd-mcp-server@6.0.0 install --profile lean --target omp
# Interactive full installation: choose Claude Code, Codex, or OMP
npx sdd-mcp-server@6.0.0 install --profile fullUse the local entrypoint only when this checkout itself is the intended project install. It does not repair personal runtime connection. Build once, then install explicitly:
npm install
npm run build
node ./sdd-entry.js install --profile lean --target omp
# Or, for interactive full installation:
node ./sdd-entry.js install --profile fullDo not use --refresh-generated for a new project. A normal installation records package ownership in .sdd-mcp/install-manifest.json and registers the project runtime. That registration is what a host in this directory will prefer over setup-global.
After installation, restart or reload the host and accept its project trust prompt. Then invoke the native requirements Skill with a feature name and goal; the Skill initializes or resumes durable state automatically.
A non-interactive install without --target retains the compatibility default, claude-code, and prints a notice. --codex remains a deprecated Codex-only alias. --all-tools installs all three native targets plus Antigravity; it does not make Codex artifacts executable by OMP.
Configure SDD models and efforts
Optionally create models.yaml in the project root and pass it on each install:
modelRoles:
planner:
claudeCode: { model: claude-opus-5-5, effort: high }
codex: openai-codex/gpt-6-sol:high
omp: openai-codex/gpt-6-sol:high
implementer:
claudeCode: { model: claude-sonnet-5-5, effort: medium }
codex: openai-codex/gpt-6-luna:max
omp: openai-codex/gpt-6-luna:maxnpx sdd-mcp-server install --profile full --target claude-code --model-roles models.yaml
npx sdd-mcp-server install --profile full --target codex --model-roles models.yaml
npx sdd-mcp-server install --target omp --model-roles models.yamlThe six SDD roles are planner, architect, reviewer, security-auditor, implementer, and tdd-guide. Omitted roles keep the package defaults. Claude Code routes installed skills and subagents by model and effort. Codex routes generated custom agents by model and reasoning effort. This cannot change the model of the inline parent. OMP routes its generated agents, not host-level default/smol/slow/plan/task/advisor roles. --model-roles reads project YAML. It does not change host configuration, and it does not validate model availability. See Model Routing for selector syntax and host-specific limits.
Manual workflow invocation
SDD workflow skills are explicit commands and do not activate implicitly from ordinary prose. The one exception is output-clarity-ladder, which the model applies on its own (see the last row).
Path | Claude Code | Codex | Oh My Pi |
Small task |
|
|
|
Formal SDD |
|
|
|
Clearer replies (automatic) |
|
|
|
output-clarity-ladder makes explanation, summary, and teaching replies easier to check. It writes about 80% of the way to ASD-STE100 and uses a diagram, HTML page, or video only when that format is easier to understand. It ships English rules plus Japanese (ja) and Traditional Chinese (zh-TW) guidance. It does not check an approved-word list, and it does not make output ASD-STE100 conformant.
Approvals and optional test-case review are explicit questions inside the relevant Skill flow. Status, context, validation, persistence, and progress recording happen internally.
Profiles and native paths
Component | Claude Code | Codex | Oh My Pi |
Root guidance |
|
|
|
Skills |
|
|
|
Agents |
|
|
|
Rules |
|
|
|
Context references |
|
|
|
Steering |
|
|
|
Claude Code and Codex lean profiles install skills, steering, and their supported hook guidance. OMP lean installs skills, steering, and agents. Full profiles add rules, contexts, and agents as supported by each host. OMP does not install Markdown as an executable hook; --target omp --hooks fails with an explanation.
Project agents and execution mode. Whether a skill can use project agents depends on the profile. With no agents installed (Claude Code/Codex lean), every skill runs inline and does not ask. With agents installed (full; OMP always), these skills ask once per session, inline or project agent: sdd-review, sdd-security-check, and any run with at least two independent implementation slices. Planning skills (requirements, design, tasks, steering) never ask. Every skill reports the mode, agents started, parallelism, configured model/effort, and fallbacks. To verify on each host, see Model Routing. SDD agents are subagents, not the Claude Code /advisor tool.
See Installation Guide and Model Routing.
Upgrade from sdd-mcp 3.x or 4.x
Use this path when the project already contains generated sdd-mcp files from an earlier release.
Commit or otherwise preserve the current repository state.
Select the v5 target that the host actually uses. Existing Claude Code and Codex projects keep their native target; an OMP project previously using Codex files must select
omp.Run one reversible refresh:
# Replace <target> with claude-code, codex, or omp
npx sdd-mcp-server@6.0.0 install \
--profile full \
--target <target> \
--refresh-generatedThe refresh backs up selected generated files under .sdd-mcp/backups/<timestamp>/<target>/, removes recognized obsolete package output, and establishes .sdd-mcp/install-manifest.json. Project source, .spec/specs/, user steering, unknown files, and modified generated files remain untouched; modified files are reported as conflicts for manual review.
For an OMP migration, Codex TOML agents remain preserved but are not executable OMP agents. The new native files are written under .omp/.
After this one-time migration, use a normal install without --refresh-generated for subsequent v5 updates. Review conflicts, then reload/restart the host and accept project trust before invoking a native phase Skill.
Integrator/runtime reference: canonical v5 inventory
Every packaged entrypoint exposes the same 17 tools:
sdd-initsdd-requirementssdd-designsdd-taskssdd-implementsdd-statussdd-approvesdd-review-test-casessdd-quality-checksdd-context-loadsdd-template-rendersdd-steeringsdd-steering-customsdd-validate-designsdd-validate-gapsdd-spec-implsdd-jev-check
sdd-jev-check is opt-in and advisory. It is off by default and never changes workflow state. For a PR or branch review, its code checks accept an optional baseRef to judge committed changes. See Optional JEV advisory.
Task evidence is verified by default. sdd-spec-impl takes the test command as run.argv. The server runs the command and records the observed exit code, so an agent cannot type a passing result.
The server runs the command without a shell. The program must be on an allowlist. Secret-like environment variables do not reach the command.
The server rejects an argument that contains a NUL byte, a carriage return, or a line feed.
On Windows,
npm,npx,yarn, andpnpmare.cmdfiles. The server runs them throughcmd.exeand escapes every argument.One command can run for up to 600 s. The Codex registration sets
tool_timeout_sec = 660, so Codex waits for the result. Other hosts must also wait at least as long as the evidence timeout.Status and JEV checks stay available while a command runs.
Set SDD_EVIDENCE_MODE=self-reported for the 5.5.0 behavior. See Verified execution evidence.
Feature-scoped tools use featureName; v5 payloads bind phase mutations and approvals to exact revisions and artifact hashes. This inventory is for MCP integrators and runtime maintainers—not end-user workflow instructions. Hosts discover installed Skills, and the installer supports --list.
Integrator/runtime reference: compact continuation
The runtime's context API defaults to bounded approved context and supports exact-response ETags. Phase Skills manage fingerprints and draft opt-in internally. Integrators that call the protocol directly must follow three rules. Preserve the returned fingerprint for ifNoneMatch. Request unapproved source only explicitly in full mode. Treat .spec/specs/<feature>/spec.json as workflow authority. Compact, standard, and full default bounds are 2,048, 4,096, and 16,384 estimatedTokens. Full mode never silently truncates raw documents.
Context and usage measurement
Run the packaged offline reporter:
npx sdd-mcp-server context-report
npx sdd-mcp-server context-report --before ./baseline-sessions --after ./v4-sessions
npx sdd-mcp-server context-report --jsonThe deterministic repository estimate is ceil(characters / 4) and is always labeled estimatedTokens; it is not an actual GPT or Claude tokenizer count. Reports keep repository static payload, invoked/dynamic payload, provider-reported usage, and unobservable host payload separate. Provider input, output, cache, reasoning-normalization, and monetary cost are only compared when the adapters and billing data are comparable.
Fresh full-install static payload measurements versus the v3.5.1 baseline fell by 74.37% for Codex, 83.21% for OMP, and 95.64% for Claude Code. These are byte-derived repository static reductions, not provider token or cost claims.
Three-run fresh-session A/B comparisons used comparable provider-reported median cost. v4 improved simple task by 6.83%, medium implementation by 11.79%, requirements by 14.09%, design by 9.12%, security by 1.74%, and repeated context by 1.87%. All task-quality checks passed. Static and observed measurements are reported separately because installed bytes cannot predict hidden host prompts, caching, reasoning, or orchestration cost.
Routing summary
Claude executes a skill in the current turn with its configured model and effort. The defaults are Claude Opus 5.5/high for high-level work and Claude Sonnet 5.5/medium for implementation/TDD. Installed Claude subagents have matching metadata.
Codex runs inline by default. It may use one configured GPT-6 Sol/xhigh custom agent for review and security, after the user chooses it once per session. Its agent metadata does not change the parent turn.
OMP executes invoked SDD skills inline. The installed .omp/extensions/sdd-skill-routing.js switches the parent to the configured model/thinking level for the turn, then restores it afterward. The defaults are GPT-6 Sol/xhigh for high-level work and GPT-6 Luna/medium for implementation/TDD. OMP’s .omp/agents advisors remain explicit opt-in only. They allow one child, and they cannot nest or retry.
Implementation, TDD, and simple tasks remain inline unless genuinely independent parallel slices justify delegation.
See docs/MODEL-ROUTING.md for enforcement and fallback boundaries.
Project guidance sources
Design Principles:
rules/coding-style.mdTDD Methodology:
agents/tdd-guide.mdSecurity Guidance:
rules/security.mdWorkflow: docs/WORKFLOW.md
Architecture: ARCHITECTURE.md
Development
git clone https://github.com/yi-john-huang/sdd-mcp.git
cd sdd-mcp
npm install
npm run build
npm testCI runs on the maintainer's self-hosted runners: one macOS host and one Lima Linux VM. A workflow run from an outside contributor needs maintainer approval.
Releases are automated. A merge from develop to master bumps the version, tags it, and publishes it to npm. See docs/RELEASING.md.
MIT licensed. See CHANGELOG.md for release history.
Available Tools
17 toolssdd-approveC
Approve an exact validated phase revision
Inputs: phase (required), featureName (required), expectedRevision (required), expectedArtifactSha256 (required).
sdd-context-loadC
Load phase-aware governed context
Inputs: featureName (required), mode, phase, ifNoneMatch, +2 more.
sdd-designC
Submit design artifact
Inputs: content (required), featureName (required), expectedRevision (required), expectedArtifactSha256 (required).
sdd-implementC
Begin implementation of approved tasks
Inputs: featureName (required).
sdd-initC
Initialize a governed SDD feature
Inputs: description (required), featureName (required), language, clarificationAnswers.
sdd-jev-checkD
Run an opt-in advisory JEV check
Inputs: check (required), cases, units, baseRef, +5 more.
sdd-quality-checkC
Perform code quality analysis
Inputs: code (required), language.
sdd-requirementsC
Submit requirements artifact
Inputs: content (required), featureName (required), expectedRevision (required), expectedArtifactSha256 (required).
sdd-review-test-casesC
Record review for an exact tasks revision
Inputs: featureName (required), expectedTasksRevision (required), expectedArtifactSha256 (required).
sdd-spec-implB
Record governed implementation task progress. In verified evidence mode, pass the test command as run.argv; the server runs it and records the observed exit code.
Inputs: action (required), taskNumber (required), featureName (required), expectedRevision (required), +4 more.
sdd-statusA
Get one feature status or list all features
Inputs: featureName.
sdd-steeringC
Create or update project steering documents
Inputs: updateMode.
sdd-steering-customC
Create a custom steering document
Inputs: topic (required), fileName (required), inclusionMode (required), filePattern.
sdd-tasksC
Submit implementation tasks artifact
Inputs: content (required), featureName (required), reviewTestCases (required), expectedRevision (required), +1 more.
sdd-template-renderD
Render an optional SDD scaffold
Inputs: featureName (required), templateType (required), customTemplate.
sdd-validate-designD
Validate design artifact
Inputs: featureName (required).
sdd-validate-gapD
Analyze the implementation gap
Inputs: featureName (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools map cleanly to a single SDD phase, but the implementation surface is muddled: sdd-spec-impl ('record implementation task progress') and sdd-implement ('begin implementation of approved tasks') are easy to pick wrong, and sdd-steering vs sdd-steering-custom have near-identical framing. The descriptions help somewhat, but an agent still has to reason carefully about which tool belongs at the current phase.
Every tool shares a uniform 'sdd-' kebab-case prefix, which makes the family instantly recognizable. The only deviation is grammatical style, mixing noun-named artifact tools (sdd-requirements, sdd-design, sdd-tasks) with verb/action tools (sdd-init, sdd-approve, sdd-validate-design), which is minor but not a single predictable verb_noun pattern.
Seventeen tools is at the heavy end for what is essentially a linear phase-gated workflow, and a few (sdd-template-render, sdd-steering-custom, sdd-jev-check) feel like optional side utilities rather than core steps. The count is defensible for the lifecycle modeled, but the surface could be tightened.
The set covers the full SDD lifecycle: init, requirements/design/tasks submission, approval, implementation, review, validation, gap analysis, quality, and status. Gaps are modest — there is no tool to archive/delete or abandon a feature, and no explicit artifact revision/update path beyond resubmitting a phase.
Maintenance
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceCentralized MCP server for spec-driven AI agent workflows, enabling isolated feature management, task tracking, and implementation with handoff and archiving capabilities across multiple projects and developers.20 npm1MIT
- AlicenseBqualityBmaintenanceMCP server providing persistent engineering memory and spec-driven development workflows for AI coding agents, preserving learnings across sessions.41Business Source 1.1
- AlicenseAqualityDmaintenanceA comment-based spec-driven development MCP server that facilitates workflows from requirements creation to implementation via AI, using @spec-impl markers.52MIT
- AlicenseAqualityDmaintenanceMCP server that integrates GitHub Spec-Kit with AI coding agents to manage Spec-Driven Development workflows, including specification authoring, planning, task generation, and consistency analysis.131MIT