Cursor Configuration
Setup guide for Cursor with Task Genius MCP
This guide shows you how to configure Cursor to work with your Task Genius tasks.
Prerequisites
- Cursor installed
- Task Genius MCP server enabled in Obsidian
- Your authentication credentials from Task Genius settings
One-Click Installation (Recommended)
The easiest way to configure Cursor is using the automatic deeplink installation:
Step 1: Open MCP Settings
Step 2: Find Cursor Section
Navigate to the "Client Configuration" section and locate Cursor.
Step 3: Click Install
Click the "Add to Cursor" button. This will:
- Open Cursor automatically
- Add the Task Genius MCP server
- Configure authentication
- Verify the connection
Manual Configuration
Cursor supports multiple configuration methods for MCP servers.
Method 1: Using mcp.json (Recommended)
Project-specific Configuration
Create .cursor/mcp.json
in your project root:
Global Configuration
For system-wide access, create ~/.cursor/mcp.json
:
Method 2: Environment Variables
Store credentials securely using environment variables:
Step 2: Get Your Credentials
Copy:
- Authentication Token
- App ID
Step 3: Apply Configuration
- Replace
YOUR_TOKEN
andYOUR_APP_ID
with actual values - Save the mcp.json file
- Restart Cursor or reload the window
Transport Methods
Task Genius MCP server uses HTTP transport, which Cursor fully supports:
- HTTP: Best for Task Genius integration
- SSE: Alternative for real-time updates (if configured)
- stdio: Not applicable for Task Genius
Extension API (Advanced)
For programmatic registration, Cursor provides an extension API:
This is useful for:
- Enterprise deployments
- Automated setup workflows
- Dynamic configuration
Advanced Configuration
Multiple Vaults
Configure multiple Obsidian vaults with different ports:
Remote Access
For accessing Task Genius from another machine:
Using Task Genius in Cursor
Composer Agent Integration
The Composer Agent automatically uses Task Genius tools when relevant. Simply describe what you need:
Tool Management
Toggling Tools
Enable or disable Task Genius tools directly in chat:
- Click tool names in the Available Tools list
- Disabled tools won't be loaded into context
Tool Approval
By default, Cursor asks for approval before using MCP tools:
- Click the arrow next to tool name to see arguments
- Approve individual operations
- Enable auto-run for trusted operations
Auto-run Mode
For faster workflow, enable auto-run:
- Tools execute without asking for permission
- Similar to terminal command auto-execution
- Configure in Cursor settings
Troubleshooting
Connection Failed
If Cursor can't connect to Task Genius:
-
Verify server is running:
-
Check authentication:
- Ensure token is correct
- Verify App ID is included
- Try regenerating token
-
Test with curl:
Tools Not Available
If MCP tools don't appear in Cursor:
- Restart Cursor after configuration changes
- Check logs in Cursor's developer console
- Verify configuration syntax is correct
- Ensure MCP server is enabled in Obsidian
Authentication Errors
Common authentication issues:
Error | Solution |
---|---|
"Invalid token" | Regenerate token in Obsidian settings |
"Missing app ID" | Ensure format is Bearer TOKEN+APPID |
"Unauthorized" | Check token hasn't expired or changed |
Performance Issues
For better performance:
- Use specific queries instead of broad requests
- Limit results for large vaults
- Enable caching if available in your Cursor version
Security Considerations
When using Task Genius with Cursor:
- Verify the source: Task Genius is an official Obsidian plugin
- Review permissions: MCP only accesses your task data
- Limit API access: Use local-only mode when possible
- Secure credentials: Never share or commit tokens
Best Practices
-
Configuration Location:
- Use project-specific
.cursor/mcp.json
for vault-specific tasks - Use global
~/.cursor/mcp.json
for personal task management
- Use project-specific
-
Authentication:
- Store tokens in environment variables when possible
- Regenerate tokens periodically
- Use separate tokens for different vaults
-
Usage:
- Be specific in queries for better results
- Use tool toggling to control which operations are available
- Enable auto-run only for trusted operations
Example Workflows
Daily Review
Project Management
Quick Capture
Next Steps
- Explore Task Genius use cases for workflow ideas
- Check the API reference for all available operations
- Configure other clients like Claude Code
- See troubleshooting guide if you encounter issues
Quick Tip: Start with simple queries like "show today's tasks" to get familiar with Task Genius in Cursor.