sdlc-mcp
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., "@sdlc-mcp Validate this user story against our definition of ready."
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.
sdlc-mcp
An MCP server that gives an AI agent your software delivery standard: artifact templates, a domain glossary, and a machine verdict on whether an artifact is ready to move on.
A prompt can tell an agent what shape a user story should have. What a prompt cannot do is tell it whether the story it just wrote is actually acceptable. That is what this server is for.
validate_artifact("US", content) -> { "verdict": "fail", "blockers": [ ... ] }The idea
Three rules hold the whole thing together:
Every task produces an artifact, and every artifact has an owning role. Roles are defaults, not requirements: a project that does not staff an architect reassigns the architect's tasks down a declared fallback chain. The task still has to happen.
Readiness is data, not opinion. Definition of Ready and Definition of Done live in
standard/rules.yamlas declarative records. Adding a rule means editing YAML. Adding a kind of rule means writing one function.The standard lives in version control, so the same files that a human reviews are the context an agent reads. There is no second, prettier copy that drifts.
This is spec-driven development taken literally: the specification in the repository is the source of truth an agent implements from, and the gate it has to pass on the way out.
Related MCP server: RulesetMCP
Quickstart
git clone https://github.com/<you>/sdlc-mcp && cd sdlc-mcp
python -m venv .venv && . .venv/Scripts/activate # POSIX: . .venv/bin/activate
pip install -e ".[dev]"
python -m sdlc_mcp --self-check # verify the standard is consistent
python -m sdlc_mcp --overview # print the standard as a Markdown table
pytest -q # 40 tests
python -m sdlc_mcp # serve over stdio--self-check is the interesting one. It asserts that the standard does not
contradict itself: every artifact type points at a real category and a real role,
every task produces a known artifact type, every rule kind is implemented, every
template file exists, every template satisfies its own required-section rules,
and every bundled example produces the verdict it is supposed to. A standard that
contradicts itself is worse than no standard, because an agent reading it cannot
tell the difference. It runs in CI.
Wiring it into an MCP client
Claude Code (.mcp.json in your project, or claude mcp add):
{
"mcpServers": {
"sdlc": {
"command": "python",
"args": ["-m", "sdlc_mcp"]
}
}
}Cursor (.cursor/mcp.json) uses the same shape. Any MCP client that speaks stdio
will work; --transport streamable-http and --transport sse are also available.
Tools
Tool | What an agent uses it for |
| See the phases of delivery and what each must produce. |
| Get one phase in full: purpose, exit artifacts, tasks, owners. |
| See the artifact catalog with id conventions and owners. |
| Fetch the template before writing, plus the sections the rules will require. |
| Get a pass/fail verdict with blockers and warnings, at the |
| Resolve a domain term instead of inventing a meaning. On a miss, returns every known term so the agent can see what it should have asked for. |
| Given what already exists, what is still outstanding and who owns it. |
| Find the reference artifacts, each declaring its expected verdict. |
Resources: sdlc://standard/overview, sdlc://glossary,
sdlc://template/{artifact_type}, sdlc://example/{example_id}.
Prompts: draft_artifact and review_artifact - workflows that put the tools
in the right order (template first, glossary second, validate last) so the agent
does not have to be reminded every session.
What a verdict looks like
examples/US-LEND-009-not-ready.md is a
deliberately bad user story. Real output:
{
"artifact_type": "US",
"gate": "ready",
"verdict": "fail",
"rules_checked": 13,
"blockers": [
{
"rule": "no_placeholder",
"message": "Placeholders left in the text mean the artifact is not ready, whoever wrote it.",
"detail": "'TODO'"
},
{
"rule": "frontmatter_enum",
"message": "front matter 'priority' has a value outside the allowed set",
"detail": "got 'high', allowed: must, should, could, wont"
},
{
"rule": "section_min_items",
"message": "A story with fewer than two acceptance criteria is a title, not a requirement.",
"detail": "found 1"
}
],
"warnings": [
{
"rule": "section_forbids_text",
"message": "Unfalsifiable acceptance criteria cannot be tested and cannot be implemented by an agent.",
"detail": "found: 'as appropriate', 'etc.'"
},
{
"rule": "section_required",
"message": "required section 'Open questions' is missing"
}
]
}Blockers fail the gate. Warnings do not - they are the things worth arguing about rather than the things worth refusing.
Making it your standard
The Python in src/ contains no process knowledge. Fork the repository, edit the
YAML in standard/, and you are serving your own standard over the
same protocol:
File | What it defines |
Phases of delivery, their exit artifacts and their tasks. | |
The artifact catalog: owning category, owner role, id convention, template. | |
Roles and the fallback chain used when one is not staffed. | |
Definition of Ready and Definition of Done, per artifact type. | |
The domain terms and their agreed meaning. | |
One Markdown template per artifact type. |
Run python -m sdlc_mcp --self-check after editing. It will tell you what you
broke.
Rule kinds
Kind | Fields | Checks |
|
| The key exists and is not empty. |
|
| The value matches a regex - used for id conventions. |
|
| The value is one of an allowed set. |
|
| A section with that heading exists (case- and punctuation-insensitive). |
|
| The section has at least N list items or table rows. |
|
| The section avoids named weasel phrases. |
|
| No |
| - | Outbound artifact references resolve against the ids you pass in. |
Every rule carries a severity (blocker or warning) and an optional message
that replaces the generic one. The messages in rules.yaml are written to be read
by whoever has to fix the artifact, human or otherwise.
Adding a kind: write a checker in
validation.py and register it in
KNOWN_RULE_KINDS. An unregistered kind referenced from YAML is reported by
--self-check and, at runtime, degrades to a loud warning rather than a silent
pass.
Layout
standard/ the standard itself, as data
templates/ one Markdown template per artifact type
examples/ filled-in reference artifacts in a demo domain
src/sdlc_mcp/
markdown.py front matter, sections, list items, references
validation.py the rule engine: kinds, findings, verdicts
catalog.py loads the standard, answers questions, self-checks
model.py immutable value types
server.py MCP tools, resources and prompts
tests/ 40 tests, no network, no fixtures beyond the repoDesign notes
links_resolvedoes nothing when you pass no ids. Without a universe of known artifacts there is nothing to resolve against, and reporting every reference as broken would teach callers to ignore the rule. Passknown_idsand it starts working.Unknown rule kinds warn, they do not pass quietly. A typo in the standard should be visible at the point of use, not discovered when a bad artifact reaches implementation.
Templates are validated against their own rules. A template that cannot pass the gate teaches the agent to produce failures, which is a subtle and expensive way to break a standard.
The owner fallback is transitive and terminates. If nobody in the chain is staffed, the default role is returned unchanged: the task still belongs to somebody, which is exactly the conversation the fallback is meant to force.
No Markdown library. Artifacts follow the bundled templates, so heading and list detection is sufficient; a parser would be a dependency for no gain.
The demo domain
The glossary and examples describe BookLoop, a fictional community
book-lending platform. It exists only to make the artifacts concrete - loans,
copies, branches and due dates are small enough to hold in your head and rich
enough to show what a real use case and a real ADR look like. Replace
standard/glossary.yaml and examples/ with your own and nothing else changes.
The standard shipped here is a generic reference implementation written for this repository.
Licence
MIT - see LICENSE.
Available Tools
8 toolsget_artifact_templateA
Return the Markdown template for an artifact type, together with the sections its readiness rules require. Use this before writing the artifact.
Inputs: artifact_type (required).
get_work_categoryA
Describe one work category in full: purpose, exit artifacts, and the tasks with their default owning role. Accepts an id such as '02' or a key such as 'requirements'.
Inputs: category (required).
list_artifact_typesA
List every artifact type in the standard: owning category, default owner role, id convention and what the artifact is for.
Inputs: no named parameters. Returns: result
list_examplesA
List the bundled example artifacts. Examples are filled-in reference documents in a fictional demo domain; read one before writing your own.
Inputs: no named parameters. Returns: result
list_work_categoriesA
List the work categories of the SDLC standard, with their purpose and the artifacts each one must produce before it is complete.
Inputs: no named parameters. Returns: result
lookup_glossary_termA
Look up a domain term in the project glossary. Matches the term, its aliases, and finally the definition text. Use this instead of guessing what a domain word means.
Inputs: term (required).
next_tasksA
Given a work category and the artifact types that already exist, return the tasks still outstanding and who owns them. Pass staffed_roles to have owners reassigned through the fallback chain when a role is not on the project.
Inputs: category (required), staffed_roles, existing_artifact_types.
validate_artifactA
Validate artifact content against the Definition of Ready or Definition of Done for its type. Returns a pass/fail verdict with blockers and warnings. Blockers must be fixed before the artifact moves on. Pass known_ids (the ids of artifacts that exist in your project) to have outbound references checked; omit it and reference checking is skipped.
Inputs: content (required), artifact_type (required), gate, known_ids.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct operation: category lookup, artifact type/template retrieval, validation, glossary lookup, task planning, and example listing. The list/get pairs are clearly separated by singular detail vs. plural overview.
Most tools follow a clear verb_noun pattern such as get_work_category, list_artifact_types, validate_artifact, and lookup_glossary_term. The outlier is next_tasks, which is not verb-led and breaks the otherwise consistent naming convention.
Eight tools is a well-scoped size for an SDLC standard assistant. Each tool covers a meaningful part of the workflow without redundancy or bloat.
The core standard, template, validation, glossary, and task-planning capabilities are present. However, the set tells agents to read example artifacts before writing their own, yet only offers list_examples with no way to retrieve a specific example, leaving an obvious gap in that workflow.
Related MCP Connectors
Governed behavior for AI applications and coding agents: define, evaluate, release and inspect.
Pre-execution governance for AI agents. Deterministic PASS/FAIL/REVIEW verdicts, replayable proof.
Preflight QA for AI-agent deliverables with structured verdicts and repair guidance.
Enforces architectural invariants and code quality rules inside your AI agent's edit loop.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to generate standardized code using scaffolding templates, enforce architectural patterns, and validate outputs programmatically. Supports creating projects from boilerplates and adding features to existing codebases while maintaining team conventions.160AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with queryable, version-controlled project rules and coding standards. Enables validation, rule-based guidance, and task summaries to keep AI work aligned with your project's conventions without repeating context.2MIT
- AlicenseNot gradedqualityFmaintenanceProvides SDLC compliance verification as tools that AI agents can invoke, continuously monitoring and evaluating development processes.MIT

corbatofficial
AlicenseAqualityDmaintenancePolicy and quality engine for AI coding agents that enforces team coding standards and provides validation gates for agent-assisted software delivery.754 npm5MIT