omnifocus-mcp

v1.17.1
omnifocus-mcp Checked 6 hours ago Published 13 days ago

Model 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

ParameterTypeDescription
hideCompletedbooleanSet to false to show completed and dropped tasks (default: true)
hideRecurringDuplicatesbooleanSet 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.

ParameterTypeDescription
name *stringTask name
deferDatestringDefer date (YYYY-MM-DD or full ISO)
dueDatestringDue date (YYYY-MM-DD or full ISO)
estimatedMinutesnumberTime estimate in minutes
flaggedbooleanFlag the task
hierarchyLevelintegerOrdering hint for batch workflows (0 = root); ignored in single add
notestringTask note
parentTaskIdstringParent task id (preferred over name)
parentTaskNamestringParent task name; matched within the project if one is given
plannedDatestringPlanned date — the day you intend to work on it (YYYY-MM-DD or full ISO)
projectIdstringProject id to place the task in; takes precedence over projectName. Prefer when names are ambiguous
projectNamestringProject 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
repeatobjectRepetition rule
tagsarrayTag names to assign

add_project

Add a new project to OmniFocus

ParameterTypeDescription
name *stringProject name
deferDatestringDefer date (YYYY-MM-DD or full ISO)
dueDatestringDue date (YYYY-MM-DD or full ISO)
estimatedMinutesnumberTime estimate in minutes
flaggedbooleanFlag the project
folderNamestringFolder to place the project in (root if omitted)
notestringProject note
repeatobjectRepetition rule
sequentialbooleanMake tasks sequential (default: false)
tagsarrayTag names to assign

remove_item

Remove a task or project from OmniFocus

ParameterTypeDescription
itemType *stringType of item to remove ('task' or 'project')
allowPastOccurrencebooleanAllow removing a completed occurrence of a repeating item (refused by default — it can cascade through the live repeat chain)
idstringThe ID of the task or project to remove
namestringThe 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.

ParameterTypeDescription
itemType *stringWhat kind of item
addTagsarrayTags to add
allowPastOccurrencebooleanAllow mutating a completed occurrence of a repeating item (refused by default — it can cascade through the live repeat chain)
idstringItem id (takes precedence over name)
markReviewedbooleantrue marks the project reviewed, scheduling the next review from its review interval (projects only)
namestringItem name, as fallback when no id
newDeferDatestringNew defer date (ISO; "" clears)
newDueDatestringNew due date (ISO; "" clears)
newEstimatedMinutesnumberNew time estimate in minutes
newFlaggedbooleanSet flagged status
newFolderNamestringMove the project to this folder
newNamestringNew name
newNotestringNew note
newParentTaskIdstringNest under this task id; "" = top level (tasks only)
newPlannedDatestringNew planned date (ISO; "" clears; tasks only)
newProjectNamestringMove the task to this project (name or folder path like 'Work/My Project'); "" or 'inbox' moves it to the inbox (tasks only)
newProjectStatusstringNew project status
newRepeatNew repetition rule; null clears it
newReviewIntervalobjectReview every N units (projects only)
newSequentialbooleanMake the project sequential
newStatusstringNew task status. 'skipped' (repeating tasks only) completes the occurrence to trigger the next repeat, then drops the instance
positionOrder among siblings; {before|after: id} (tasks only)
removeTagsarrayTags to remove
replaceTagsarrayReplace all tags with these

batch_add_items

Add multiple tasks or projects to OmniFocus in a single operation

ParameterTypeDescription
items *arrayItems to add
createSequentiallybooleanProcess 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

ParameterTypeDescription
items *arrayArray 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.

ParameterTypeDescription
entity *stringWhat to query
fieldsarrayOnly return the listed fields (smaller responses). Tasks: id, name, note, flagged, taskStatus, dueDate, deferDate, plannedDate, effectiveDueDate, effectiveDeferDate, effectivePlannedDate, completionDa…
filtersobjectFilter 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',…
includeCompletedbooleanInclude completed/dropped items (default: false)
limitintegerMax items to return
sortBystringtaskStatus sorts by urgency (Overdue first)
sortOrderstringDefault: asc
summarybooleanReturn only the match count

list_perspectives

List built-in and custom perspectives (custom is a Pro feature)

ParameterTypeDescription
includeBuiltInbooleanInclude built-in perspectives (Inbox, Projects, Tags, etc.). Default: true
includeCustombooleanInclude custom perspectives (Pro feature). Default: true

get_perspective_view

Get the items visible in a named OmniFocus perspective

ParameterTypeDescription
perspectiveName *stringPerspective name, built-in ('Inbox', 'Flagged', …) or custom
fieldsarrayOnly return the listed fields: id, name, note, flagged, dueDate, deferDate, completionDate, taskStatus, projectName, tagNames, estimatedMinutes
includeMetadatabooleanInclude project names, tags, dates (default: true)
limitnumberMax items to return (default: 100)

list_tags

List all tags with their hierarchy

ParameterTypeDescription
includeDroppedbooleanInclude dropped/inactive tags. Default: false

create_tag

Create a new tag in OmniFocus, optionally nested under an existing parent tag

ParameterTypeDescription
name *stringName of the tag to create
parentTagIDstringID of an existing tag to nest the new tag under. Takes precedence over parentTagName.
parentTagNamestringName of an existing tag to nest the new tag under. Ignored if parentTagID is provided.