Skip to main content
Glama
Task Tracker MCP Server

Task Tracker MCP Server

Task Tracker MCP Server

A comprehensive task tracking and management system accessible via the Model Context Protocol (MCP). Features projects, tags, priorities, full-text search, and analytics—all designed to work seamlessly with Claude Code and other MCP-compatible tools.

Features

✅ Task Management: Create, update, delete, and track tasks with priorities and due dates ✅ Projects: Organize tasks into projects ✅ Tags: Categorize and filter tasks with custom tags ✅ Full-Text Search: Search across task titles and descriptions ✅ Analytics: View completion rates, overdue tasks, and productivity metrics ✅ SQLite Backend: Local data storage with FTS5 full-text search ✅ Configurable Port: Run on any available port ✅ Docker Support: Easy containerization and deployment ✅ Cross-Platform: Works on Windows, Linux, macOS, and WSL

Related MCP server: Personal Task Manager MCP

Quick Start

Option 1: From Docker Hub (Easiest - No Setup)

Pre-built images are available on Docker Hub at ywatanabe/task-tracker.

Any machine (Windows, macOS, Linux, WSL):

# Pull and run the latest image
docker run -p 8000:8000 ywatanabe/task-tracker:latest

# Or specify a version
docker run -p 8000:8000 ywatanabe/task-tracker:1.0.0

# Or use docker-compose
docker run -d -p 8000:8000 ywatanabe/task-tracker:latest

That's it! No cloning, no installation, no dependencies. The server runs immediately.

Option 2: Local Installation

# Clone the repository
git clone https://github.com/yoshiwatanabe/task-tracker-mcp.git
cd task-tracker-mcp

# Install in development mode
pip install -e .

# Run the server
python -m task_tracker_mcp.server

Option 3: Docker (Local Build)

# Clone repository
git clone https://github.com/yoshiwatanabe/task-tracker-mcp.git
cd task-tracker-mcp

# Build and run with Docker Compose
docker-compose up -d

# Or manually build and run
docker build -t task-tracker:latest .
docker run -p 8000:8000 task-tracker:latest

Option 4: Custom Port

# Local with custom port
TASK_TRACKER_MCP_PORT=9000 python -m task_tracker_mcp.server

# Docker Hub image with custom port
docker run -e TASK_TRACKER_MCP_PORT=9000 -p 9000:9000 ywatanabe/task-tracker:latest

# Local Docker with custom port
docker run -e TASK_TRACKER_MCP_PORT=9000 -p 9000:9000 task-tracker:latest

# Docker Compose with custom port
# Edit docker-compose.yml, update TASK_TRACKER_MCP_PORT and ports
docker-compose up -d

Configuration

Quick Configuration

Before running with docker-compose, create a .env file from the example:

cp .env.example .env
# Edit .env to customize port, host, transport mode, etc.

Transport Modes

The server supports multiple transport modes for different use cases:

Transport

Use Case

Configuration

stdio (default)

Local Claude Code integration

No config needed

http

Docker daemon, remote access

MCP_TRANSPORT=http

streamable-http

Production scaling

MCP_TRANSPORT=streamable-http

Transport Mode Examples

Stdio (Claude Code)

python -m task_tracker_mcp.server

HTTP (Docker daemon)

MCP_TRANSPORT=http python -m task_tracker_mcp.server
# Server runs on http://0.0.0.0:8000

Custom port

MCP_TRANSPORT=http TASK_TRACKER_MCP_PORT=9000 python -m task_tracker_mcp.server

Environment Variables

