2025-04-09 00:16:43 +02:00
# Task Master [](https://github.com/eyaltoledano/claude-task-master/stargazers)
2025-03-28 20:38:53 +01:00
2025-04-25 01:05:57 +02:00
[](https://github.com/eyaltoledano/claude-task-master/actions/workflows/ci.yml) [](https://badge.fury.io/js/task-master-ai) [](https://discord.gg/2ms58QJjqp) [](LICENSE)
2025-03-04 13:55:17 -05:00
2025-04-09 00:16:43 +02:00
### By [@eyaltoledano](https://x.com/eyaltoledano) & [@RalphEcom](https://x.com/RalphEcom)
2025-03-04 13:55:17 -05:00
2025-04-09 00:16:43 +02:00
[](https://x.com/eyaltoledano)
[](https://x.com/RalphEcom)
2025-03-31 17:09:31 +02:00
2025-04-09 00:16:43 +02:00
A task management system for AI-driven development with Claude, designed to work seamlessly with Cursor AI.
2025-03-31 17:09:31 +02:00
2025-04-09 00:16:43 +02:00
## Requirements
2025-03-31 17:09:31 +02:00
2025-04-09 00:16:43 +02:00
- Anthropic API key (Claude API)
- OpenAI SDK (for Perplexity API integration, optional)
2025-03-31 17:09:31 +02:00
2025-04-09 00:16:43 +02:00
## Quick Start
2025-03-31 17:09:31 +02:00
2025-04-09 00:16:43 +02:00
### Option 1 | MCP (Recommended):
2025-03-31 17:09:31 +02:00
2025-04-09 00:16:43 +02:00
MCP (Model Control Protocol) provides the easiest way to get started with Task Master directly in your editor.
2025-03-31 17:09:31 +02:00
2025-04-17 19:30:30 +02:00
1. **Add the MCP config to your editor** (Cursor recommended, but it works with other text editors):
2025-03-22 02:42:46 -04:00
2025-04-09 00:16:43 +02:00
```json
{
2025-04-09 00:25:27 +02:00
"mcpServers": {
"taskmaster-ai": {
"command": "npx",
2025-04-23 02:00:27 +02:00
"args": ["-y", "--package=task-master-ai", "task-master-ai"],
2025-04-09 00:25:27 +02:00
"env": {
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
"MODEL": "claude-3-7-sonnet-20250219",
"PERPLEXITY_MODEL": "sonar-pro",
2025-04-19 09:42:16 -04:00
"MAX_TOKENS": "64000",
"TEMPERATURE": "0.2",
"DEFAULT_SUBTASKS": "5",
2025-04-09 00:25:27 +02:00
"DEFAULT_PRIORITY": "medium"
}
}
}
2025-04-09 00:16:43 +02:00
}
```
2025-03-22 02:42:46 -04:00
2025-04-09 00:16:43 +02:00
2. **Enable the MCP** in your editor
2025-03-22 02:42:46 -04:00
2025-04-09 00:16:43 +02:00
3. **Prompt the AI** to initialize Task Master:
2025-03-22 02:42:46 -04:00
2025-04-09 00:16:43 +02:00
```
Can you please initialize taskmaster-ai into my project?
```
2025-03-28 20:38:53 +01:00
2025-04-09 00:16:43 +02:00
4. **Use common commands** directly through your AI assistant:
2025-03-22 02:42:46 -04:00
2025-04-09 00:16:43 +02:00
```txt
Can you parse my PRD at scripts/prd.txt?
What's the next task I should work on?
Can you help me implement task 3?
Can you help me expand task 4?
```
2025-03-28 20:38:53 +01:00
2025-04-09 00:16:43 +02:00
### Option 2: Using Command Line
2025-03-24 21:18:49 -04:00
2025-04-09 00:16:43 +02:00
#### Installation
2025-03-24 21:18:49 -04:00
```bash
# Install globally
npm install -g task-master-ai
# OR install locally within your project
npm install task-master-ai
```
2025-04-09 00:16:43 +02:00
#### Initialize a new project
2025-03-24 21:18:49 -04:00
```bash
# If installed globally
task-master init
# If installed locally
npx task-master-init
```
This will prompt you for project details and set up a new project with the necessary files and structure.
2025-04-09 00:16:43 +02:00
#### Common Commands
2025-03-24 21:18:49 -04:00
```bash
# Initialize a new project
task-master init
# Parse a PRD and generate tasks
task-master parse-prd your-prd.txt
# List all tasks
task-master list
# Show the next task to work on
task-master next
# Generate task files
task-master generate
```
2025-04-09 00:16:43 +02:00
## Documentation
For more detailed information, check out the documentation in the `docs` directory:
- [Configuration Guide ](docs/configuration.md ) - Set up environment variables and customize Task Master
- [Tutorial ](docs/tutorial.md ) - Step-by-step guide to getting started with Task Master
- [Command Reference ](docs/command-reference.md ) - Complete list of all available commands
- [Task Structure ](docs/task-structure.md ) - Understanding the task format and features
- [Example Interactions ](docs/examples.md ) - Common Cursor AI interaction examples
2025-03-24 21:18:49 -04:00
## Troubleshooting
### If `task-master init` doesn't respond:
Try running it with Node directly:
```bash
node node_modules/claude-task-master/scripts/init.js
```
Or clone the repository and run:
```bash
git clone https://github.com/eyaltoledano/claude-task-master.git
cd claude-task-master
node scripts/init.js
```
2025-04-09 14:25:59 +02:00
## Contributors
< a href = "https://github.com/eyaltoledano/claude-task-master/graphs/contributors" >
< img src = "https://contrib.rocks/image?repo=eyaltoledano/claude-task-master" alt = "Task Master project contributors" / >
< / a >
2025-04-09 00:16:43 +02:00
## Star History
2025-03-22 02:42:46 -04:00
2025-04-09 00:16:43 +02:00
[](https://www.star-history.com/#eyaltoledano/claude -task-master& Timeline)
2025-03-22 02:42:46 -04:00
2025-04-09 00:16:43 +02:00
## Licensing
2025-03-22 02:42:46 -04:00
2025-04-09 00:16:43 +02:00
Task Master is licensed under the MIT License with Commons Clause. This means you can:
2025-03-28 20:38:53 +01:00
2025-04-09 00:16:43 +02:00
✅ **Allowed** :
2025-03-22 02:42:46 -04:00
2025-04-09 00:16:43 +02:00
- Use Task Master for any purpose (personal, commercial, academic)
- Modify the code
- Distribute copies
- Create and sell products built using Task Master
2025-03-28 20:38:53 +01:00
2025-04-09 00:16:43 +02:00
❌ **Not Allowed** :
2025-03-04 13:55:17 -05:00
2025-04-09 00:16:43 +02:00
- Sell Task Master itself
- Offer Task Master as a hosted service
- Create competing products based on Task Master
2025-03-28 20:38:53 +01:00
2025-04-09 00:16:43 +02:00
See the [LICENSE ](LICENSE ) file for the complete license text and [licensing details ](docs/licensing.md ) for more information.