软件规划工具🚀
](https://smithery.ai/server/@NightTrek/Software-planning-mcp)
一种模型上下文协议(MCP)服务器,旨在通过交互式结构化方法促进软件开发规划。该工具有助于将复杂的软件项目分解为可管理的任务,跟踪实施进度,并维护详细的开发计划。
特性✨
- 互动规划会议:启动和管理发展规划会议
- 待办事项管理:创建、更新和跟踪开发任务
- 复杂性评分:为任务分配复杂性分数,以便更好地估计
- 代码示例:在任务描述中包含相关代码片段
- 实施计划:保存和管理详细的实施计划
安装🛠️
通过Smithery安装
通过以下方式自动安装克劳德桌面软件规划工具 史密瑟里:
npx -y @smithery/cli install @NightTrek/Software-planning-mcp --client claude手动安装
- 克隆存储库
- 安装依赖项:
pnpm install- 构建项目:
pnpm run build- 添加到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
}remove_todo
从当前计划中删除待办事项。
{
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建筑
pnpm run build测试
使用MCP检查器测试所有功能:
pnpm run inspector许可证📄
麻省理工学院
______________________________________________________________________
由以下材料制成❤️ 使用模型上下文协议
