MCP Troubleshooting & FAQ
Solutions to common issues and frequently asked questions
This guide helps you resolve common issues with Task Genius MCP integration and answers frequently asked questions.
Quick Diagnostics
Before troubleshooting, run these checks:
Step 1: Verify Server Status
Look for:
- [MCP Test] Server running (green indicator)
- [MCP Test] Port number displayed
- [MCP Test] No error messages
Step 2: Test Connection
Expected result:
Step 3: Check Logs
Open Obsidian Developer Console:
- Windows/Linux:
Ctrl + Shift + I
- macOS:
Cmd + Option + I
Look for entries starting with [MCP Test]
Common Issues
Server Won't Start
Symptoms
- Red "Stopped" indicator in settings
- "Failed to start server" error
- No response from health endpoint
Solutions
1. Port Already in Use
Check if port 7777 is occupied:
Fix:
- Kill the process using the port, OR
- Change to a different port in settings, OR
- Use "Next Available Port" button
2. Permission Issues
On macOS/Linux:
3. Firewall Blocking
- Add Obsidian to firewall exceptions
- Allow localhost connections (127.0.0.1)
- For network access, allow port 7777
4. Plugin Not Fully Loaded
- Disable Task Genius plugin
- Restart Obsidian
- Enable Task Genius plugin
- Wait 5 seconds before enabling MCP
Authentication Failures
Symptoms
- "Unauthorized" errors
- "Invalid token" messages
- Session not established
Solutions
1. Token Format Issues
Check your token format:
❌ Wrong:
✅ Correct:
2. Token Expired or Changed
Then update all client configurations.
3. Missing App ID
Ensure your App ID is included:
4. Header Configuration
Verify headers in your client:
Method A (Separate):
Method B (Combined):
Connection Issues
Symptoms
- "Connection refused" errors
- Timeouts
- "Cannot reach server"
Solutions
1. Server Not Running
Check and restart:
- Open MCP settings
- Toggle server OFF
- Wait 2 seconds
- Toggle server ON
- Check status indicator
2. Network Configuration
For local access:
For network access:
3. Client URL Issues
Common mistakes:
❌ Wrong:
http://localhost:7777/mcp/
(trailing slash)https://127.0.0.1:7777/mcp
(HTTPS not supported)http://127.0.0.1:7777
(missing /mcp)
✅ Correct:
http://127.0.0.1:7777/mcp
http://192.168.1.100:7777/mcp
(for network)
4. Proxy/VPN Interference
- Disable VPN temporarily
- Check proxy settings
- Use direct connection
Tool Execution Errors
Symptoms
- "Tool not found" errors
- "Invalid parameters"
- Unexpected results
Solutions
1. Session Not Initialized
Always initialize first:
2. Missing Session ID
Include session ID in subsequent requests:
3. Parameter Validation
Check parameter types:
❌ Wrong:
✅ Correct:
4. Tool Name Typos
Use exact tool names:
- ✅
query_tasks
(correct) - ❌
queryTasks
(wrong) - ❌
query-tasks
(wrong)
Performance Issues
Symptoms
- Slow responses
- Timeouts
- High CPU usage
Solutions
1. Large Result Sets
Always use limits:
2. Inefficient Queries
Optimize your filters:
❌ Inefficient:
✅ Efficient:
3. Indexing Issues
Rebuild task index:
- Settings → Task Genius → Index & Sources
- Click "Rebuild Index"
- Wait for completion
- Restart MCP server
4. Memory Management
For large vaults:
- Increase Obsidian memory limit
- Close unused plugins
- Restart Obsidian periodically
Platform-Specific Issues
macOS
Issue: Security Warnings
Solution:
Issue: Port Binding Failed
Solution:
Windows
Issue: Windows Defender Blocking
Solution:
- Windows Security → Firewall & network protection
- Allow an app through firewall
- Add Obsidian.exe
- Check both Private and Public
Issue: PowerShell Execution Policy
For Claude Desktop/CLI tools:
Linux
Issue: Permission Denied
Solution:
Issue: SELinux Blocking
Solution:
Client-Specific Issues
Cursor
Issue: Configuration Not Loading
- Verify config file location
- Check JSON syntax
- Restart Cursor
- Clear Cursor cache
Claude Desktop
Issue: Curl Command Failing
Test manually:
Common fixes:
- Install/update curl
- Check PATH variable
- Use full curl path
VS Code
Issue: Extension Not Recognizing MCP
- Update VS Code
- Reinstall MCP extension
- Check workspace settings
- Verify configuration scope
Frequently Asked Questions
General
Q: Is MCP secure?
A: Yes, MCP uses token-based authentication and runs locally by default. For additional security:
- Keep tokens secret
- Use local-only mode
- Regenerate tokens periodically
- Monitor access logs
Q: Can I use MCP on mobile?
A: No, MCP requires desktop Obsidian due to technical limitations of mobile platforms.
Q: Does MCP work offline?
A: Yes, MCP runs entirely locally. Internet is only needed for AI services (Claude, ChatGPT, etc.).
Q: Can multiple AI tools connect simultaneously?
A: Yes, multiple clients can connect to the same MCP server. Each gets its own session.
Configuration
Q: How do I change the port?
A: Settings → MCP Integration → Port → Enter new number → Restart server
Q: Can I run multiple MCP servers?
A: Yes, for different vaults:
- Use different ports (7777, 7778, etc.)
- Each vault has unique tokens
- Configure clients separately
Q: Should I use Method A or Method B authentication?
A: Method B (combined Bearer) is recommended for simplicity. Use Method A if your client doesn't support combined headers.
Q: How do I allow remote access?
A: Change host from 127.0.0.1
to 0.0.0.0
and ensure firewall allows the port. ⚠️ Understand security implications first.
Usage
Q: Why are my queries slow?
A: Common causes:
- Large vault (10,000+ tasks)
- No query limits
- Inefficient filters
- Index needs rebuilding
Q: Can I modify task files directly?
A: Yes, MCP modifications are the same as manual edits. Files update in real-time.
Q: What happens if Obsidian crashes?
A: MCP server stops with Obsidian. Restart Obsidian and re-enable MCP. No data is lost.
Q: How do I backup my MCP configuration?
A: Configuration is stored in Obsidian settings. Backup:
.obsidian/plugins/obsidian-task-genius/data.json
- Client configuration files
Limits
Q: What are the rate limits?
A: No hard limits, but recommended:
- Max 100 requests/second
- Result sets < 1000 items
- Batch operations < 500 items
Q: Maximum task content length?
A:
- Task content: 10,000 characters
- Tags: 50 per task
- File path: 260 characters (OS limit)
Q: How many concurrent connections?
A: Theoretical: Unlimited Practical: 10-20 for optimal performance
Debug Commands
Test Basic Connectivity
Test Authentication
Test Tool Execution
Enable Debug Logging
In MCP settings, set Log Level to "Debug", then check console:
Getting Help
If these solutions don't resolve your issue:
-
Gather Information:
- Obsidian version
- Task Genius version
- Error messages
- Console logs
- Steps to reproduce
-
Check Resources:
-
Report Issue:
- Use GitHub issue template
- Include diagnostic info
- Describe expected vs actual behavior
- Attach relevant logs
Security Note: When sharing logs or configuration, always redact authentication tokens and sensitive information.
Recovery Procedures
Reset MCP Configuration
- Disable MCP server
- Close Obsidian
- Delete MCP cache:
.obsidian/plugins/obsidian-task-genius/.mcp-cache
- Restart Obsidian
- Re-enable MCP
- Regenerate token
- Reconfigure clients
Full Plugin Reset
If all else fails:
- Export your settings (backup
data.json
) - Disable Task Genius
- Delete plugin folder
- Reinstall Task Genius
- Import settings
- Re-enable MCP
Remember: MCP is a powerful feature but still in active development. Report bugs to help improve it for everyone!