Task Tracker MCP Server

Task Tracker MCP Server

Enables AI assistants to manage tasks with tools for adding, completing, and deleting tasks, and resources for viewing all or pending tasks.

Category
Visit Server

README

๐Ÿ“‹ Task Tracker MCP Server

Python 3.10+ FastMCP uv License: MIT

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 --- ServerCapabilities

๐Ÿš€ Features & MCP Primitives

1. Tools (Actions)

Tool Arguments Description
add_task title: str, description: str = "" Adds a new task with a unique ID and ISO timestamp.
complete_task task_id: int Marks a task status as "completed" and adds a completion timestamp.
delete_task task_id: int Removes a task by ID and returns the deleted object.

2. Resources (Read-Only Data)

Resource URI Description
tasks://all Formats and returns all tasks with emojis (โœ… for completed, โณ for pending).
tasks://pending Filters and returns only active/pending tasks.

3. Prompts (Guided Workflows)

Prompt Description
task_summary_prompt Guides the AI assistant to analyze pending vs completed tasks, identify overdue items, and recommend next actions using tasks://all.

๐Ÿ“ฆ 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 | sh

Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Verify installation:

uv --version

2. Clone and Setup Repository

git clone https://github.com/<your-username>/task-tracker-mcp.git
cd task-tracker-mcp

3. 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.py

Expected 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.py
    
  • Inspect Server Summary:
    uv run fastmcp inspect task_server.py
    
  • List All Tools:
    uv run fastmcp list task_server.py
    
  • Run 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
uv init Initialize a new Python project with pyproject.toml
uv add <pkg> Add a dependency to pyproject.toml and install it in .venv
uv remove <pkg> Remove a dependency
uv run <script.py> Run any Python script within the isolated project environment
uv sync Sync installed packages with uv.lock
uv venv Create a virtual environment explicitly

๐Ÿ› ๏ธ Next Steps & Extensions

  • [ ] Persistent Storage: Replace in-memory list with SQLite via aiosqlite or sqlite3.
  • [ ] 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured