软件规划工具🚀
模型上下文协议 (MCP) 服务器旨在通过交互式结构化方法促进软件开发规划。该工具有助于将复杂的软件项目分解为可管理的任务,跟踪实施进度,并维护详细的开发计划。
特色✨
- 交互式规划会议:启动和管理开发规划会议
- 待办事项管理:创建、更新和跟踪开发任务
- 复杂性评分:为任务分配复杂性分数,以便更好地评估
- 代码示例:在任务描述中包含相关代码片段
- 实施计划:保存和管理详细的实施计划
安装🛠️
通过 Smithery 安装
要通过Smithery自动安装 Claude Desktop 的软件规划工具:
npx -y @smithery/cli install @NightTrek/Software-planning-mcp --client claude
手动安装
- 克隆存储库
- 安装依赖项:
- 构建项目:
- 添加到您的 MCP 设置配置(通常位于
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
):
{
"mcpServers": {
"software-planning-tool": {
"command": "node",
"args": [
"/path/to/software-planning-tool/build/index.js"
],
"disabled": false,
"autoApprove": []
}
}
}
可用工具🔧
开始规划
开始一个新的规划会议,并设定一个特定的目标。
{
goal: string // The software development goal to plan
}
添加待办事项
向当前计划添加新的待办事项。
{
title: string, // Title of the todo item
description: string, // Detailed description
complexity: number, // Complexity score (0-10)
codeExample?: string // Optional code example
}
获取待办事项
检索当前计划中的所有待办事项。
// No parameters required
更新待办事项状态
更新待办事项的完成状态。
{
todoId: string, // ID of the todo item
isComplete: boolean // New completion status
}
保存计划
保存当前执行计划。
{
plan: string // The implementation plan text
}
删除待办事项
从当前计划中删除待办事项。
{
todoId: string // ID of the todo item to remove
}
使用示例📝
以下是使用软件规划工具的完整示例:
- 开始规划会议:
await client.callTool("software-planning-tool", "start_planning", {
goal: "Create a React-based dashboard application"
});
- 添加待办事项:
const todo = await client.callTool("software-planning-tool", "add_todo", {
title: "Set up project structure",
description: "Initialize React project with necessary dependencies",
complexity: 3,
codeExample: `
npx create-react-app dashboard
cd dashboard
npm install @material-ui/core @material-ui/icons
`
});
- 更新待办事项状态:
await client.callTool("software-planning-tool", "update_todo_status", {
todoId: todo.id,
isComplete: true
});
- 保存执行计划:
await client.callTool("software-planning-tool", "save_plan", {
plan: `
# Dashboard Implementation Plan
## Phase 1: Setup (Complexity: 3)
- Initialize React project
- Install dependencies
- Set up routing
## Phase 2: Core Features (Complexity: 5)
- Implement authentication
- Create dashboard layout
- Add data visualization components
`
});
开发🔨
项目结构
software-planning-tool/
├── src/
│ ├── index.ts # Main server implementation
│ ├── prompts.ts # Planning prompts and templates
│ ├── storage.ts # Data persistence
│ └── types.ts # TypeScript type definitions
├── build/ # Compiled JavaScript
├── package.json
└── tsconfig.json
建筑
测试
使用 MCP 检查器测试所有功能:
许可证📄
麻省理工学院
使用模型上下文协议用❤️制作