All configuration is done via environment variables in .env:

  • MCP_TRANSPORT (default: http) - Transport mode: stdio, http, streamable-http

  • MCP_HOST (default: 0.0.0.0) - Host to bind to (only for HTTP transports)

  • TASK_TRACKER_MCP_PORT (default: 8000) - Port the server listens on (for HTTP transports)

  • DOCKER_PORT (default: 8000) - Port on your host machine (maps to container's MCP_PORT)

  • PYTHONUNBUFFERED (default: 1) - Show Python logs in real-time

Example .env configurations:

# Default (port 8000)
DOCKER_PORT=8000
TASK_TRACKER_MCP_PORT=8000
MCP_TRANSPORT=http

# Custom port (use 9000 instead)
DOCKER_PORT=9000
TASK_TRACKER_MCP_PORT=9000
MCP_TRANSPORT=http

# Multiple instances (one on 8000, another on 8001)
# .env.instance1
DOCKER_PORT=8000
TASK_TRACKER_MCP_PORT=8000

# .env.instance2
DOCKER_PORT=8001
TASK_TRACKER_MCP_PORT=8001
# Then: docker-compose --env-file .env.instance2 up -d

Database

  • Location: tasks.db (created automatically in current directory)

  • Type: SQLite with FTS5 full-text search

  • Schema: Includes tables for tasks, projects, tags, and relationships

MCP Server Tools

The server exposes 35+ tools for task management:

Task Operations

  • create_task - Create new task

  • get_task - Get task by ID

  • list_tasks - List all tasks with pagination

  • update_task - Update task properties

  • delete_task - Delete task

  • search_tasks - Full-text search

  • filter_tasks - Filter by status, priority, project, or tag

Project Operations

  • create_project - Create project

  • get_project - Get project details

  • list_projects - List all projects

  • update_project - Update project

  • delete_project - Delete project

  • get_project_tasks - Get tasks for a project

Tag Management

  • add_tag - Add tag to task

  • remove_tag - Remove tag from task

  • list_tags - List all tags

Analytics

  • task_statistics - Get task statistics

  • get_overdue_tasks - Get overdue tasks

Resources

  • task://all - All tasks

  • task://pending - Pending tasks

  • task://high-priority - High-priority tasks

  • project://all - All projects

  • stats://summary - Statistics summary

Prompts (Workflows)

  • daily-review - Daily task review workflow

  • weekly-planning - Weekly planning workflow

  • project-summary - Project summary (with project_id parameter)

  • overdue-analysis - Overdue tasks analysis

Integration with Claude Code

In your Claude Code project, create .mcp.json:

{
  "mcpServers": {
    "task-tracker": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "ywatanabe/task-tracker:latest"]
    }
  }
}

Benefits:

  • ✅ No installation needed

  • ✅ Works on Windows, macOS, Linux, WSL

  • ✅ Container starts when Claude Code needs it

  • ✅ Container stops automatically when done

  • ✅ Always uses latest version from Docker Hub

Requirements: Docker Desktop installed

Note: This option uses stdio transport (ephemeral containers). For a persistent background daemon, see Option 4 below.


Option 2: Local Python Installation

If you prefer to run locally without Docker:

{
  "mcpServers": {
    "task-tracker": {
      "command": "python",
      "args": ["-m", "task_tracker_mcp.server"]
    }
  }
}

Requirements: Python 3.11+ with pip install -e .


Option 3: Docker with Custom Configuration

For advanced Docker deployments:

# Run with custom port
docker run -d -p 9000:9000 \
  -e MCP_TRANSPORT=http \
  -e TASK_TRACKER_MCP_PORT=9000 \
  ywatanabe/task-tracker:latest

Requirements: Docker Desktop installed


Option 4: HTTP-Based Docker Daemon (Persistent Background Service)

For a persistent background service accessible from multiple Claude Code projects or directly via HTTP:

Start the daemon:

# First, configure your .env file (copy from .env.example)
cp .env.example .env
# Edit .env to customize ports and settings if needed

# Then start with docker-compose (loads .env automatically)
docker-compose up -d

# Or manually with environment variables
docker run -d -p 8000:8000 \
  -e MCP_TRANSPORT=http \
  -e MCP_HOST=0.0.0.0 \
  -e TASK_TRACKER_MCP_PORT=8000 \
  ywatanabe/task-tracker:latest

Configure Claude Code (.mcp.json):

{
  "mcpServers": {
    "task-tracker": {
      "type": "http",
      "url": "http://localhost:8000"
    }
  }
}

Verify it's running:

docker-compose ps  # Should show "Up" status, not "Restarting"
curl http://localhost:8000  # Verify HTTP endpoint is responding

Benefits:

  • ✅ Runs as persistent daemon (no container restart loops)

  • ✅ Accessible from multiple Claude Code projects simultaneously

  • ✅ Standard HTTP endpoint for programmatic access

  • ✅ Better for development environments

  • ✅ Easy debugging with docker-compose logs

