FlowSpec MCP

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.

Category
访问服务器

README

FlowSpec MCP

English | 简体中文

Alias: Stay the Course (Keep Moving Forward)

License: MIT Node.js >=20 MCP

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: create PRD, contracts, and task lists before execution
  • Workflow closed-loop: move from planning to delivery through explicit phases
  • Model-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
  • 1 orchestrator plus multiple specialist agents
  • Supports plain, minimal-json, and full-artifact-json
  • Supports full Phase 0 -> Phase 11 workflow execution
  • Writes generated artifacts to a target directory
  • Includes smoke tests and full integration tests
  • Runs without the claude CLI

Recommended Workflow

Recommended order of use:

  1. Generate a standardized PRD
  2. Generate TECH_SPEC, API_CONTRACT, and DB_SCHEMA
  3. Let the orchestrator dispatch specialist agents by phase
  4. Add human checkpoints after Phase 1 and Phase 2
  5. 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:

  • Claude
  • GPT
  • DeepSeek V4 Pro
  • MiniMax

Guidance:

  • If your host supports sampling, connect a stronger model and run the full workflow automatically
  • If your host does not support sampling, let FlowSpec MCP produce prompt packages and pass them to your preferred model manually

Architecture

Default workflow roles:

  • orchestrator for global coordination
  • product-manager for PRD
  • software-architect for contracts and technical specs
  • ui-designer for design system output
  • database-optimizer for database implementation
  • backend-architect for backend implementation
  • frontend-developer for frontend implementation
  • testing-evidence-collector for QA evidence
  • security-engineer for security review
  • code-reviewer for code review
  • reality-checker for final acceptance
  • technical-writer for delivery documentation

Available Tools

  • health_check
  • list_agents
  • get_agent_prompt
  • get_workflow_summary
  • build_execution_plan
  • run_agent
  • run_orchestrator
  • run_governed_workflow
  • run_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-team source repository

Source resolution order:

  • TEAM_SOURCE_PATH
  • ../claude-standard-dev-team if 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

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 0 orchestrator
  • Phase 1 product-manager
  • Phase 2 software-architect
  • Phase 2.5 ui-designer
  • Phase 3 orchestrator
  • Phase 4 database-optimizer
  • Phase 5 backend-architect
  • Phase 5 QA testing-evidence-collector
  • Phase 6 frontend-developer
  • Phase 6 QA testing-evidence-collector
  • Phase 7 security-engineer
  • Phase 8 code-reviewer
  • Phase 9 devops-automator
  • Phase 10 reality-checker
  • Phase 11 technical-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

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选