FlowSpec MCP
A PRD-first multi-agent MCP server that wraps agent definitions, collaboration rules, and staged delivery into a local stdio service for standardized software delivery workflows.
README
FlowSpec MCP
English | 简体中文
Alias: Stay the Course (Keep Moving Forward)
FlowSpec MCP is a PRD-first multi-agent MCP server for standardized software delivery workflows. It wraps the agent definitions, collaboration rules, and staged delivery process from claude-standard-dev-team into a local stdio MCP service that can run across different MCP hosts.
Why FlowSpec
Many multi-agent tools fail not because they lack agents, but because they lack structure. FlowSpec MCP focuses on three ideas:
Spec first: createPRD, contracts, and task lists before executionWorkflow closed-loop: move from planning to delivery through explicit phasesModel-agnostic: work with MCP-compatible hosts instead of tying the workflow to one model vendor
In short:
Write the spec first, then let the agents execute.
Highlights
- Standard
stdio MCP server 1orchestrator plus multiple specialist agents- Supports
plain,minimal-json, andfull-artifact-json - Supports full
Phase 0 -> Phase 11workflow execution - Writes generated artifacts to a target directory
- Includes smoke tests and full integration tests
- Runs without the
claudeCLI
Recommended Workflow
Recommended order of use:
- Generate a standardized
PRD - Generate
TECH_SPEC,API_CONTRACT, andDB_SCHEMA - Let the orchestrator dispatch specialist agents by phase
- Add human checkpoints after
Phase 1andPhase 2 - Use QA, security, review, and acceptance reports as release gates
Model Recommendations
Model quality varies a lot across structured output, code generation, and long-running workflows. For best results, prefer stronger models for end-to-end execution.
Recommended priority:
ClaudeGPTDeepSeek V4 ProMiniMax
Guidance:
- If your host supports
sampling, connect a stronger model and run the full workflow automatically - If your host does not support
sampling, letFlowSpec MCPproduce prompt packages and pass them to your preferred model manually
Architecture
Default workflow roles:
orchestratorfor global coordinationproduct-managerforPRDsoftware-architectfor contracts and technical specsui-designerfor design system outputdatabase-optimizerfor database implementationbackend-architectfor backend implementationfrontend-developerfor frontend implementationtesting-evidence-collectorfor QA evidencesecurity-engineerfor security reviewcode-reviewerfor code reviewreality-checkerfor final acceptancetechnical-writerfor delivery documentation
Available Tools
health_checklist_agentsget_agent_promptget_workflow_summarybuild_execution_planrun_agentrun_orchestratorrun_governed_workflowrun_full_workflow
Output Modes
plain
- Human-readable text
- Best for manual prompt inspection
minimal-json
- Minimal structured JSON
- Best for rule enforcement and lightweight orchestration
full-artifact-json
- Full structured JSON
- Includes complete artifact contents in
artifacts - Best for writing staged deliverables to disk
Requirements
- Node.js
>= 20 - Local access to the
claude-standard-dev-teamsource repository
Source resolution order:
TEAM_SOURCE_PATH../claude-standard-dev-teamif the env var is not set
Install
cd <PATH_TO_FLOWSPEC_MCP>
npm install
Start
cd <PATH_TO_FLOWSPEC_MCP>
npm start
Notes:
- The process stays attached to stdio and waits for an MCP host to connect
- In practice, it is better to let Claude Desktop, Cursor, or a custom MCP client launch it
MCP Configuration
See mcp.config.sample.json for a generic example.
{
"mcpServers": {
"flowspec-mcp": {
"command": "node",
"args": [
"C:\\path\\to\\flowspec-mcp\\server.js"
],
"env": {
"TEAM_SOURCE_PATH": "C:\\path\\to\\claude-standard-dev-team"
}
}
}
}
Claude Desktop
- Config file usually lives at
%APPDATA%\\Claude\\claude_desktop_config.json - See claude_desktop_config.sample.json
Cursor
- Config file usually lives at
%USERPROFILE%\\.cursor\\mcp.json - Uses the same structure as the generic MCP config
Full Workflow
Default full workflow phases:
Phase 0orchestratorPhase 1product-managerPhase 2software-architectPhase 2.5ui-designerPhase 3orchestratorPhase 4database-optimizerPhase 5backend-architectPhase 5 QAtesting-evidence-collectorPhase 6frontend-developerPhase 6 QAtesting-evidence-collectorPhase 7security-engineerPhase 8code-reviewerPhase 9devops-automatorPhase 10reality-checkerPhase 11technical-writer
Examples
Generate only the execution plan
build_execution_plan(userRequest="Build a Todo Lite app", mode="full-workflow")
Run a single agent
run_agent(
agentName="product-manager",
phase="Phase 1",
artifactType="PRD",
projectName="todo-lite",
responseMode="full-artifact-json",
targetDir="C:\\output\\todo-lite",
task="Generate a complete PRD"
)
Run the full workflow
run_full_workflow(
projectName="todo-lite",
userRequest="Build a minimal Todo Lite app with create, list, toggle, docs, code skeleton, and deployment files.",
targetDir="C:\\output\\todo-lite"
)
Testing
npm test
npm run smoke
npm run test:integration
The full integration test:
- starts the local MCP server
- connects a mock sampling host
- verifies tool discovery
- verifies orchestrator and full workflow execution
- writes artifacts into
reports/ - generates test reports
Publishing Notes
- Keep sample configs path-neutral
- Do not commit local generated outputs such as
reports/ - Do not publish machine-specific usernames or absolute paths
- Include
LICENSE,CHANGELOG, release tags, and screenshots for a cleaner project page
Limitations
- This project is a local MCP adaptation of the upstream agent rules, not the official upstream MCP server
- If the host does not support
sampling, execution falls back to prompt packages - The current validation focuses on protocol integration, orchestration, constraints, and staged workflow closure, not on universal model quality guarantees
Roadmap
- Retry logic and persisted workflow state
- Resume from checkpoints
- Stronger artifact validation
- More model gateway integrations
- Regression testing against real project repositories
Source And Thanks
This project is inspired by and built with reference to the upstream project xuanbingbingo/claude-standard-dev-team.
Thanks to the original authors and contributors for publishing the agent definitions, workflow ideas, and engineering conventions that made this local MCP adaptation possible.
Contact
- Maintainer contact:
feng#moonstack.org ('#' to '@')
License
Released under the MIT License.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。