Task-based workflow management for AI agents via Model Context Protocol (MCP).
mcp-tasks enables you to manage development tasks in markdown files and have AI agents execute them. Unlike todo tools, mcp-tasks integrates task planning with execution—agents don't just track tasks, they complete them.
Key Benefits:
For a deeper understanding, see Introduction to mcp-tasks.
Install native binaries (recommended):
# Unix (Linux/macOS)
curl -sL https://raw.githubusercontent.com/hugoduncan/mcp-tasks/master/install | bash
This installs:
mcp-tasks CLI for terminal task managementmcp-tasks-server MCP server for AI agent integrationNote: Windows native binaries are not currently supported due to file locking complexities. Windows users can use the Clojure git dependency installation method (see Installation Guide).
See Installation Guide for alternative installation methods (Clojure git dependency, building from source).
Install Claude Code Skill (Optional):
claude skill add plugins/mcp-tasks-skill
The skill provides:
Alternative for non-Claude agents: Add @plugins/mcp-tasks-skill/skills/story-and-tasks/SKILL.md to your agent's context file for similar guidance.
Configure Claude Code:
claude mcp add mcp-tasks -- /usr/local/bin/mcp-tasks-server
Initialize task directories in your project:
mkdir -p .mcp-tasks/prompts
# Optional: Initialize as git repository for version control
cd .mcp-tasks && git init && git commit --allow-empty -m "Initialize task tracking" && cd ..
Create a task:
Ask your AI agent:
Create a simple category task to add README badges for build status
The agent will use the add-task tool and return a task-id (e.g., 123).
Execute the task:
/mcp-tasks:execute-task 123
The agent will:
Review:
# Check what was completed
git log -1 --stat
# View completed tasks using select-tasks tool in Claude Code
Tasks: A unit of work an agent can complete without exceeding its context limits. Stored as EDN records with fields: :id, :category, :title, :description, :status, :type, :design, :meta, :relations.
Categories: Task organization by type/workflow. Each category has a prompt file (e.g., .mcp-tasks/prompts/simple.md) defining execution steps. Built-in categories include simple, medium, large.
Stories: Large features broken down into multiple related tasks. Story workflows include refinement, task creation, and sequential execution.
Prompts: MCP prompts that guide agents through task execution (e.g., /mcp-tasks:category-simple). Each category has a corresponding prompt.
See Glossary and Workflow Documentation for complete details.
# Ask agent to create tasks
"Create a simple task to add user profile endpoint"
# Agent uses add-task tool, returns task-id: 123
"Create a medium task to fix memory leak in worker process"
# Agent uses add-task tool, returns task-id: 124
# Execute specific tasks by ID (direct control over execution order)
/mcp-tasks:execute-task 124 # Agent fixes bug, commits
/mcp-tasks:execute-task 123 # Agent adds endpoint, commits
# Check completion history in .mcp-tasks/complete.ednl
# Add tasks using add-task tool in Claude Code
# category: "feature", title: "Add user profile endpoint"
# category: "bugfix", title: "Fix memory leak in worker process"
# Execute by category (sequential processing from queue)
/mcp-tasks:category-bugfix # Agent fixes bug, commits
/mcp-tasks:category-feature # Agent adds endpoint, commits
# Check completion history in .mcp-tasks/complete.ednl
# Create a story using add-task tool
# category: "large", type: "story"
# title: "User Authentication System"
# description: "Implement JWT-based authentication..."
# Refine the story interactively
/mcp-tasks:refine-task "User Authentication System"
# Break down into tasks
/mcp-tasks:create-story-tasks "User Authentication System"
# Execute tasks sequentially
/mcp-tasks:execute-story-task "User Authentication System"
See Workflow Documentation for advanced patterns including git worktrees and parallel task execution.
Status: Alpha. Core functionality stable; API may evolve.
License: EPL-2.0 (see LICENSE file)
Issues & Feedback: https://github.com/hugoduncan/mcp-tasks/issues
Changelog: CHANGELOG.md
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |