Skip to main content
Glama
Arslan-Codes097

todo list mcp server

{"type": "text"}

📝 Servidor MCP de Lista de Tareas Personal

Python 3.10+ MCP License: MIT

Un servidor minimalista y funcional del Model Context Protocol (MCP) que proporciona a los asistentes de IA un gestor de listas de tareas local y robusto. Este servidor demuestra cómo una IA puede gestionar el estado local e interactuar con datos persistentes (operaciones CRUD) sin requerir APIs externas ni bases de datos complejas.

🌐 Demostración en Vivo y Medios

Related MCP server: Todo MCP Server

📸 Capturas de Pantalla

MCP Inspector Testing

✨ Características Principales

  • 🤖 Integración Nativa con IA: Funciona perfectamente con Claude Desktop, Cursor y Antigravity.

  • 🛠️ Operaciones CRUD Completas: Añadir, listar, completar y eliminar tareas.

  • 📊 Resúmenes en Tiempo Real: Proporciona recursos de solo lectura que resumen tareas pendientes vs. completadas.

  • 🔒 Almacenamiento Local Privado: Almacena datos estrictamente en tu máquina local usando JSON.

  • ⚙️ Configuración Cero: Funciona completamente sin configuración con el empaquetado moderno de Python.

🛠️ Tabla de Tecnologías

Categoría

Tecnología

Propósito

Protocolo

Model Context Protocol (MCP)

Estándar de comunicación de IA a Herramienta

Lenguaje

Python 3.10+

Lógica central y ejecución

SDK

mcp[cli] (FastMCP)

SDK oficial de Anthropic para Python

Gestor de Paquetes

pip / pyproject.toml

Gestión moderna de dependencias

Base de Datos

Archivo JSON Local

Almacenamiento de estado local persistente

⚙️ Cómo Funciona

  1. Invocación de Herramienta: El cliente de IA envía una solicitud JSON-RPC al servidor MCP (por ejemplo, add_task).

  2. Ejecución: El servidor Python analiza el archivo local todos.json.

  3. Modificación: El servidor actualiza el archivo JSON con la nueva tarea y lo guarda.

  4. Respuesta: El servidor devuelve una confirmación de éxito al cliente de IA.

🏗️ Arquitectura del Proyecto

graph LR
    A[AI Assistant] <-->|JSON-RPC via stdio| B[Todo MCP Server]
    B -->|Read/Write| C[(todos.json)]
    B --> D[Tools: add, list, delete, complete]
    B --> E[Resources: todo://summary]

📂 Estructura del Proyecto

├── docs/                      # Learning outcomes and documentation
│   ├── inspector.png
│   └── resend-experience.md
├── src/
│   └── todo_mcp/              # Core MCP server package
│       ├── __init__.py
│       ├── __main__.py        # Execution entrypoint
│       └── server.py          # Tools and resources logic
├── .gitignore
├── pyproject.toml             # Modern Python package configuration
└── README.md

💻 Configuración e Instalación Local

Requisitos Previos

  • Python 3.10 o superior

  • Node.js (para npx si se usa el Inspector)

Instalación

Clona el repositorio e instálalo localmente usando pip:

git clone https://github.com/Arslan-Codes097/todo-list-mcp-server.git
cd todo-list-mcp-server
pip install .

Ejecución Local (Inspector)

Para probar las herramientas en la interfaz interactiva del Inspector MCP:

npx @modelcontextprotocol/inspector python -m todo_mcp

Conexión a un Cliente de IA (Sin Instalación)

La forma más fácil de usar este servidor es mediante uvx. Se descargará y ejecutará automáticamente el servidor sin necesidad de clonar el repositorio manualmente.

Añade lo siguiente al config.json de tu cliente:

{
  "mcpServers": {
    "todo-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/Arslan-Codes097/todo-list-mcp-server.git",
        "python",
        "-m",
        "todo_mcp"
      ]
    }
  }
}

👤 Autor y Créditos

Arslan

Construido como una exploración práctica del Model Context Protocol.

Available Tools

4 tools
add_taskB

Add a new task to the todo list.

NameRequiredDescriptionDefault
taskYes

Output Schema

