Claude Code Integration
Task Master works seamlessly with Claude Code through multiple integration methods. This guide consolidates all Claude Code setup options in one place.Understanding the Options
Task Master offers three ways to integrate with Claude Code:- MCP Server (Recommended) - Use
task-master-aiMCP server for AI-powered task management - Plugin Marketplace - Install Task Master plugin with slash commands
- Claude Code Provider - Use Claude Code’s local models (no API key needed)
Package naming clarity:
task-master-ai= The MCP server package (what you install vianpx)task-master= The CLI command (what you run in terminal)- These are the same package, just different names for different contexts
Option 1: MCP Server (Recommended)
The MCP server lets Claude Code directly manage your tasks through natural language.Quick Install
What You Get
- Direct task management from Claude Code chat
- AI-powered PRD parsing, task expansion, and complexity analysis
- Natural language task queries and updates
- 7-44 MCP tools (configurable)
Configuration
After installation, add your API keys to.mcp.json:
Tool Loading Modes
Control which tools are loaded to optimize context usage:| Mode | Tools | Use Case |
|---|---|---|
core | 7 | Daily development workflow |
standard | 15 | Common task management |
all | 44+ | Full feature set |
Usage Examples
Once configured, interact with Task Master naturally in Claude Code:Option 2: Plugin Marketplace
The plugin provides 49 slash commands and 3 specialized AI agents for comprehensive task management.Installation
What You Get
- 49 slash commands organized by category
- Quick commands like
/tm:next,/tm:list,/tm:show - Setup commands like
/tm:init,/tm:parse-prd - Workflow automation with
/tm:workflows/*
Quick Start Commands
Option 3: Claude Code Provider
Use Claude Code’s local models for Task Master AI operations (no API key required).Setup
- Install and authenticate Claude Code CLI:
- Configure Task Master to use Claude Code:
.taskmaster/config.json:
Available Models
claude-code/sonnet- Claude 3.5 Sonnetclaude-code/opus- Claude 3 Opus
Benefits
- No API key required (uses your Claude Code authentication)
- Native structured outputs with schema compliance
- Works with all Task Master AI-powered commands
Usage
Once configured, all Task Master commands automatically use Claude Code:Comparison: Which Option Should I Use?
| Feature | MCP Server | Plugin | Provider |
|---|---|---|---|
| Natural language in chat | ✅ Yes | Limited | ❌ No |
| Slash commands | ❌ No | ✅ 49 commands | ❌ No |
| No API key needed | ❌ Requires API key | ❌ Requires API key | ✅ Yes |
| AI-powered operations | ✅ Yes | ✅ Yes | ✅ Yes |
| Context optimization | ✅ Configurable | ✅ Built-in | N/A |
| Best for | Chat-first workflow | Command-first workflow | Cost-conscious users |
Troubleshooting
”0 tools enabled” in MCP settings
Solution: Restart your editor and verify API keys are correctly configured in.mcp.json.
Confusion between task-master-ai and task-master
task-master-aiis the MCP server package name (used in npx commands)task-masteris the CLI command name (used in terminal)- They’re the same package, just different contexts
Claude Code authentication failures
Plugin not appearing
Next Steps
Quick Start Guide
Get started with Task Master in minutes
MCP Tools Reference
Complete MCP tools documentation
Command Reference
All CLI commands
Configuration
Customize Task Master