Add configurable MCP support for ReSpec report workflows#5168
Add configurable MCP support for ReSpec report workflows#5168danielcamposramos wants to merge 1 commit intospeced:mainfrom
Conversation
Introduce a stdio MCP interface for ReSpec so editors and AI tools can scaffold, preflight, validate, and build reports from repo-local profiles. Keep group-specific policy out of the core implementation by loading statuses, templates, required sections, required links, and phrase checks from repository configuration. Add a Docker runtime for Node 24 and Chromium-based environments so the same workflow can run consistently in local and containerized setups.
|
Can you share a video demo to show how it works? |
Hi @sidvishnoi, Thanks for looking at this. We built this MCP as a side project within the PM-KR Community Group to support our own report authoring workflow. The group's focus is on the main specification work, so we don't have the bandwidth to record a video demo right now — but the MCP is functional and has already been used in practice. How to use it: VSCode agents (Claude Code, Cline, GitHub Copilot, etc.) — add to your MCP settings: { Docker (includes Node 24 + headless Chromium for respec_build): docker build -t respec-mcp:local . CLI (directly, for scripting or CI): node tools/respec-mcp.js --repo-root /path/to/your/spec-repo Once connected, the agent gets five tools: Live artifact Happy to answer any questions about the implementation or integration patterns. |
|
Will take a look soon… |
Summary
This PR adds a configurable stdio MCP companion for ReSpec so AI tools and editors can scaffold, preflight, validate, and build reports from repo-local profiles.
What Changed
respec-mcpstdio entrypoints and MCP core/server modulesrespec-mcp.config.jsonandrespec-mcp/profiles/*.jsonWhy
The goal is to let Community Groups and similar spec repositories keep local policy and templates while reusing one upstream MCP runtime. The added authoring guidance is meant to make the MCP useful for real standards-oriented writing and review, not only for rendering HTML.
Validation
docker build -t respec-mcp:local .docker run --rm --entrypoint node respec-mcp:local /app/node_modules/jasmine/bin/jasmine.js --random=false /app/tests/mcp.cjs