Skip to main content
Glama
cchanquispe08-blip

mcp-todo-server

mcp-todo-server

Basic MCP (Model Context Protocol) server that exposes a to-do list, implemented in TypeScript with the official @modelcontextprotocol/sdk.

Extra Class Assignment 1 — Programming IV — Model Context Protocol.

Exposed capabilities

Type

Name

Description

Resource

tasks://list

Returns the complete list of tasks stored in tasks.json

Tool

add_task

Adds a new task (name, description, priority)

Tool

complete_task

Marks an existing task as completed, given its ID

Prompt

daily_summary

Generates a summary template of the current state of the tasks

Related MCP server: MCP Todo Server

Project structure

mcp-todo-server/
├── src/
│   └── server.ts       # Servidor MCP principal
├── tasks.json           # Almacenamiento de tareas (base de datos simple)
├── tsconfig.json        # Configuración de TypeScript
├── package.json
└── README.md

Requirements

  • Node.js 18 or higher

  • npm

Installation

npm install

This installs the dependencies: @modelcontextprotocol/sdk, zod (schema validation), and as development dependencies typescript, @types/node, and tsx.

Execution

Development mode (runs the TypeScript directly, without compiling):

npm run dev

Production mode (compiles to JavaScript and then runs):

npm run build
npm start

The server communicates via stdio (standard input/output), which is the transport used by Claude Desktop and most local MCP clients. When it starts correctly you will see in the terminal:

Servidor MCP 'mcp-todo-server' corriendo por stdio...

That message goes out through stderr on purpose, so as not to interfere with the JSON-RPC messages that go through stdout.

How to test it without a graphical client

You can use the official MCP Inspector, which opens a web interface to invoke Resources, Tools, and Prompts by hand:

npx @modelcontextprotocol/inspector npx tsx src/server.ts

Example usage of each capability

Read the tasks resource → returns the tasks array from tasks.json in JSON format.

Tool add_task, arguments:

{ "name": "Repasar JSON-RPC", "description": "Leer la especificación 2.0", "priority": "media" }

Tool complete_task, arguments:

{ "id": 1 }

Prompt daily_summary takes no arguments: it automatically builds a summary with the pending and completed tasks, grouped by priority.

Author

Camila — National University of Costa Rica, Programming IV.

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • A basic MCP server to operate on the Postman API.

  • MCP server for generating rough-draft project plans from natural-language prompts.

  • A MCP server built for developers enabling Git based project management with project and personal…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cchanquispe08-blip/mcp-todo-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server