OmniFocus MCP
Click on "Deploy 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 What tasks are due today?"
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
Python MCP server for OmniFocus on macOS. It talks to the running app through OmniJS (evaluateJavascript), not AppleScript, and is designed so an AI assistant can plan, capture, and organize work without dumping the whole database into context.
It covers the functionality of OmniFocus MCP Enhanced and makes improvements where they were needed: tool selection, date handling, large-database reads, mixed read/write annotations, and unsafe deletes.
Improvements over OmniFocus MCP Enhanced
Area | Enhanced | This server |
Runtime | Node / | Python 3.11+, stdio |
Database dump |
| Not exposed. |
Dates | AppleScript path zeroed times; offsets ignored | One OmniJS path; |
Tool split |
| Reads and writes are separate tools with correct |
List output | ASCII trees ( | Structured JSON with optional nested |
Pagination | Mostly | Every list read is paginated (default 50, max 200) |
Deletes | Direct delete | Cascade preview + short-lived |
Recovery | Partial undo on some writes |
|
Diagnostics | None |
|
Daily views | Inbox / Flagged / Forecast / tag | Also |
Templates | Duplicate task | Duplicate task or project |
Prompts | Daily / weekly / inbox / project planning / shaping | Same, plus evening shutdown |
Deep links | Not on every item | Every task/project/folder/tag includes |
Custom perspectives, hierarchical tags (Work / Deep), repetition rules, notifications, attachments, project shaping, and review workflows are all included.
Related MCP server: OmniFocus MCP Server
Requirements
macOS with OmniFocus 3+ running (Pro required for custom perspectives)
Python 3.11+
Automation permission: System Settings → Privacy & Security → Automation → allow the host app (Cursor, Terminal, Claude) to control OmniFocus
An open OmniFocus window when reading a custom perspective (the previous perspective is restored afterward)
Install
cd omnifocus-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"Claude Desktop / Cursor
{
"mcpServers": {
"omnifocus": {
"command": "/ABS/PATH/TO/omnifocus-mcp/.venv/bin/omnifocus-mcp"
}
}
}Or without a venv:
{
"mcpServers": {
"omnifocus": {
"command": "python3",
"args": ["-m", "omnifocus_mcp"],
"cwd": "/ABS/PATH/TO/omnifocus-mcp"
}
}
}Optional: OMNIFOCUS_TIMEOUT_SECONDS (default 60) if a large database needs a longer OmniJS budget.
Tools
Read
omnifocus_status— connection, edition, undo flags, headline countsquery_tasks—source:inbox|flagged|forecast|available|overdue|completed_today|tag|project|custom|search|filter|idcount_tasks— same filters, plus status / flagged / overdue / estimate totalsquery_projects—view:all|active|due_for_review|stalledquery_folders/query_tags/query_perspectivesread_attachment— image attachments returned as MCP image content when possible
Write
add_task,add_project,add_items,create_project_from_outlineedit_item,complete_items,move_items,duplicate_itemsset_repetition,append_note,mark_reviewedmanage_folder,manage_tag,manage_perspective,manage_notificationsremove_items— preview first, thenconfirmTokenomnifocus_session—undo|redo|clean_up|reveal
A perspective is a saved view. A tag is a label. query_tasks source=custom reads a perspective; query_tasks source=tag reads a tag.
Resources
URI | Contents |
| Health + counts |
| Inbox (compact, 50) |
| Overdue + due today + flagged |
| Next 7 days |
| Active projects, including stalled |
| Projects due for review |
Prompts
daily_planning, weekly_review, inbox_processing, project_planning, project_shaping, evening_shutdown
Each prompt pulls a bounded live snapshot and tells the model to confirm before writing.
Dates
2026-08-14→ local midnight, floating2026-08-14T09:30→ local 09:30, floating2026-08-14T09:30:00-06:00or…Z→ converted to local wall-clock so the calendar day stays the one the timestamp refers to
plannedDate requires OmniFocus 4.7+.
Safety
No full-database dump tool
Default list limit 50
Name lookups fail on duplicates and ask for an id
Subtasks inherit their project; passing both
parentTaskIdand a project is rejectedMoves that would cycle are rejected
Deletes return a cascade preview and require
confirmTokencreate_project_from_outlineand repetition writes undo on verification failure
Tests
pytestLive OmniFocus is not required. Pointing the server at a running copy of OmniFocus is the integration test: omnifocus_status should return running: true.
The first OmniJS call after OmniFocus has been idle can take 10–20 seconds while the scripting bridge wakes up. Later calls in the same process are faster. Increase OMNIFOCUS_TIMEOUT_SECONDS if a very large database still times out.
License
MIT
Available Tools
25 toolsadd_itemsAdd itemsA
Create many tasks or projects in one OmniJS call. Later items can parent to earlier names.
Inputs: items (required). Returns: object
add_projectAdd projectC
Create a project, optionally inside a folder and with an initial task list.
Inputs: name (required), note, tags, tasks, +10 more. Returns: object
add_taskAdd taskB
Create one task, optionally with subtasks, tags, dates, and a repeat rule.
Inputs: name (required), note, tags, flagged, +12 more. Returns: object
append_noteAppend noteB
Append to a task or project note without overwriting it.
Inputs: text (required), id, name, item_type. Returns: object
complete_itemsComplete itemsA
Mark tasks or projects complete, incomplete, or dropped. Repeating completes report the generated instance.
Inputs: ids (required), action, all_occurrences, completion_date. Returns: object
count_tasksCount tasksARead-onlyIdempotent
Count matching tasks with a status breakdown and known estimated minutes.
Use this before listing when you need scale, daily capacity, or a review total.
Inputs: days, search, source, tag_id, +16 more. Returns: object
create_project_from_outlineCreate project from outlineA
Create one verified project tree from a user-confirmed outline. Rolls back with Undo on failure.
Inputs: project (required). Returns: object
duplicate_itemsDuplicate itemsB
Duplicate tasks or whole projects. Duplicating a project is useful as a template.
Inputs: ids (required), new_name, include_subtasks. Returns: object
edit_itemEdit itemC
Edit a task or project, including optional move, tags, dates, and status.
Inputs: id, name, note, tags, +21 more. Returns: object
manage_folderManage folderBDestructiveIdempotent
Create, rename, move, or delete a folder. Deleting a folder also deletes its projects; that path requires confirmToken.
Inputs: action (required), name, status, new_name, +5 more. Returns: object
manage_notificationsManage notificationsC
List, add, or remove task reminders (absolute or due-relative).
Inputs: action, task_id, task_name, absolute_date, +2 more. Returns: object
manage_perspectiveManage perspectiveA
Update a custom perspective's filter rules in place. OmniFocus cannot create or delete perspectives via automation.
Inputs: rules, aggregation, perspective_id, perspective_name. Returns: object
manage_tagManage tagADestructiveIdempotent
Create, rename, nest, or delete a tag. On-hold tags block next actions.
Inputs: action (required), name, status, tag_id, +5 more. Returns: object
mark_reviewedMark projects reviewedA
Mark confirmed projects reviewed with one timestamp and return the OmniFocus-generated next review dates.
Inputs: ids (required), review_date. Returns: object
move_itemsMove itemsA
Move tasks to a project, parent task, or the Inbox. Cycles are rejected before any move.
Inputs: moves (required). Returns: object
omnifocus_sessionOmniFocus sessionB
Undo or redo the last OmniFocus change, run database clean-up, or reveal an item in the OmniFocus UI.
Inputs: action (required), id, name, item_type. Returns: object
omnifocus_statusOmniFocus statusARead-onlyIdempotent
Health check for OmniFocus: running state, Pro vs Standard, undo availability, and headline counts.
Use this first when a session starts or a call fails. It never dumps tasks.
Inputs: launch. Returns: object
query_foldersQuery foldersCRead-onlyIdempotent
List OmniFocus folders. detailed includes child projects and subfolders.
Inputs: limit, cursor, output, search, +2 more. Returns: object
query_perspectivesQuery perspectivesARead-onlyIdempotent
List built-in and custom perspectives, or read a custom perspective's filter rules.
Custom perspectives require OmniFocus Pro. This does not return the tasks inside a perspective; use query_tasks with source=custom for that.
Inputs: action, perspective_id, perspective_name. Returns: object
query_projectsQuery projectsARead-onlyIdempotent
List projects, including review metadata and stalled detection.
Inputs: view, limit, cursor, output, +7 more. Returns: object
query_tagsQuery tagsARead-onlyIdempotent
List or search tags, including hierarchy paths such as 'Work / Deep'.
Inputs: limit, cursor, output, search, +3 more. Returns: object
query_tasksQuery tasksARead-onlyIdempotent
Read tasks from Inbox, Flagged, Forecast, tags, projects, custom perspectives, or an ad-hoc filter.
Results are paginated and compact by default. Use count_tasks when you only need totals. Custom perspectives (source=custom) are saved views, not tags.
Inputs: days, limit, cursor, output, +39 more. Returns: object
read_attachmentRead task attachmentARead-onlyIdempotent
Read one attachment previously listed on a task. Images are returned as image content when possible.
Inputs: task_id (required), attachment_id (required).
remove_itemsRemove itemsADestructiveIdempotent
Delete tasks, projects, or folders. First call returns a cascade preview and confirmToken; second call executes.
Inputs: ids, confirm_token. Returns: object
set_repetitionSet repetitionA
Set, update, or clear a task's OmniFocus 4.7+ repetition rule. Restores the previous rule on failure.
Inputs: clear, method, task_id, task_name, +2 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most query/add/manage tools have distinct scopes, but there is real overlap: edit_item can move items like move_items, add_task/add_items/create_project_from_outline all create items, and remove_items/manage_folder both delete folders. Descriptions help, but an agent could still pick the wrong tool in several cases.
The snake_case verb_noun pattern is largely consistent with query_*, add_*, and manage_* groups. Minor deviations like omnifocus_status, omnifocus_session, and the longer create_project_from_outline keep it from being perfectly uniform.
25 tools sits at the heavy end of the range for a single server. It is comprehensive for OmniFocus, but some overlapping creation/deletion paths and utility tools make the set feel larger than strictly necessary.
The surface covers task/project/folder/tag/notification lifecycles, repetition, review, undo, and status checks. The main gaps are attachment creation and perspective creation/deletion, which are largely platform limitations, so core workflows are still supported.
Maintenance
Related MCP Connectors
Manage tasks, Focus Zone, notes, projects, and task history from compatible AI assistants.
Capture, clarify and plan your tasks from Claude or ChatGPT: inbox, next actions and projects.
Task management for people and AI agents, with scoped OAuth access to issues, projects, and docs.
Task management for people and AI agents, with scoped OAuth access to issues, projects, and docs.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables AI-powered task management in OmniFocus with support for project reviews, planned dates, repeating tasks, custom perspectives, hierarchical subtasks, and advanced filtering. Perfect for Claude AI integration with comprehensive CRUD operations for tasks, projects, and folders.313MIT
- AlicenseAqualityDmaintenanceEnables comprehensive management of OmniFocus on macOS through 17 specialized tools for projects, tasks, and organization. Users can create, update, and filter items or navigate the interface using natural language via the Model Context Protocol.218MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to read and write to OmniFocus database, allowing natural language task management, project creation, and GTD workflows.41MIT
- AlicenseAqualityDmaintenanceGives MCP-compatible AI assistants full, typed access to OmniFocus on macOS, enabling task management, project manipulation, inbox processing, and more via natural language.10033 npm2MIT