# Task Master (MCP Server)

> AI-powered task management from PRDs for coding agents

- Type: MCP server
- Publisher: Eyal Toledano (official)
- Categories: Development, Productivity
- Website: https://github.com/eyaltoledano/claude-task-master
- Source: https://github.com/eyaltoledano/claude-task-master
- Transport: stdio
- Launch command: npx -y task-master-ai
- Sign-in: api-key
- Environment variables: ANTHROPIC_API_KEY, PERPLEXITY_API_KEY, TASK_MASTER_TOOLS
- GitHub stars: 28123
- Listed: 2025-03-04

## About

Task Master parses product requirement documents into structured tasks with dependencies, then helps agents pick, expand and complete them. Supports multiple AI providers and selectable tool tiers via TASK_MASTER_TOOLS.

## Install

1. **Add the server to Codex**

   Codex CLI:

   ```bash
   codex mcp add task-master --env ANTHROPIC_API_KEY=YOUR_ANTHROPIC_API_KEY --env PERPLEXITY_API_KEY=YOUR_PERPLEXITY_API_KEY --env TASK_MASTER_TOOLS=YOUR_TASK_MASTER_TOOLS -- npx -y task-master-ai
   ```

   config.toml:

   ```toml
   [mcp_servers.task-master]
   command = "npx"
   args = ["-y", "task-master-ai"]
   
   [mcp_servers.task-master.env]
   ANTHROPIC_API_KEY = "YOUR_ANTHROPIC_API_KEY"
   PERPLEXITY_API_KEY = "YOUR_PERPLEXITY_API_KEY"
   TASK_MASTER_TOOLS = "YOUR_TASK_MASTER_TOOLS"
   ```

   Agents SDK:

   ```python
   from agents import Agent, Runner
   from agents.mcp import MCPServerStdio
   
   async with MCPServerStdio(
       name="Task Master",
       params={"command": "npx", "args": ["-y", "task-master-ai"]},
   ) as server:
       agent = Agent(name="Assistant", mcp_servers=[server])
       result = await Runner.run(agent, "Parse my PRD at .taskmaster/docs/prd.txt into tasks")
       print(result.final_output)
   ```

## Tools

- `get_tasks`
- `get_task`
- `next_task`
- `set_task_status`
- `parse_prd`
- `expand_task`
- `update_subtask`
- `initialize_project`
- `analyze_project_complexity`
- `expand_all`
- `add_task`
- `research`

## Example prompts

- "Parse my PRD at .taskmaster/docs/prd.txt into tasks"
- "What's the next task I should work on?"
- "Expand task 4 into subtasks"
- "Mark task 2 as done"

## Related

- [Chrome DevTools MCP](https://chatgptplugins.directory/mcp/chrome-devtools.md): Let coding agents control and debug a live Chrome browser
- [Playwright MCP](https://chatgptplugins.directory/mcp/playwright.md): Browser automation for agents via Playwright accessibility snapshots
- [GitHub](https://chatgptplugins.directory/mcp/github.md): Manage repos, issues, pull requests and Actions from your AI agent
- [Context7](https://chatgptplugins.directory/mcp/context7.md): Pull up-to-date, version-specific library docs into your coding agent
- [Notion](https://chatgptplugins.directory/mcp/notion.md): Search, read, and write Notion pages, databases, and comments via hosted MCP
- [Excalidraw](https://chatgptplugins.directory/mcp/excalidraw.md): Draw hand-drawn Excalidraw diagrams live inside ChatGPT, Claude and VS Code

---
Source: https://chatgptplugins.directory/mcp/task-master · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
