mcp-tasks-demo
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-tasks-demo
A tiny MCP server in TypeScript, built for the Code With Stan video "MCP explained".
It keeps tasks in a local JSON file and shows all three MCP primitives:
Primitive | Name | What it does |
Tool |
| Adds a task |
Resource |
| Returns open tasks as JSON |
Prompt |
| Drafts a standup from open tasks |
Built on the MCP spec revision 2026-07-28 with the TypeScript SDK v2 (@modelcontextprotocol/server 2.4.0).
Run it
npm install
npm run client # 2026-07-28 client: no handshake, _meta on every request
npm run client:legacy # 2025-era client: initialize handshakeBoth clients print every message on the wire (>> sent, << received). The same server answers both.
Related MCP server: task-manager-mcp
Connect to Claude Code
claude mcp add tasks -- npx tsx "/absolute/path/to/mcp-tasks-demo/src/server.ts"Then run /mcp in Claude Code to check the connection. Type @ to attach tasks://open, and / to find the standup prompt.
Tasks are stored in ./tasks.json by default. Set TASKS_FILE to change the location.
Two things worth knowing
stdio and the new spec. Wiring
StdioServerTransportby hand serves the 2025 protocol.serveStdio(createServer)serves2026-07-28and still answers older clients.stdout is for MCP messages only. Log to stderr (
console.error), never stdout.
Links
MCP specification: https://modelcontextprotocol.io/specification/2026-07-28
TypeScript SDK: https://github.com/modelcontextprotocol/typescript-sdk
Claude Code MCP docs: https://code.claude.com/docs/en/mcp
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Remote MCP server for notes, tasks, kanban boards and docs - the Slates agentic workspace
MCP server for Google Tasks: review, plan and tidy your tasks by asking. Deletes always ask first.
Related MCP Servers
- AlicenseBqualityDmaintenanceProduction-ready TypeScript MCP server exposing utility, GitHub, and Microsoft Teams tools over stdio.141MIT
- FlicenseNot gradedqualityDmaintenanceA task manager MCP server that demonstrates all three MCP primitives (tools, resources, prompts). Enables users to manage tasks, read task summaries and details, and run structured planning/review prompts through natural language.-
- 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
- FlicenseCqualityDmaintenanceA simple MCP server for managing tasks via a local JSON file, demonstrating resources, tools, and prompts for task reading, creation, and analysis.1-