docs: auto-update documentation based on changes in next branch

This PR was automatically generated to update documentation based on recent changes.

  Original commit: feat: add MCP timeout configuration for long-running operations (#1112)\n\n\n

  Co-authored-by: Claude <claude-assistant@anthropic.com>
This commit is contained in:
github-actions[bot]
2025-09-22 18:02:09 +00:00
parent d67b81d25d
commit 7d76d72adc
4 changed files with 133 additions and 0 deletions

View File

@@ -66,6 +66,32 @@ Taskmaster uses two primary methods for configuration:
- **Location:**
- For CLI usage: Create a `.env` file in your project root.
- For MCP/Cursor usage: Configure keys in the `env` section of your `.cursor/mcp.json` file.
## MCP Timeout Configuration
For MCP usage, it's important to configure appropriate timeouts for long-running AI operations:
```json
{
"mcpServers": {
"task-master-ai": {
"command": "npx",
"args": ["-y", "task-master-ai"],
"timeout": 300,
"env": {
"ANTHROPIC_API_KEY": "your-api-key-here"
}
}
}
}
```
**Key points:**
- **Default MCP timeout**: 60 seconds (often insufficient for AI operations)
- **Recommended timeout**: 300 seconds (5 minutes)
- **Operations that benefit**: `parse_prd`, `expand_task`, `analyze_project_complexity`, `research`
- **Automatic setup**: Included when using `task-master rules add` for supported editors
- **Required API Keys (Depending on configured providers):**
- `ANTHROPIC_API_KEY`: Your Anthropic API key.
- `PERPLEXITY_API_KEY`: Your Perplexity API key.