Skip to main content
Glama
MCP Todo Server (TypeScript)

MCP Todo Server (TypeScript)

MCP Todo Server (TypeScript)

Einfacher MCP-Server, der eine To-Do-Liste in einer lokalen JSON-Datei verwaltet. Erstellt für die außercurriculare Arbeit 1 (MCP) von Programmierung IV, UNA.

Bereitgestellte Fähigkeiten

Typ

Name

Beschreibung

Resource

tasks://list

Gibt die vollständige Aufgabenliste als JSON zurück

Tool

add_task(name, beschreibung, prioritaet)

Fügt eine neue Aufgabe hinzu

Tool

complete_task(task_id)

Markiert eine Aufgabe als erledigt

Prompt

daily_summary

Erstellt eine Zusammenfassung des Aufgabenstatus

Related MCP server: Todo MCP Server

Installation

  1. Dieses Repository klonen und in den Ordner wechseln:

    git clone <url-del-repo>
    cd mcp-todo-server-ts
  2. Abhängigkeiten installieren:

    npm install
  3. TypeScript-Projekt kompilieren:

    npm run build

Ausführung

Um den Server mit dem offiziellen MCP Inspector zu testen (Web-Oberfläche, in der Sie das Resource, die Tools und den Prompt aufrufen können, ohne Claude Desktop zu benötigen):

npm run inspector

Um ihn direkt auszuführen:

npm start

Verbindung mit Claude Desktop

Siehe Anweisungen im Konfigurationsabschnitt von claude_desktop_config.json von Übung 3 dieser Arbeit. Der zu registrierende Befehl zeigt auf die kompilierte Datei, zum Beispiel:

{
  "mcpServers": {
    "todo-server": {
      "command": "node",
      "args": ["C:\\ruta\\completa\\a\\mcp-todo-server-ts\\build\\server.js"]
    }
  }
}

Projektstruktur

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

Durchgeführte Tests

(Ergänzen mit Screenshots des npm run inspector, die mindestens 3 Interaktionen zeigen: zum Beispiel zwei Aufgaben hinzufügen und eine abschließen, sowie die Abfrage des Resource und des Prompts daily_summary.)

Available Tools

2 tools
add_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

    B3.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern in snake_case (add_task, complete_task), making the naming predictable and easy to understand.

    Tool Count2/5

    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.

    Completeness1/5

    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

    Related MCP Servers

    • A
      license
      A
      quality
      F
      maintenance
      An 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.
      5
      15 npm
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A simple MCP server for managing todo items with SQLite database storage, supporting add, list, and remove operations.
      6
      ISC
    • A
      license
      Not graded
      quality
      C
      maintenance
      A 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
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      A 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.
      -