Created by Tyler Walker (@wtyler2505) & Claude
This guide covers the integration of external services, MCP servers, and IDE configurations for CCDK i124q.
- Task Master AI Integration
- MCP Server Configuration
- IDE-Specific Setup
- API Key Management
- Troubleshooting
Task Master AI provides comprehensive project and task management capabilities through MCP protocol.
Task Master is integrated via MCP configuration. No separate installation required.
-
Initialize Task Master in your project:
task-master init
-
Configure AI models:
task-master models --setup
-
Parse PRD document (if available):
task-master parse-prd .taskmaster/docs/prd.txt
- Task Management: Create, update, and track development tasks
- AI-Powered Expansion: Break down complex tasks into subtasks
- Dependency Tracking: Manage task dependencies and prerequisites
- Complexity Analysis: Analyze and score task complexity
- Research Mode: Enhanced task generation with web research
// Project setup
initialize_project() // Initialize Task Master
parse_prd() // Generate tasks from PRD
// Daily workflow
get_tasks() // List all tasks
next_task() // Get next available task
set_task_status() // Update task status
// Task management
add_task() // Create new task
expand_task() // Break into subtasks
update_task() // Modify task details
// Analysis
analyze_project_complexity() // Complexity scoring
complexity_report() // View analysisCCDK i124q supports multiple MCP servers for enhanced functionality:
- Task Master AI - Project and task management
- Context7 - Real-time library documentation
- Gemini Assistant - Architectural consultation
- Custom MCP Servers - Additional integrations
Add to .claude/mcp.json:
{
"mcpServers": {
"task-master-ai": {
"command": "npx",
"args": ["-y", "--package=task-master-ai", "task-master-ai"],
"env": {
"ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
"PERPLEXITY_API_KEY": "${PERPLEXITY_API_KEY}",
"OPENAI_API_KEY": "${OPENAI_API_KEY}"
}
},
"context7": {
"command": "npx",
"args": ["-y", "@upstash/mcp-server-context7"],
"env": {
"UPSTASH_VECTOR_REST_URL": "${UPSTASH_VECTOR_REST_URL}",
"UPSTASH_VECTOR_REST_TOKEN": "${UPSTASH_VECTOR_REST_TOKEN}"
}
},
"gemini-assistant": {
"command": "npx",
"args": ["-y", "mcp-gemini-assistant"],
"env": {
"GOOGLE_API_KEY": "${GOOGLE_API_KEY}"
}
}
}
}Set these in your shell profile or .env file:
# Core AI Providers
export ANTHROPIC_API_KEY="your-key-here"
export OPENAI_API_KEY="your-key-here"
export GOOGLE_API_KEY="your-key-here"
# Research & Analysis
export PERPLEXITY_API_KEY="your-key-here"
# Context7 (if using)
export UPSTASH_VECTOR_REST_URL="your-url-here"
export UPSTASH_VECTOR_REST_TOKEN="your-token-here"
# Additional Providers (optional)
export XAI_API_KEY="your-key-here"
export MISTRAL_API_KEY="your-key-here"
export OPENROUTER_API_KEY="your-key-here"CCDK i124q provides configurations for multiple IDE tools that support MCP.
Configuration location: .cursor/mcp.json
{
"mcpServers": {
"task-master-ai": {
"command": "npx",
"args": ["-y", "--package=task-master-ai", "task-master-ai"],
"env": {
// API keys configuration
}
}
}
}Configuration location: .windsurf/mcp.json
Similar structure to Cursor configuration.
Configuration location: .roo/mcp.json
Similar structure to Cursor configuration.
While VSCode doesn't natively support MCP, you can use:
- Claude Code CLI for terminal-based interaction
- Custom extensions that implement MCP protocol
At minimum, you need one of these for basic functionality:
ANTHROPIC_API_KEY(Recommended for Claude models)OPENAI_API_KEY(For GPT models)GOOGLE_API_KEY(For Gemini models)
For full functionality:
PERPLEXITY_API_KEY- Enables research mode in Task MasterGOOGLE_API_KEY- Enables Gemini consultations- Context7 credentials - For real-time documentation
-
Never commit API keys:
# Add to .gitignore .env .env.local *.key
-
Use environment variables:
# .env.example (commit this) ANTHROPIC_API_KEY=your-key-here # .env (don't commit this) ANTHROPIC_API_KEY=sk-ant-...
-
Rotate keys regularly:
- Set up key rotation reminders
- Use separate keys for development/production
- Monitor usage for anomalies
-
Use the security hook:
- The
mcp-security-scanhook prevents accidental key exposure - Automatically scans before external AI calls
- The
Task Master uses three model roles:
- Main Model - Primary task generation/updates
- Research Model - Web-enhanced operations
- Fallback Model - Backup when primary fails
Interactive setup:
task-master models --setupManual configuration:
# Set specific models
task-master models --set-main claude-3-5-sonnet-20241022
task-master models --set-research perplexity-llama-3.1-sonar-large-128k-online
task-master models --set-fallback gpt-4o-miniThe model_router.json file defines available models:
{
"providers": {
"anthropic": {
"models": [
"claude-sonnet-4-20250514",
"claude-opus-4-20250514"
]
},
"openai": {
"models": ["gpt-4o-mini"]
}
},
"default": "anthropic:claude-sonnet-4-20250514"
}-
Install CCDK i124q:
git clone https://github.com/wtyler2505/Claude-Code-Development-Kit-i124q.git cd Claude-Code-Development-Kit-i124q ./setup.sh -
Configure environment:
cp .env.example .env # Edit .env with your API keys -
Initialize Task Master:
task-master init
-
Configure MCP servers:
# Copy appropriate config for your IDE cp .cursor/mcp.json ~/.cursor/mcp.json
-
Start Claude Code:
claude
-
Check next task:
/full-context "show next task from Task Master" -
Work on implementation:
/swarm-run "implement task requirements" -
Update documentation:
/update-docs "document implementation"
# Start persistent session
/hive-start feature-auth
# Work across multiple terminals
# Terminal 1: Backend work
# Terminal 2: Frontend work
# Terminal 3: Testing
# Check status
/hive-status# Start analytics server
python dashboard/app.py
# View at http://localhost:5000# Start web interface
/webui-start
# Access at http://localhost:7000-
Check MCP configuration:
cat ~/.claude/mcp.json -
Verify Node.js installation:
node --version # Should be 18+ npm --version -
Test MCP server:
npx -y --package=task-master-ai task-master-ai
-
Enable debug mode:
claude --mcp-debug
-
Verify environment variables:
echo $ANTHROPIC_API_KEY
-
Check key permissions:
- Ensure keys have necessary scopes
- Verify billing is active
-
Test with CLI:
task-master models # Should show configured models
-
Reinitialize if needed:
task-master init --force
-
Fix dependencies:
task-master fix-dependencies
-
Regenerate task files:
task-master generate
-
Check hook logs:
ls -la logs/ cat logs/hooks.log
-
Disable problematic hooks: Edit
.claude/settings.jsonand remove hook entry -
Test hooks individually:
node .claude/hooks/test-runner.js
- Start with core features - Don't enable everything at once
- Monitor API usage - Set up billing alerts
- Use research mode sparingly - It consumes more tokens
- Keep documentation current - Use
/update-docsregularly - Leverage hive sessions - For complex multi-part features
- Review analytics - Identify bottlenecks and optimize
Integration guide maintained by Tyler Walker (@wtyler2505) & Claude