OmniFocus MCP Plus
Provides automation tools for OmniFocus 4, a task management application for the Apple ecosystem, enabling management of tasks, projects, and perspectives via the Model Context Protocol.
Integrates with the OmniFocus 4 application on macOS to provide comprehensive task management, project and folder organization, tag CRUD operations, and advanced filtering capabilities using AppleScript and OmniJS.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OmniFocus MCP Pluslist all overdue tasks in my Home Renovation project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OmniFocus MCP Plus
A comprehensive MCP server for OmniFocus 4 with 50 tools covering task management, project/folder/tag CRUD, GTD review workflow, analytics, custom perspectives (including rule editing), attachments, notifications, and advanced filtering — plus MCP prompts, resources, tool annotations, and a Claude Code skill.
Originally forked from jqlts1/omnifocus-mcp-enhanced. Additional tools inspired by vitalyrodnenko/OmnifocusMCP.
Installation
Requires macOS with OmniFocus 4 and Node.js 18+.
From Source
git clone https://github.com/psufka/omnifocus-mcp-plus.git
cd omnifocus-mcp-plus
npm install && npm run build
npm test # all tests should pass
claude mcp add omnifocus -- node "$(pwd)/dist/server.js"Restart Claude Code to pick up the new server.
Related MCP server: OmniFocus MCP Enhanced
Tools (50)
Task Management
Tool | Description |
| Add a new task with dates, tags, project, parent task |
| Edit task/project: rename, dates, flags, status, tags, move |
| Remove a task or project (duplicate-name safe) |
| Move task to project, parent task, or inbox |
| Duplicate a task with note, dates, flags, tags; optionally into a different project |
| Get task details by ID or name |
| List children (subtasks), optionally recursive for full hierarchy |
| Mark a task as completed |
| Mark a completed task as incomplete |
| Set/clear repeating schedule — structured fields ("2nd Tuesday monthly") or raw iCal RRULE |
| Append text to a task or project note |
| Add multiple tasks/projects in one call — tempId hierarchy, dryRun, atomic rollback |
| Remove multiple items in one call (dryRun supported) |
| Move multiple tasks to a destination in one call (dryRun supported) |
| Reorder task within its container: before/after sibling, or beginning/ending |
| Promote a task (with subtasks, tags, note) into a project |
| Duplicate detection before create — ranked similarity matches with ids |
| List/read/add/remove file attachments on a task or project |
Task Queries
Tool | Description |
| Advanced filtering: status, all date fields, folder tree, tags, regex, and/or/not clauses, countOnly, paging |
| One search across tasks, projects, folders, and tags |
| Evidence-only analytics: health snapshot, velocity, overdue clusters, stalled projects |
| Get inbox tasks |
| Get flagged tasks with optional project filter |
| Get due/deferred tasks in date range |
| Get tasks by tag name |
| Get tasks completed today |
| Aggregate counts: total, available, completed, overdue, due soon, flagged |
| Get tasks from a custom perspective |
| List all custom perspectives (includeRules returns their filter rules) |
| Edit a custom perspective's filter rules — validated, read-back verified, undo-able |
| Full database export |
Notifications
Tool | Description |
| List all notifications (reminders) on a task |
| Add absolute or relative notification to a task |
| Remove a notification by index |
Projects
Tool | Description |
| Create a new project |
| List/filter projects by folder, status, stalled state |
| Search projects by name |
| Aggregate counts by status |
| GTD review workflow: list due, mark reviewed (batch-capable), set schedule |
App Control
Tool | Description |
| Sync, undo/redo (confirm-gated), window focus get/set/clear, reveal an item |
Folders
Tool | Description |
| List all folders with project counts |
| Get folder details including projects and subfolders |
| Create a folder, optionally nested |
| Update folder name or status |
| Delete a folder (and all projects inside it) |
Tags
Tool | Description |
| List tags with task counts, filter by status |
| Search tags by name |
| Create a tag, optionally nested |
| Update tag name or status |
| Delete a tag |
MCP Surface & Environment
Beyond tools, the server exposes 4 prompts (weekly_review, inbox_processing, daily_planning, task_health_scan — surfaced as slash commands in Claude Code), 4 resources (omnifocus://inbox, today, flagged, stats), tool annotations (readOnly/destructive/idempotent hints on all 50 tools), and handshake instructions that steer clients toward the cheap tools. A Claude Code skill lives at docs/skills/omnifocus/ (install: ln -s "$(pwd)/docs/skills/omnifocus" ~/.claude/skills/omnifocus).
Environment variables: OMNIFOCUS_MCP_MAX_CONCURRENT (concurrent osascript processes, default 2, range 1–8 — OmniFocus serializes Apple Events on one thread), OMNIFOCUS_SCRIPT_TIMEOUT_MS (default 120000), OMNIFOCUS_SCRIPT_MAX_OUTPUT_BYTES (default 50MB).
Usage Examples
All tools are called automatically by Claude via MCP. The examples below show the tool parameters for common operations.
Tasks
Add a task with a due date and tags:
{
"name": "Review quarterly report",
"dueDate": "2026-03-15T17:00:00-05:00",
"tags": ["Work", "Urgent"],
"projectName": "Q1 Review"
}Set a task to repeat every weekday:
{
"task_id": "abc123",
"rule_string": "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR",
"schedule_type": "regularly"
}Set a task to repeat 3 days after completion:
{
"task_id": "abc123",
"rule_string": "FREQ=DAILY;INTERVAL=3",
"schedule_type": "from_completion"
}Append to a task's note (without overwriting):
{
"object_type": "task",
"object_id": "abc123",
"text": "\nUpdated 2026-03-10: waiting on response"
}Projects
List stalled projects (active but stuck):
{ "stalledOnly": true }List projects in a folder sorted by remaining tasks:
{
"folder": "Work",
"status": "active",
"sortBy": "remainingTaskCount",
"sortOrder": "desc"
}Folders & Tags
Create a nested folder:
{ "name": "Q2 Projects", "parent": "Work" }Create a nested tag:
{ "name": "Urgent", "parent": "Priority" }Put a tag on hold:
{ "name_or_id": "Waiting", "status": "on_hold" }Filtering
Get overdue tasks in a specific project:
{
"overdue": true,
"projectFilter": "Home Renovation"
}Get tasks due this week with a specific tag:
{
"dueThisWeek": true,
"tagFilter": "Work"
}Date Format
All dates must use full ISO 8601 with timezone offset. Bare dates like 2026-03-15 resolve to UTC midnight and display as the wrong day in local time.
"2026-03-15T17:00:00-05:00" (CDT)
"2026-03-15T17:00:00-06:00" (CST)RRULE Reference
The set_task_repetition tool uses iCal RRULE syntax:
Pattern | RRULE |
Daily |
|
Every 3 days |
|
Weekly on Mon/Wed/Fri |
|
Biweekly |
|
Monthly on the 1st |
|
Yearly |
|
Architecture
All tools use OmniJS via JXA — inline JavaScript executed inside OmniFocus via runOmniJs(). No AppleScript escaping issues, native access to all OmniJS APIs. Query tools use external .js scripts in src/utils/omnifocusScripts/ loaded via executeOmniFocusScript(). The core task/project CRUD tools (add, edit, remove) were migrated from AppleScript to OmniJS in v0.3.0.
Changelog
Current version: 0.5.1. See CHANGELOG.md for the full release history.
Known Limitations
Parameter injection in
executeOmniFocusScriptis fragile — Uses regex replacement for query scripts. CRUD tools use direct JSON injection viarunOmniJs()instead.Notification API — Relative notification offset retrieval may not work on all OmniFocus versions. Absolute notifications are fully supported.
Contributing
PRs welcome! All tools use OmniJS — write inline JavaScript that runs inside OmniFocus via runOmniJs(). No escaping issues, full access to the OmniJS API. See src/tools/primitives/folderTools.ts for examples.
To add a new tool:
Create a primitive in
src/tools/primitives/yourTool.tsCreate a definition in
src/tools/definitions/yourTool.ts(Zod schema + handler)Register in
src/server.tsnpm run build && npm test
Credits
jqlts1/omnifocus-mcp-enhanced — original MCP server with perspective support
vitalyrodnenko/OmnifocusMCP — reference implementation for folder/tag CRUD, project listing, and OmniJS patterns
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables automation and management of OmniFocus tasks, projects, and tags using natural language and programmable interfaces from VS Code, command line, or any MCP-compatible client.12MIT
- AlicenseAqualityAmaintenanceEnhanced Model Context Protocol server that transforms OmniFocus into an AI-powered productivity tool with comprehensive task management capabilities including subtask support, perspective views, advanced filtering, and custom perspective access.2516157MIT
- AlicenseAqualityFmaintenanceAn MCP server that provides full read/write access to OmniFocus, enabling AI assistants to manage tasks, projects, folders, tags, and perspectives via 51 tools, resources, and prompts.512520MIT
- FlicenseNot gradedqualityBmaintenanceA production-grade MCP server that exposes OmniFocus as structured task infrastructure for AI agents, enabling read, write, and filter operations on tasks and projects via natural language.6
Related MCP Connectors
36 MCP tools for projects, tasks, workers, QR/NFC tags, and AI remediation. Task. Scan. Done.
MCP server for generating rough-draft project plans from natural-language prompts.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/psufka/omnifocus-mcp-plus'
If you have feedback or need assistance with the MCP directory API, please join our Discord server