Tasks: Add Delete Plan MCP Tool
Project: ai-plans PRD: link to PRD Progress: 19/19
Task 1: Create delete-plan Tool
- Status: done
- Description: Implement delete_plan function
- Files: mcp-server/src/tools/delete-plan.ts
- Subtasks:
- Create new file
- Validate parameters (project, task, confirm)
- Check plan exists
- Delete folder recursively
- Update index page
- Git commit
- Return result
Task 2: Register Tool in Server
- Status: done
- Description: Add delete_plan to MCP server
- Files: mcp-server/src/server.ts
- Subtasks:
- Import delete-plan function
- Add to tools list
- Add to handler switch
- Define input schema
Task 3: Build and Test
- Status: done
- Description: Compile and test the new tool
- Files: mcp-server/
- Subtasks:
- Run pnpm build
- Test with test plan
- Verify git commit
- Check index updated
Task 4: Deploy and Document
- Status: done
- Description: Push to production and update docs
- Files: README.md, docs/
- Subtasks:
- Git push to GitHub
- Verify Coolify deploys
- Update README with new tool
- Test on production