Documentation Index
Fetch the complete documentation index at: https://docs.task-master.dev/llms.txt
Use this file to discover all available pages before exploring further.
Required Configuration
Task Master requires an Anthropic API key to function. Add this to your You can obtain an API key from the Anthropic Console.
.env file:Optional Configuration
| Variable | Default Value | Description | Example |
|---|---|---|---|
MODEL | "claude-3-7-sonnet-20250219" | Claude model to use | MODEL=claude-3-opus-20240229 |
MAX_TOKENS | "4000" | Maximum tokens for responses | MAX_TOKENS=8000 |
TEMPERATURE | "0.7" | Temperature for model responses | TEMPERATURE=0.5 |
DEBUG | "false" | Enable debug logging | DEBUG=true |
LOG_LEVEL | "info" | Console output level | LOG_LEVEL=debug |
DEFAULT_SUBTASKS | "3" | Default subtask count | DEFAULT_SUBTASKS=5 |
DEFAULT_PRIORITY | "medium" | Default priority | DEFAULT_PRIORITY=high |
PROJECT_NAME | "MCP SaaS MVP" | Project name in metadata | PROJECT_NAME=My Awesome Project |
PROJECT_VERSION | "1.0.0" | Version in metadata | PROJECT_VERSION=2.1.0 |
PERPLEXITY_API_KEY | - | For research-backed features | PERPLEXITY_API_KEY=pplx-... |
PERPLEXITY_MODEL | "sonar-medium-online" | Perplexity model | PERPLEXITY_MODEL=sonar-large-online |
TDD Workflow Configuration
Additional options for autonomous TDD workflow:| Variable | Default | Description |
|---|---|---|
TM_MAX_ATTEMPTS | 3 | Max attempts per subtask before marking blocked |
TM_AUTO_COMMIT | true | Auto-commit after GREEN phase |
TM_PROJECT_ROOT | Current dir | Default project root |
Example .env File
Troubleshooting
If task-master init doesn’t respond:
Try running it with Node directly:
For advanced configuration options and detailed customization, see our [Advanced Configuration Guide] page.