MCP SDD Server logo

MCP SDD Server

Community
yi-john-huang

A Model Context Protocol server and target-native installer for governed Spec-Driven Development (SDD) in Claude Code, Codex, and Oh My Pi (OMP).

Publisheryi-john-huang
Repositorysdd-mcp
LanguageTypeScript
Forks
5
Stars
51
Available tools
15
Transport typestdio, streamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    MCP SDD Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 15 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    51 stars and 5 forks from the linked repository.

MCP SDD Server

npm version MCP Compatible

A Model Context Protocol server and target-native installer for governed Spec-Driven Development (SDD) in Claude Code, Codex, and Oh My Pi (OMP).

v5.0.1 — Fixes validation of multiline requirement metadata, including numbered acceptance criteria beneath their label. Includes the v5 Skill-governed workflow, durable approvals and task progress, and managed target-native installation.

Why sdd-mcp?

Skills own the requirements, design, task-planning, and TDD method plus the user conversation. The MCP runtime stays behind the Skill boundary and owns feature identity, canonical artifact writes, deterministic validation, revision-bound approvals, optional test review, implementation progress, and restart-safe context.

text
User -> Skill -> MCP -> .spec

New project installation

Use this path when the repository has never had sdd-mcp-generated guidance.

  1. Open a terminal at the project root.
  2. Choose the host that will execute the workflow.
  3. Install the lean profile for the smallest default guidance surface, or choose full when the project needs target-native rules, contexts, and agents.
bash
# Recommended explicit lean installation
npx sdd-mcp-server@5.0.1 install --profile lean --target claude-code
npx sdd-mcp-server@5.0.1 install --profile lean --target codex
npx sdd-mcp-server@5.0.1 install --profile lean --target omp

# Interactive full installation: choose Claude Code, Codex, or OMP
npx sdd-mcp-server@5.0.1 install --profile full

Do not use --refresh-generated for a new project. A normal installation records package ownership in .sdd-mcp/install-manifest.json and registers the hidden project runtime.

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.

Manual workflow invocation

SDD skills are explicit commands and do not activate implicitly from ordinary prose.

PathClaude CodeCodexOh My Pi
Small task/simple-task$simple-task/skill:simple-task
Formal SDD/sdd-requirements → /sdd-design → /sdd-tasks → /sdd-implement$sdd-requirements → $sdd-design → $sdd-tasks → $sdd-implement/skill:sdd-requirements → /skill:sdd-design → /skill:sdd-tasks → /skill:sdd-implement

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

ComponentClaude CodeCodexOh My Pi
Root guidanceCLAUDE.mdAGENTS.md.omp/AGENTS.md
Skills.claude/skills/.agents/skills/.omp/skills/
Agents.claude/agents/.codex/agents/.omp/agents/
Rules.claude/rules/.codex/guidance/rules/.omp/rules/
Context references.claude/contexts/.codex/guidance/contexts/.omp/contexts/
Steering.spec/steering/.spec/steering/.spec/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.

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.

  1. Commit or otherwise preserve the current repository state.
  2. 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.
  3. Run one reversible refresh:
bash
# Replace <target> with claude-code, codex, or omp
npx sdd-mcp-server@5.0.1 install \
  --profile full \
  --target <target> \
  --refresh-generated

The 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 16 tools:

  1. sdd-init
  2. sdd-requirements
  3. sdd-design
  4. sdd-tasks
  5. sdd-implement
  6. sdd-status
  7. sdd-approve
  8. sdd-review-test-cases
  9. sdd-quality-check
  10. sdd-context-load
  11. sdd-template-render
  12. sdd-steering
  13. sdd-steering-custom
  14. sdd-validate-design
  15. sdd-validate-gap
  16. sdd-spec-impl

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 preserve the returned fingerprint for ifNoneMatch, request unapproved source only explicitly in full mode, and 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:

bash
npx sdd-mcp-server context-report
npx sdd-mcp-server context-report --before ./baseline-sessions --after ./v4-sessions
npx sdd-mcp-server context-report --json

The 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 routed Opus or Sonnet model override. Codex may request one generated Sol/xhigh custom advisor for high-level work. OMP runs high-level work inline on the Sol/medium parent by default: real A/B showed automatic Sol/xhigh child requests increased median cost. OMP’s .omp/agents Sol/xhigh advisors are explicit opt-in only, allow one child, and cannot nest or retry. Implementation, TDD, and simple tasks remain inline on Sol/medium 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.md
  • TDD Methodology: agents/tdd-guide.md
  • Security Guidance: rules/security.md
  • Workflow: docs/WORKFLOW.md
  • Architecture: ARCHITECTURE.md

Development

bash
git clone https://github.com/yi-john-huang/sdd-mcp.git
cd sdd-mcp
npm install
npm run build
npm test

MIT licensed. See CHANGELOG.md for release history.

Installation

TypingMind
{
  "mcpServers": {
    "sdd-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sdd-mcp-server@latest"
      ]
    }
  }
}

Available Tools

  • sdd-init

    Initialize a new SDD project with interactive requirements clarification

  • sdd-requirements

    Generate requirements doc

  • sdd-design

    Create design specifications

  • sdd-tasks

    Generate task breakdown

  • sdd-implement

    Implementation guidelines

  • sdd-status

    Check workflow progress

  • sdd-approve

    Approve workflow phases

  • sdd-quality-check

    Code quality analysis

  • sdd-context-load

    Load project context

  • sdd-template-render

    Render templates

  • sdd-steering

    Create or update steering documents

  • sdd-steering-custom

    Create custom steering documents

  • sdd-validate-design

    Interactive design quality review and validation

  • sdd-validate-gap

    Analyze implementation gap between requirements and codebase

  • sdd-spec-impl

    Execute spec tasks using TDD methodology

Use MCP SDD Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP SDD Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP SDD Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP SDD Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "sdd-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sdd-mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP SDD Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP SDD Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP SDD Server to help me with this task?
MCP SDD Server
Sure. I read it.
Here is what I found using MCP SDD Server.

Option 2: Add an MCP server URL

Use this when MCP SDD Server is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter the MCP server URL from the provider in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste the MCP server URL from the provider into the Server URL field.
  2. Enter a connection name for MCP SDD Server.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the MCP SDD Server connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the MCP SDD Server tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the MCP SDD Server tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP SDD Server to help me with this task?
MCP SDD Server
Sure. I read it.
Here is what I found using MCP SDD Server.

Frequently asked questions

What is the MCP SDD Server MCP server used for?

MCP SDD Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP SDD Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP SDD Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP SDD Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP SDD Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP SDD Server MCP to TypingMind?

MCP SDD Server can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does MCP SDD Server MCP provide in TypingMind?

MCP SDD Server exposes 15 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP SDD Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP SDD Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