NameRequiredDescription
resultYes

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden. It states 'Add a new task' but does not disclose permissions, idempotency, duplicate handling, or effects on existing tasks; the output schema exists but is not described in the text. This is a mutation tool with minimal behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no filler, and the key verb/resource are front-loaded. It is appropriately brief for a simple tool, though it could include more context without becoming verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the trivial complexity and presence of an output schema, the description covers the basic purpose. However, with no annotations and no usage guidance, it leaves gaps around behavior and choice among sibling tools; it is minimally adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description adds no meaning beyond the schema's 'task' string titled 'Task'. It does not explain expected format, length, or whether the task string includes status/priority; the single parameter's semantics are only obvious from its name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Add') and resource ('task'), clearly indicating the operation on the todo list. This differentiates it from siblings (complete_task, delete_task, list_tasks) by naming the create action.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given about when to use this tool over alternatives; siblings are listed but no exclusions or context are mentioned. The description only states the action, leaving the agent to infer usage from the tool name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

complete_taskA

Mark a task as completed using its ID (index).

NameRequiredDescriptionDefault
task_idYes

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It states the mutation ('Mark as completed') but does not disclose side effects, idempotency, error behavior on invalid IDs, or prerequisites. Minimal but not misleading, so a low-average score is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, tightly written sentence that immediately conveys purpose and key parameter usage. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter tool with an output schema, the description covers the core action. It omits details like required existence of the task or error handling, but given the simplicity and clear sibling context, it is reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description clarifies that 'task_id' is an ID and also an index, giving practical meaning beyond the integer type. Although schema coverage is 0%, the description compensates sufficiently for the single parameter, though it could add more on valid ranges or required existence.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb 'Mark' + resource 'task' + action 'completed' clearly states the tool's function. The parenthetical 'using its ID (index)' adds the key parameter context. It is easily distinguished from sibling tools like delete_task and add_task.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies that the tool requires an existing task ID, which establishes when to use it. However, it does not explicitly mention when not to use it or suggest alternatives, but the sibling names make the distinctions obvious.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

delete_taskA

Delete a task from the list using its ID.

NameRequiredDescriptionDefault
task_idYes

Output Schema

NameRequiredDescription
resultYes

TDQS

A3.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('Delete') but does not disclose that this is a permanent, destructive operation or whether it requires any prerequisites or has irreversible consequences. The description is minimal and fails to add transparency beyond the action itself.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that immediately states the action and parameter use. There is no wasted wording, and it is front-loaded with the verb 'Delete'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one parameter, obvious action), the description is reasonably complete. It explains what the tool does and how to specify the target. However, it omits any details about return values or potential error cases, though an output schema exists that might cover that. For a straightforward delete, it is adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides only the parameter type (integer) with no description (0% coverage). The description compensates by stating 'using its ID', clarifying that task_id is the identifier of the task to be deleted. This adds meaningful context to the parameter, making it clear how to populate it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Delete a task') and the resource ('from the list'), using 'its ID' to specify the means. It is distinct from sibling tools like add_task, list_tasks, and complete_task, which perform different operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The usage is implied: you use this when you need to permanently remove a task. However, there is no explicit guidance on when to use it versus alternatives, and no mention of prerequisites or exclusions. It does not mislead, but it lacks explicit direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_tasksA

List all tasks in the todo list.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

There are no annotations, so the description carries the behavioral transparency burden. It accurately implies a read-only listing of all tasks, but provides no additional behavioral context such as ordering, pagination, or performance implications. For a zero-parameter list tool this is acceptable, though not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that expresses exactly what the tool does with no wasted words. It is appropriately concise for the tool's simplicity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a very simple zero-parameter tool with an output schema available. The description fully covers its externally visible behavior: it lists all tasks. Given the tool's simplicity and the presence of an output schema, no further contextual detail is required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has zero parameters and schema description coverage is 100%. Since there are no parameters to explain, the description does not need to provide additional parameter semantics; the baseline of 4 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('list'), identifies the resource ('tasks'), and states the scope ('all tasks in the todo list'). It is clearly distinct from the mutating sibling tools complete_task, delete_task, and add_task.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description makes the use case clear: call this to view every task in the todo list. It does not explicitly mention when not to use it, but the distinction from mutating sibling tools is straightforward and unlikely to confuse an agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv0.1.0
    • First observedadd_task
    • First observedcomplete_task
    • First observeddelete_task
    • First observedlist_tasks

TDQS

A4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a distinct purpose: add, list, complete, and delete tasks. There is no ambiguity or overlap between them.

Naming Consistency5/5

All tools follow the consistent verb_noun pattern (add_task, list_tasks, complete_task, delete_task), making the naming predictable and clear.

Tool Count5/5

With just 4 tools, the server is tightly scoped to the core operations of a todo list, and each tool is necessary and sufficient for basic task management.

Completeness5/5

The tools cover the full lifecycle of a todo item: create (add_task), read (list_tasks), update (complete_task), and delete (delete_task). No essential operations are missing for a simple todo list.

Maintenance

ActivityStale
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers