MCP Integration Overview
Complete guide to Model Context Protocol integration in Task Genius
MCP Integration
Model Context Protocol (MCP) integration transforms Task Genius into an AI-powered task management powerhouse. This comprehensive guide will walk you through everything you need to know about setting up, configuring, and using MCP with your favorite AI tools.
What is MCP?
Model Context Protocol (MCP) is an open standard developed by Anthropic that enables secure, standardized communication between AI assistants and external tools. In Task Genius, MCP allows AI assistants to:
- 📊 Query and analyze your task data with sophisticated filters
- ✨ Create and update tasks with full metadata support
- 🔄 Batch process multiple tasks efficiently
- 📈 Generate insights from your task patterns
- 🤖 Automate workflows based on your preferences
Why Use MCP with Task Genius?
Enhanced Productivity
Instead of manually managing tasks, you can now:
- Ask AI to organize your day based on priorities
- Generate task lists from meeting notes
- Automatically categorize and tag tasks
- Create recurring task templates
Intelligent Task Management
AI can help you:
- Identify overdue tasks and suggest rescheduling
- Find patterns in your productivity
- Recommend task prioritization
- Generate progress reports
🔗 Seamless Integration
MCP works with:
- Claude Desktop - Anthropic's desktop AI assistant
- Cursor - AI-powered code editor
- Claude Code - Command-line AI assistant
- VS Code - With MCP extensions
- Windsurf - AI development environment
- Zed - Modern code editor
- Custom Applications - Via HTTP API
Architecture Overview
Key Components
- MCP Server: Built into Task Genius, runs locally on port 7777
- Authentication: Token-based security with app ID verification
- Task API: Comprehensive CRUD operations for task management
- Dataflow Integration: Direct connection to Task Genius's task system
- Real-time Sync: Changes reflect immediately in Obsidian
Security Model
Task Genius implements multiple security layers:
Authentication
- Bearer Token: Unique, auto-generated authentication token
- App ID: Vault-specific identifier for additional security
- Combined Auth: Support for both separate and combined authentication headers
Access Control
- Local-only by default: Server binds to 127.0.0.1
- Optional network access: Can be configured for remote access
- CORS support: Configurable for web-based clients
Security Best Practices
- Never share your authentication token
- Use local-only mode unless absolutely necessary
- Regularly regenerate tokens if exposed
- Monitor server logs for unauthorized access attempts
Available Operations
Task Genius MCP provides 25+ tools organized into categories:
Query Operations
query_tasks
- Advanced search with filtersquery_project_tasks
- Get tasks by projectquery_context_tasks
- Get tasks by contextquery_by_priority
- Filter by priority levelquery_by_due_date
- Find tasks in date rangessearch_tasks
- Full-text search
Create Operations
create_task
- Create single taskcreate_task_in_daily_note
- Add to today's notebatch_create_tasks
- Create multiple tasksbatch_create_subtasks
- Add subtasks
Update Operations
update_task
- Modify task propertiesupdate_task_status
- Change completionbatch_update_task_status
- Bulk status changespostpone_tasks
- Reschedule tasks
Management Operations
list_all_metadata
- Get tags, projects, contextslist_tasks_for_period
- Get tasks by time perioddelete_task
- Remove tasks
Quick Start
Step 1: Enable MCP
Or manually:
- Open Obsidian Settings
- Navigate to Task Genius → MCP Integration
- Toggle "Enable MCP Server" ON
Step 2: Note Your Credentials
After enabling, you'll see:
- Server URL:
http://127.0.0.1:7777/mcp
- Auth Token: Auto-generated secure token
- App ID: Your vault's unique identifier
Step 3: Configure Your AI Client
Choose your AI tool and follow the specific configuration guide:
🖱️ Cursor
One-click setup with deeplink
🖥️ Claude Desktop
Native desktop integration
⌨️ Claude Code
Command-line interface
📝 VS Code
Editor integration
Step 4: Test Connection
What's Next?
- Client Configuration - Detailed setup for each AI tool
- API Reference - Complete tool documentation
- Use Cases - Practical examples and workflows
- Troubleshooting - Common issues and solutions
System Requirements
- Obsidian: Version 0.15.2 or higher
- Task Genius: Version 9.0.0 or higher
- Platform: Desktop only (Windows, macOS, Linux)
- Network: Local network access (configurable)
- Port: 7777 (configurable)
Getting Help
If you encounter issues:
- Check the Troubleshooting Guide
- Review server logs in Obsidian console (
Ctrl+Shift+I
) - Test connection using the built-in tester
- Join our Discord community
- Report bugs on GitHub
Pro Tip: Start with local-only mode and basic queries before exploring advanced features. This helps you understand the system while maintaining security.