chore: task mgmt

This commit is contained in:
Eyal Toledano
2025-03-31 11:57:54 -04:00
parent 05950ef318
commit 219b40b516
2 changed files with 2 additions and 2 deletions

View File

@@ -505,7 +505,7 @@ Following MCP implementation standards:
- Unit test for setTaskStatusDirect.js
- Integration test for MCP tool
## 22. Implement show-task MCP command [in-progress]
## 22. Implement show-task MCP command [done]
### Dependencies: None
### Description: Create direct function wrapper and MCP tool for showing task details.
### Details:

View File

@@ -1546,7 +1546,7 @@
"title": "Implement show-task MCP command",
"description": "Create direct function wrapper and MCP tool for showing task details.",
"details": "Following MCP implementation standards:\n\n1. Create showTaskDirect.js in mcp-server/src/core/direct-functions/:\n - Import showTask from task-manager.js\n - Handle file paths using findTasksJsonPath utility\n - Process arguments: taskId\n - Validate inputs and handle errors with try/catch\n - Return standardized { success, data/error } object\n\n2. Export from task-master-core.js:\n - Import the function from its file\n - Add to directFunctions map\n\n3. Create show-task.js MCP tool in mcp-server/src/tools/:\n - Import z from zod for parameter schema\n - Import executeMCPToolAction from ./utils.js\n - Import showTaskDirect from task-master-core.js\n - Define parameters matching CLI options using zod schema\n - Implement registerShowTaskTool(server) with server.addTool\n - Use executeMCPToolAction in execute method\n\n4. Register in tools/index.js with tool name 'show_task'\n\n5. Add to .cursor/mcp.json with appropriate schema\n\n6. Write tests following testing guidelines:\n - Unit test for showTaskDirect.js\n - Integration test for MCP tool",
"status": "in-progress",
"status": "done",
"dependencies": [],
"parentTaskId": 23
},