PDCA workflow MCP Server for AI-assisted development
npm install pdca-mcpbash
npm install
`
$3
`bash
npm run build
`
$3
在Cursor的MCP配置文件中添加:
`json
{
"mcpServers": {
"pdca": {
"command": "node",
"args": ["D:\\path\\to\\pdca-mcp\\dist\\index.js"],
"type": "stdio"
}
}
}
`
使用方法
$3
1. 初始化项目
`
初始化PDCA项目
`
2. 明确需求
`
我要开发用户登录功能
`
3. 制定计划
`
拆解任务
`
4. 执行任务
`
开始执行任务1
`
5. 验证成果
`
检查完成情况
`
6. 总结复盘
`
总结这次开发
`
$3
- pdca_init - 初始化PDCA项目
- pdca_specify - 明确需求
- pdca_plan - 制定计划
- pdca_execute - 执行任务
- pdca_verify - 验证成果
- pdca_summarize - 总结复盘
项目结构
`
.pdca/
├── config.json # 全局配置
├── templates/ # 模板目录
└── pdca-001-{功能名}/ # 需求目录
├── requirement.md # 需求文档
├── tasks.md # 任务列表
├── execution.md # 执行记录
└── summary.md # 总结文档
`
开发
$3
`bash
安装依赖
npm install
开发模式(自动编译)
npm run dev
构建
npm run build
测试
npm test
`
$3
`bash
构建并发布
npm run build
npm publish
``