todo_list
Display all available task lists to organize and track progress within the MCP TODO Checklist Server.
Instructions
Lista todas as listas de tarefas
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:205-215 (handler)The main execution logic for the 'todo_list' tool. Fetches all user checklists using checklistService, maps them to summaries (title, description, total/completed items count), and returns formatted JSON text response.case "todo_list": { console.error('DEBUG - Processing todo_list'); const allLists = await checklistService.getUserChecklists('current-user'); const listSummary = allLists.map(l => ({ title: l.title, description: l.description, totalItems: l.items.length, completedItems: l.items.filter(i => i.completed).length })); return { content: [{ type: "text", text: JSON.stringify(listSummary, null, 2) }] }; }
- src/index.ts:127-133 (registration)Tool registration entry in ListTools handler, defining name, description, and input schema (no required parameters). Note: ends with comma as part of tools array.name: "todo_list", description: "Lista todas as listas de tarefas", inputSchema: { type: "object", properties: {}, }, },