io.github.cdeust/prd-spec-generator
Returns Git comparisons for pinned revisions as part of implementation review dossiers, binding approved manifests and exact revisions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AI Architect MCP Spec
Check requirements, acceptance criteria and test traceability before a specification becomes code. AI Architect MCP Spec is a local MCP server with a deterministic verifier and a host-driven PRD workflow. You can run the verifier on an existing document or use the full profile to generate and verify a PRD.
What works today
Capability | Behavior | Evidence |
Portable verifier |
| |
Symbol references | Supply | |
Full PRD workflow | The server emits the next action and records the result. The host runs model calls, asks questions and writes exported artifacts. The packaged | |
Planning handoff | An eligible checkpoint exposes validated requirements and acceptance criteria, and the generated tickets' estimates, prerequisites and criteria when the run generated them. Spec derives a proposal for one Step and binds it to the Define data with SHA-256. Architect OS prepares the preview and owns approval and execution. | |
Implementation review dossier | With an operator-approved record, Spec returns a Git comparison for the pinned revisions and marks each acceptance criterion |
The verifier reports whether the input satisfies its implemented rules. A report with no violations establishes structural conformance. Factual accuracy and implementation behavior require their own evidence. Rule implementation
Related MCP server: spec-gate
The pipeline
Generate and verify a PRD
Call start_pipeline, execute the returned NextAction, and send the result with submit_action_result. Repeat until the server returns a terminal action. Use get_pipeline_state to recover the current action and inspect saved progress. When an action or report is paginated, follow __page.next_offset to the last page before acting on the complete result. MCP protocol · Host dispatch rules
The full packaged workflow uses the companion tools and model actions described in the host skill. Set codebase_path only when the host can execute the graph actions through AI Architect MCP Codebase. Scope and edge-case review checks model findings and citations against the saved review inputs. Findings, inconclusive results, stale evidence or missing evidence can block Define. Semantic review · Define gate
Read a planning handoff
Use get_pipeline_state with the saved run_id. An eligible checkpoint is a successful automatic completion, a legacy checkpoint with a pending decision that permits a handoff, or a finished run whose gate kept a passed Define, while the checkpoint still projects it.
Format | Result |
| Validated requirements and acceptance criteria with explicit requirement references, and |
| A deterministic proposal for the |
| For a run started with |
| For a run started with |
| A read-only dossier for the |
Projection implementation · Review dossier setup
A planning run whose review refuses its Define
A run started with plan_step needs three settings in the server's environment: PRD_GEN_PLAN_DRAFTER and PRD_GEN_PLAN_REVIEWER (provider/model, two different models), and PRD_GEN_PLAN_VERDICT_CAP (a positive whole number: how many judge verdicts its self-check may ask for). Without all three, start_pipeline answers plan_models_unavailable.
When the review judges every claim and refuses some, the run does not end there. After the verification report it returns one ask_user per finding, under the id define_finding_<sha256>. The question holds the refused claim, each verdict with its judge and model, and the reviewer's reason. The id is a digest of the run, of what the review read and of the finding. Only an answer under the id of the open question is read: an answer kept from another run, from an earlier document of the run or from another finding changes nothing.
The operator answers each finding in one of three ways:
Their own words (
freeform, at most 1,000 characters, nothing selected): a decision, or a fact the draft cannot see. The answer is recorded as a clarification of the run, so every later draft and the scope review read it as an operator source.Repair from the review: the drafter repairs the claim from the reviewer's reason alone.Stop: the Define stays refused and the run endsneeds_attention.
No answer passes a Define. Once every finding of the review has its answer, every section is drafted again as a revision of the refused text. The text of each claim the review accepted is kept as it is: a draft that rewords or drops one is refused and retried, and so is a draft that leaves a refused claim unchanged. A criterion that cites a refused requirement may change with it. New reviewer sessions then judge the whole revision, and the same gate decides.
The files of a revision are written beside those of the document before it, as 01-prd.rev1.md, 10-verification-report.rev1.md and so on. Each report lists the earlier findings and how they were settled. The host bounds the path: each round needs an operator answer and spends model sessions that the host counts. The server sets no number of rounds. Two limits it already had apply: 1,000 characters for an answer and 50 operator turns for a run.
A refusal that no review finding explains (an invalid document, refused tickets, a failed section, a scope review that is not clear) still ends the run. Findings and answers · Revision
Exported files per context profile
The table shows the files of a fully passed run with the standard request size. Failed or skipped sections can reduce the export. See 00-run-notes.md for omissions.
Context | Files written |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A run declared request_size: "tiny" writes 00-run-notes.md, 01-prd.md, 05-testing.md, 07-jira-tickets.md and 10-verification-report.md, whatever its context except an incident. Incidents follow their table row.
Integration status
Ready on Spec
main. The portable verifier, host-driven Define verification, deterministic proposal and revision-bound review dossier are implemented. Verification and Define · Deterministic proposal · Review dossierNext for the paired loop. The independent review handoff reached the Architect OS preview in an offline replay using a candidate Spec bundle and two model fixtures. Production evidence still needs signed-in adapters that attest the account and effective model, results on specimen inputs before Step, and results per criterion on the delivered revision. Architect OS integration and replay
A recorded handoff
The delivery-command fixture drives an actual Spec process over stdio and compares the resulting dossier with the approved Git revisions. Its assertions cover ready_for_review and evidence_required for each acceptance criterion. Input fixture · Expected results
A separate paired run used an experimental Spec bundle with two deterministic model fixtures. Architect OS accepted the exact reviewed Plan as pending, and a second admitted session resumed it with zero model calls. The PR records the tested Architect OS commit and the materialization refusal when specimen evidence was missing. Recorded paired replay
Getting started
Portable verifier
The checked-in Codex and Gemini CLI manifests start mcp-server/index.js --profile verifier and expose the two deterministic validation tools. The verifier makes zero model calls. Codex manifest · Gemini CLI manifest
For any stdio MCP host, clone the repository and install the bundled server dependencies. Use Node 20 or later for the launcher.
git clone https://github.com/cdeust/ai-architect-mcp-spec.git
cd ai-architect-mcp-spec/mcp-server
npm ci --omit=devConfigure the host to start node /absolute/path/to/ai-architect-mcp-spec/mcp-server/index.js --profile verifier. Call validate_prd_section with section_type and content. To check cross-section traceability, pass sections as an array of objects with type and content to validate_prd_document. Request schemas
Full profile in Claude Code
claude plugin marketplace add cdeust/ai-architect-mcp-spec
claude plugin install ai-architect-mcp-spec@ai-architect-mcp-spec-marketplaceStart a fresh session, configure the companions required by the host skill, then run /generate-prd with a feature description. The plugin uses Node and npm to start its bundled server. The host supplies the model and companion tools. Plugin launcher · Generate PRD command
Supported platforms
The CI matrix runs these jobs. It probes the plugin launcher, node bin/ensure-deps.mjs, over stdio. On macOS and Windows, the environment command then runs pnpm install --frozen-lockfile, pnpm build, pnpm test, pnpm bundle, the portable checks and scripts/release/smoke-mcpb.sh.
Platform | CI runner | Jobs |
Linux |
| unit, regression, e2e, environment, install |
macOS |
| environment (plugin launch, the test suite and the |
Windows |
| environment (plugin launch, the test suite and the |
Platform contract · CI commands · CI runs
What the .mcpb carries
The bundle carries the MCP server and its launch configuration. check_health reports degraded with skillAvailable: false and evidenceDbHealthy: false for the bundle. Use the Claude Code plugin for its packaged skill and commands. Bundle manifest · Bundle smoke test
Companion ecosystem
These are the plugin commands printed by the current full-profile preflight. The codebase companion applies when you supply codebase_path. The portable verifier is standalone.
claude plugin marketplace add cdeust/ai-architect-mcp-codebase
claude plugin marketplace add cdeust/Cortex
claude plugin marketplace add cdeust/zetetic-team-subagents
claude plugin install ai-architect-mcp-codebase@ai-architect-mcp-codebase-marketplace
claude plugin install hypermnesia-mcp@cortex-plugins
claude plugin install zetetic-team-subagents@zetetic-marketplaceReproduce the checks
pnpm install --frozen-lockfile
pnpm build
pnpm test
pnpm test:portable
pnpm test:portable:runtimeThe boundary scenarios drive MCP stdio with recorded fixture responses. The portable runtime smoke test checks the tool surface through the launchers declared in the host manifests. Boundary scenarios · Portable smoke test
Contribute
The architecture and dependency rules describe how the core, validation, orchestration and MCP layers fit together. See the assurance case for the verification evidence and release instructions for packaging.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A hosted MCP suite providing workflow primitives: web search, content fetching, compression, deduplication, cost/budget management, and agent memory pipelines.
Paid remote MCP for context budgets, progressive loading, schema slimming, and readiness.
A paid remote MCP for Context7 MCP docs, built to return verdicts, receipts, usage logs, and audit-r
Google Ads MCP with 20,000+ account peer context and staged approve-then-execute writes.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables typed batch evidence processing, including classification, extraction, summarization, and triage, with SQLite checkpoints, exact source offsets, CLI, and MCP integration.MIT
- AlicenseAqualityBmaintenanceProvides MCP tools to score request sufficiency against a profile, block underspecified work, and write committed decision records with evidence and overrides.2Apache 2.0
- AlicenseCqualityCmaintenanceEnables users to build constraint-driven novel-writing pipelines through MCP: create project bibles, track foreshadowing and hard facts, run chapter reviews and release gates, and produce next-chapter writing briefs.27MIT
- AlicenseAqualityFmaintenanceEnables agents to run an end-to-end credit-risk modeling pipeline — data loading and profiling, feature analysis/screening, preprocessing, splitting, training, tuning, evaluation, confirmation, and reporting — through 20 MCP tools. Every step writes contract-frozen, reproducible artifacts to disk and returns explicit ok / needs_user_input / error states so failures stay visible.20PolyForm Noncommercial 1.0.0