MCP Todo Server (TypeScript)
MCP Todo Server (TypeScript)
Базовый сервер MCP, управляющий списком задач, хранящимся в локальном JSON-файле. Разработан для Внеклассной работы 1 (MCP) по Программированию IV, UNA.
Предоставляемые возможности
Тип | Имя | Описание |
Resource |
| Возвращает полный список задач в формате JSON |
Tool |
| Добавляет новую задачу |
Tool |
| Отмечает задачу как выполненную |
Prompt |
| Генерирует сводку состояния задач |
Related MCP server: Todo MCP Server
Установка
Клонировать этот репозиторий и перейти в папку:
git clone <url-del-repo> cd mcp-todo-server-tsУстановить зависимости:
npm installСкомпилировать проект TypeScript:
npm run build
Запуск
Для тестирования сервера с официальным MCP Inspector (веб-интерфейс, в котором можно вызывать ресурс, инструменты и подсказку без необходимости в Claude Desktop):
npm run inspectorДля прямого запуска:
npm startПодключение к Claude Desktop
См. инструкции в разделе настройки claude_desktop_config.json из Упражнения 3 данной работы. Команда для регистрации указывает на скомпилированный файл, например:
{
"mcpServers": {
"todo-server": {
"command": "node",
"args": ["C:\\ruta\\completa\\a\\mcp-todo-server-ts\\build\\server.js"]
}
}
}Структура проекта
mcp-todo-server-ts/
├── src/
│ └── server.ts # Servidor MCP principal (código fuente)
├── build/ # Generado por "npm run build" (no se sube a git)
├── tasks.json # Almacenamiento de tareas
├── package.json # Dependencias y scripts
├── tsconfig.json # Configuración de TypeScript
└── README.md # Este archivoВыполненные тесты
(Заполнить скриншотами из npm run inspector, показывающими как минимум 3 взаимодействия: например, добавить две задачи и завершить одну, а также запрос ресурса и подсказки daily_summary.)
Available Tools
2 toolsadd_taskB
Agrega una nueva tarea con nombre, descripcion y prioridad
Inputs: nombre (required), prioridad (required), descripcion (required).
complete_taskC
Marca una tarea como completada dado su id
Inputs: task_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
Only two tools exist, 'add_task' and 'complete_task', each with a clearly distinct purpose: creating a task vs marking it complete. No overlap or ambiguity.
Both tools follow a consistent verb_noun pattern in snake_case (add_task, complete_task), making the naming predictable and easy to understand.
With only two tools, the server is too minimal for a typical todo server. Essential operations like listing, getting, updating, and deleting tasks are missing, making it feel incomplete for its intended scope.
The tool surface is severely incomplete for a todo server. There is no way to view tasks, update task details, delete tasks, or query specific tasks. The agent can only add and complete, which is insufficient.
Related MCP Connectors
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
Create, list, and complete todo items through MCP.
ADHD-friendly task management MCP server for ChaTodo: organize tasks, lists, and priorities.
Related MCP Servers
- AlicenseAqualityFmaintenanceAn MCP server that allows AI assistants to manage todo lists stored in a simple markdown file, supporting creation, reading, updating, and deletion of todo items with persistent IDs.515 npm6MIT
- AlicenseNot gradedqualityDmaintenanceA simple MCP server for managing todo items with SQLite database storage, supporting add, list, and remove operations.6ISC
- AlicenseNot gradedqualityCmaintenanceA lightweight task management MCP server that enables CRUD operations on tasks stored in a single JSON file, including listing, creating, updating progress, and setting priorities.ISC
- FlicenseNot gradedqualityNot gradedmaintenanceA simple MCP server that turns a JSON file into a todo list, letting users add, list, complete, delete, and clear tasks through natural language in MCP-compatible clients.-