Task Tracker MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Task Tracker MCP Server Add a task to buy groceries"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ Task Tracker MCP Server
A practical Model Context Protocol (MCP) server built in Python using FastMCP and managed with uv. This server provides AI assistants (like Claude Desktop, Cursor, Antigravity, etc.) with structured task management capabilities.
๐ Overview
The Model Context Protocol (MCP) is an open standard that allows LLMs and AI applications to interact safely and seamlessly with external tools and data sources.
This project implements the three core MCP primitives:
๐ ๏ธ Tools: Callable functions allowing the model to perform actions (
add_task,complete_task,delete_task).๐ฆ Resources: Read-only data URIs allowing the model to inspect state (
tasks://all,tasks://pending).๐ก Prompts: Predefined prompt templates that guide the AI to perform complex workflows (e.g., task analysis & prioritization).
flowchart LR
Host["AI Host / Application<br/>(Claude Desktop / Cursor / Antigravity)"]
Client["MCP Client<br/>(Protocol Handler)"]
Server["Task Tracker MCP Server<br/>(FastMCP)"]
Host <--> Client
Client <--> Server
subgraph ServerCapabilities ["Server Capabilities"]
Tools["๐ ๏ธ Tools<br/>add_task, complete_task, delete_task"]
Resources["๐ฆ Resources<br/>tasks://all, tasks://pending"]
Prompts["๐ก Prompts<br/>task_summary_prompt"]
end
Server --- ServerCapabilitiesRelated MCP server: MCP Task Management Server
๐ Features & MCP Primitives
1. Tools (Actions)
Tool | Arguments | Description |
|
| Adds a new task with a unique ID and ISO timestamp. |
|
| Marks a task status as |
|
| Removes a task by ID and returns the deleted object. |
2. Resources (Read-Only Data)
Resource URI | Description |
| Formats and returns all tasks with emojis ( |
| Filters and returns only active/pending tasks. |
3. Prompts (Guided Workflows)
Prompt | Description |
| Guides the AI assistant to analyze pending vs completed tasks, identify overdue items, and recommend next actions using |
๐ฆ Getting Started with uv
This project is built and managed with uv, an extremely fast Python package and project manager written in Rust by Astral.
1. Install uv
macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | shWindows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Verify installation:
uv --version2. Clone and Setup Repository
git clone https://github.com/<your-username>/task-tracker-mcp.git
cd task-tracker-mcp3. Install Dependencies
uv will automatically create a virtual environment (.venv) and install all required dependencies:
uv sync๐งช Testing the Server
You can run the built-in async client (test_client.py) which exercises every tool, resource, and prompt:
uv run test_client.pyExpected Output:
๐ Starting FastMCP Test Client...
==================================================
1. Listing Available Tools:
Found 3 tools: ['add_task', 'complete_task', 'delete_task']
2. Calling 'add_task' Tool:
Task 1 Response: {"id":1,"title":"Learn MCP", ...}
Task 2 Response: {"id":2,"title":"Master uv", ...}
3. Listing Available Resources:
Found 2 resources: [AnyUrl('tasks://all'), AnyUrl('tasks://pending')]
4. Reading 'tasks://all' Resource:
Current Tasks:
โณ [1] Learn MCP
โณ [2] Master uv
5. Completing Task ID 1:
Completed Result: {"id":1, "status":"completed", ...}
6. Reading 'tasks://pending' Resource:
Pending Tasks:
โณ [2] Master uv
7. Listing Available Prompts:
Found 1 prompts: ['task_summary_prompt']
8. Deleting Task ID 2:
Delete Result: {"success": true, "deleted": {"id": 2, ...}}
==================================================
โจ All MCP Server tests completed successfully!๐ Connecting & Inspecting
1. FastMCP CLI Inspector & Dev Tools
FastMCP 3.x provides built-in CLI commands to inspect and debug your server:
Interactive Web Inspector:
uv run fastmcp dev inspector task_server.pyInspect Server Summary:
uv run fastmcp inspect task_server.pyList All Tools:
uv run fastmcp list task_server.pyRun Standalone Server:
uv run fastmcp run task_server.py
2. Claude Desktop Integration
Add the server configuration to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"task-tracker": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/task-tracker-mcp",
"run",
"task_server.py"
]
}
}
}๐ Project Structure
Task Tracker MCP/
โโโ pyproject.toml # Dependency & project metadata (managed by uv)
โโโ task_server.py # MCP Server definitions (tools, resources, prompts)
โโโ test_client.py # FastMCP async automated test client
โโโ src/
โ โโโ task_tracker_mcp/ # Python package entrypoint
โ โโโ __init__.py
โโโ .python-version # Locked Python version
โโโ .gitignore # Python & uv exclusions
โโโ README.md # Documentation๐ก Key uv Commands Cheat Sheet
Command | Description |
| Initialize a new Python project with |
| Add a dependency to |
| Remove a dependency |
| Run any Python script within the isolated project environment |
| Sync installed packages with |
| Create a virtual environment explicitly |
๐ ๏ธ Next Steps & Extensions
Persistent Storage: Replace in-memory list with SQLite via
aiosqliteorsqlite3.Priority & Due Dates: Add task priority flags (
low,medium,high) and due date filters.Search Tool: Add a
search_tasks(query: str)tool to search title and descriptions.Authentication: Secure endpoints with FastMCP auth providers.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
Available Tools
3 toolsadd_taskC
Add a new task to the task list.
Inputs: title (required), description. Returns: object
complete_taskC
Mark a task as completed.
Inputs: task_id (required). Returns: object
delete_taskC
Delete a task from the list.
Inputs: task_id (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 3 tools
Each tool targets a clearly distinct action on a task: add, delete, complete. There is no overlap or ambiguity between them, so an agent can easily select the right tool.
All three tools follow the exact same verb_noun snake_case pattern (add_task, delete_task, complete_task). Naming is fully predictable.
Three tools is a reasonable, well-scoped set for a minimal task tracker, and each earns its place. It is slightly thin, since a small surface like this leaves little room for the read/lifecycle operations expected of the domain.
The set covers create, delete, and a status update, but there is no way to list or retrieve tasks, which is arguably the most essential operation for a tracker. This is a notable gap that will leave agents unable to inspect the task list.
Related MCP Connectors
Read and write your own Microsoft To Do, Google Tasks or Todoist tasks from any AI agent.
Manage tasks, Focus Zone, notes, projects, and task history from compatible AI assistants.
AI-powered to-do list: add, list, complete and organise tasks across lists from any assistant.
AI-native task management: list, create, update and archive tasks with rich context for AI agents
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Tasks, including listing, creating, updating, deleting, and completing tasks via the Google Tasks API.53 npm1MIT
- AlicenseAqualityDmaintenanceEnables comprehensive task management with groups, custom statuses, and task relationships, designed for AI assistants to manage tasks during conversations.17ISC
- AlicenseAqualityDmaintenanceEnables AI assistants to manage a todo list with add, list, complete, and delete tasks.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables to manage to-do items through natural language, with tools for creating, reading, updating, and deleting tasks.ISC