omnifocus-mcp
v1.17.1Model Context Protocol (MCP) server that integrates with OmniFocus for AI assistant interaction
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dump_database
Gets the current state of your OmniFocus database
| Parameter | Type | Description |
|---|---|---|
hideCompleted | boolean | Set to false to show completed and dropped tasks (default: true) |
hideRecurringDuplicates | boolean | Set to true to hide duplicate instances of recurring tasks (default: true) |
add_omnifocus_task
Create a NEW task. If a matching task already exists (e.g. in the Inbox), do NOT create a duplicate — MOVE it with edit_item + newProjectName. When unsure, check with query_omnifocus first.
| Parameter | Type | Description |
|---|---|---|
name * | string | Task name |
deferDate | string | Defer date (YYYY-MM-DD or full ISO) |
dueDate | string | Due date (YYYY-MM-DD or full ISO) |
estimatedMinutes | number | Time estimate in minutes |
flagged | boolean | Flag the task |
hierarchyLevel | integer | Ordering hint for batch workflows (0 = root); ignored in single add |
note | string | Task note |
parentTaskId | string | Parent task id (preferred over name) |
parentTaskName | string | Parent task name; matched within the project if one is given |
plannedDate | string | Planned date — the day you intend to work on it (YYYY-MM-DD or full ISO) |
projectId | string | Project id to place the task in; takes precedence over projectName. Prefer when names are ambiguous |
projectName | string | Project name or folder path ('Work/My Project') to place the task in; defaults to inbox. To move an EXISTING task, use edit_item with newProjectName instead of creating a duplicate here |
repeat | object | Repetition rule |
tags | array | Tag names to assign |
add_project
Add a new project to OmniFocus
| Parameter | Type | Description |
|---|---|---|
name * | string | Project name |
deferDate | string | Defer date (YYYY-MM-DD or full ISO) |
dueDate | string | Due date (YYYY-MM-DD or full ISO) |
estimatedMinutes | number | Time estimate in minutes |
flagged | boolean | Flag the project |
folderName | string | Folder to place the project in (root if omitted) |
note | string | Project note |
repeat | object | Repetition rule |
sequential | boolean | Make tasks sequential (default: false) |
tags | array | Tag names to assign |
remove_item
Remove a task or project from OmniFocus
| Parameter | Type | Description |
|---|---|---|
itemType * | string | Type of item to remove ('task' or 'project') |
allowPastOccurrence | boolean | Allow removing a completed occurrence of a repeating item (refused by default — it can cascade through the live repeat chain) |
id | string | The ID of the task or project to remove |
name | string | The name of the task or project to remove (as fallback if ID not provided) |
edit_item
Edit an existing task or project. Also how you MOVE a task: set newProjectName (or "" / "inbox"). Prefer moving an existing task over re-creating it — never make duplicates.
| Parameter | Type | Description |
|---|---|---|
itemType * | string | What kind of item |
addTags | array | Tags to add |
allowPastOccurrence | boolean | Allow mutating a completed occurrence of a repeating item (refused by default — it can cascade through the live repeat chain) |
id | string | Item id (takes precedence over name) |
markReviewed | boolean | true marks the project reviewed, scheduling the next review from its review interval (projects only) |
name | string | Item name, as fallback when no id |
newDeferDate | string | New defer date (ISO; "" clears) |
newDueDate | string | New due date (ISO; "" clears) |
newEstimatedMinutes | number | New time estimate in minutes |
newFlagged | boolean | Set flagged status |
newFolderName | string | Move the project to this folder |
newName | string | New name |
newNote | string | New note |
newParentTaskId | string | Nest under this task id; "" = top level (tasks only) |
newPlannedDate | string | New planned date (ISO; "" clears; tasks only) |
newProjectName | string | Move the task to this project (name or folder path like 'Work/My Project'); "" or 'inbox' moves it to the inbox (tasks only) |
newProjectStatus | string | New project status |
newRepeat | New repetition rule; null clears it | |
newReviewInterval | object | Review every N units (projects only) |
newSequential | boolean | Make the project sequential |
newStatus | string | New task status. 'skipped' (repeating tasks only) completes the occurrence to trigger the next repeat, then drops the instance |
position | Order among siblings; {before|after: id} (tasks only) | |
removeTags | array | Tags to remove |
replaceTags | array | Replace all tags with these |
batch_add_items
Add multiple tasks or projects to OmniFocus in a single operation
| Parameter | Type | Description |
|---|---|---|
items * | array | Items to add |
createSequentially | boolean | Process parents before children; even when false, parents are resolved first best-effort |
batch_remove_items
Remove multiple tasks or projects from OmniFocus in a single operation
| Parameter | Type | Description |
|---|---|---|
items * | array | Array of items (tasks or projects) to remove |
query_omnifocus
Query tasks, projects, or folders with filters (project, folder, tags, status, dates). Much faster and lighter than dump_database for targeted lookups.
| Parameter | Type | Description |
|---|---|---|
entity * | string | What to query |
fields | array | Only return the listed fields (smaller responses). Tasks: id, name, note, flagged, taskStatus, dueDate, deferDate, plannedDate, effectiveDueDate, effectiveDeferDate, effectivePlannedDate, completionDa… |
filters | object | Filter names differ from field names (filter: inbox; field: inInbox). Filters AND together; array filters (tags, status) OR within the array. Date filters accept a number of days from today, 'today',… |
includeCompleted | boolean | Include completed/dropped items (default: false) |
limit | integer | Max items to return |
sortBy | string | taskStatus sorts by urgency (Overdue first) |
sortOrder | string | Default: asc |
summary | boolean | Return only the match count |
list_perspectives
List built-in and custom perspectives (custom is a Pro feature)
| Parameter | Type | Description |
|---|---|---|
includeBuiltIn | boolean | Include built-in perspectives (Inbox, Projects, Tags, etc.). Default: true |
includeCustom | boolean | Include custom perspectives (Pro feature). Default: true |
get_perspective_view
Get the items visible in a named OmniFocus perspective
| Parameter | Type | Description |
|---|---|---|
perspectiveName * | string | Perspective name, built-in ('Inbox', 'Flagged', …) or custom |
fields | array | Only return the listed fields: id, name, note, flagged, dueDate, deferDate, completionDate, taskStatus, projectName, tagNames, estimatedMinutes |
includeMetadata | boolean | Include project names, tags, dates (default: true) |
limit | number | Max items to return (default: 100) |
list_tags
List all tags with their hierarchy
| Parameter | Type | Description |
|---|---|---|
includeDropped | boolean | Include dropped/inactive tags. Default: false |
create_tag
Create a new tag in OmniFocus, optionally nested under an existing parent tag
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the tag to create |
parentTagID | string | ID of an existing tag to nest the new tag under. Takes precedence over parentTagName. |
parentTagName | string | Name of an existing tag to nest the new tag under. Ignored if parentTagID is provided. |