Requirements: Docker Desktop installed

Note: This is the recommended approach for development when you want a persistent background service.

2. Using with Skills

Create a skill in .github/skills/task-organizer/SKILL.md that references this server:

---
name: task-organizer
description: Track and manage tasks using the task-tracker MCP server
---

# Task Organizer Skill

This skill provides task management capabilities via the task-tracker MCP server...

Development

Running Tests

pytest tests/

Code Style

# Format code
black src/

# Lint code
ruff check src/

Architecture

task-tracker-mcp/
├── src/task_tracker_mcp/
│   ├── __init__.py
│   ├── server.py              # FastMCP server with tool definitions
│   ├── database.py            # SQLite database operations
│   └── schema.sql             # Database schema
├── tests/
│   └── test_server.py
├── Dockerfile
├── docker-compose.yml
├── pyproject.toml
└── README.md

Database Schema

Tasks Table

  • id - Primary key

  • title - Task title (required)

  • description - Task description

  • status - pending, in_progress, completed, blocked

  • priority - low, medium, high

  • project_id - Associated project

  • due_date - Due date (YYYY-MM-DD format)

  • created_at - Creation timestamp

  • updated_at - Last update timestamp

Projects Table

  • id - Primary key

  • name - Project name

  • description - Project description

  • created_at - Creation timestamp

  • updated_at - Last update timestamp

Tags Table

  • id - Primary key

  • name - Tag name

  • task_id - Associated task

Performance Notes

  • Full-Text Search: Uses FTS5 for fast text searching

  • Pagination: Default limit of 50 items, supports custom offset

  • Database: SQLite with async support (aiosqlite)

  • Concurrency: Handles concurrent requests with async/await

Deployment Options

Local Development

python -m task_tracker_mcp.server

Docker Container

docker run -p 8000:8000 your-username/task-tracker:latest

Kubernetes / Cloud

apiVersion: v1
kind: Pod
metadata:
  name: task-tracker
spec:
  containers:
  - name: task-tracker
    image: your-username/task-tracker:latest
    ports:
    - containerPort: 8000
    env:
    - name: TASK_TRACKER_MCP_PORT
      value: "8000"

Troubleshooting

Port Already in Use

# Check which process is using the port
lsof -i :8000

# Use different port
TASK_TRACKER_MCP_PORT=9000 python -m task_tracker_mcp.server

Permission Denied (Docker)

# Ensure Docker is running
docker ps

# Check Docker daemon
sudo systemctl start docker

Database Locked

# This usually indicates concurrent access issues
# Restart the server and ensure only one instance is running

Cross-Platform Usage

Windows (Native)

python -m task_tracker_mcp.server

Windows (Docker Desktop)

docker run -p 8000:8000 task-tracker:latest

WSL2 (Ubuntu)

# Access Windows Docker from WSL
docker run -p 8000:8000 task-tracker:latest

# Or access Windows server from WSL
python -m task_tracker_mcp.server  # on Windows
# Then in WSL: use http://host.docker.internal:8000 or Windows IP

macOS / Linux

python -m task_tracker_mcp.server
# or
docker run -p 8000:8000 task-tracker:latest

Dependencies

  • mcp >= 1.1.2 - Model Context Protocol

  • aiosqlite >= 0.20.0 - Async SQLite support

  • Python >= 3.11

License

MIT License - See LICENSE file for details

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

Roadmap

  • HTTP/SSE transport support

  • PostgreSQL backend option

  • Multi-user support

  • Time tracking

  • Recurring tasks

  • Task templates

  • Integrations (Slack, Discord, etc.)

Support

For issues, questions, or suggestions, please open an issue on GitHub.


Ready to use? Start with the Quick Start section above, or integrate with Claude Code using the configuration examples provided.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      AI-driven task management application that operates via MCP, enabling autonomous creation, organization, and execution of tasks with support for subtasks, priorities, and progress tracking.
      2
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables natural language interaction with Taskwarrior tasks through the MCP. Supports project-scoped task management including adding, searching, modifying, completing, and annotating tasks.
      -