# OmniFocus [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/steveardis/omnifocus-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 279  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/omnifocus

## Description
Full CRUD MCP server for OmniFocus via Omni Automation — tasks, projects, folders, tags, recurrence.

## Tools
Capabilities this server exposes over MCP:

- **list_projects** — List projects in OmniFocus. By default, done and dropped projects are excluded — pass filter.status to override. Optional filter fields: status (array of status strings), folderId (restricts to that folder's subtree), flagged (boolean). Results are capped at limit (default 100). Each project includes folderId and flagged in addition to id, name, folderPath, status, and type.
- **get_project** — Get full detail for a project by its stable ID. Returns note, folder path, status, type, dates, review metadata, and tag IDs.
- **list_folders** — List folders in OmniFocus. By default, all folders (active and dropped) are returned. Optional filter.status ('active' | 'dropped') restricts to that status. Results are capped at limit (default 200). Each folder includes id, name, full path (ancestors joined with ▸), parentId, and status.
- **get_folder** — Get full detail for a folder by its stable ID. Returns path, parentId, status, child folder IDs, and immediate project IDs.
- **list_tasks** — List tasks in OmniFocus within a scope. Provide exactly one of: projectId (tasks in a project), folderId (tasks across all projects in a folder), inbox (inbox tasks), or all (every task). By default, complete and dropped tasks are excluded — pass filter.status to override. Optional filter fields: flagged (boolean), status (array of status strings), tagId (string), dueBeforeDate (ISO datetime). Results are capped at limit (default 200). Each returned task includes dueDate and tagIds.
- **get_task** — Get full detail for a task by its stable ID. Returns note, status, flagged, defer/due/completion dates, estimated minutes, container info, tag IDs, and parentTaskId (null for top-level tasks, set to the parent task's ID for subtasks).
- **list_tags** — List tags in OmniFocus. By default, all tags (active, onHold, and dropped) are returned. Optional filter.status ('active' | 'onHold' | 'dropped') restricts to that status. Results are capped at limit (default 200). Each tag includes id, name, full path (ancestors joined with ▸), parentId, and status.
- **get_tag** — Get full detail for a tag by its stable ID. Returns path, parentId, status, and child tag IDs.
- **resolve_name** — Resolve an entity name to its stable ID(s). Returns ALL matches — never silently picks one. If multiple candidates are returned, ask the user or caller to disambiguate using the path field before proceeding with a write operation.
- **create_task** — Create a new task. Placement: omit projectId and parentTaskId for inbox; provide projectId to add to a project; provide parentTaskId to create a subtask. Providing both projectId and parentTaskId is an error.
- **edit_task** — Edit an existing task by its stable ID. Only fields included in the call are changed; omitted fields are left unchanged. When tagIds is provided it replaces the full tag set. To clear a date field, pass clearDeferDate, clearPlannedDate, or clearDueDate set to true. Pass null for estimatedMinutes to clear it. To set a repetition rule, pass repetitionRule with frequency/interval/method. To clear repetition, pass clearRepetitionRule: true.
- **complete_task** — Mark a task complete by its stable ID. Returns the updated task detail.
- **drop_task** — Mark a task dropped by its stable ID. Returns the updated task detail.
- **delete_task** — Permanently delete a task and all its subtasks. THIS ACTION CANNOT BE UNDONE. Before calling this tool you MUST ask the user to explicitly confirm they want to permanently delete the task, and inform them that all subtasks will also be deleted.
- **create_project** — Create a new OmniFocus project. Omit folderId to create at the top level; provide folderId to place it inside a folder. Optionally set type (parallel/sequential/singleActions), status (active/onHold), review interval, and tags.
- **edit_project** — Edit an existing project. Only provided fields are changed. Pass null for deferDate, dueDate, or reviewInterval to clear them. When tagIds is provided it replaces the full tag set.
- **complete_project** — Mark a project as done (complete). Returns the updated project detail.
- **drop_project** — Mark a project as dropped. Returns the updated project detail.
- **delete_project** — Permanently delete a project and ALL its tasks. THIS ACTION CANNOT BE UNDONE. Before calling this tool you MUST ask the user to explicitly confirm they want to permanently delete the project, and inform them that all tasks within the project will also be deleted.
- **create_folder** — Create a new OmniFocus folder. Omit parentFolderId to create at the top level; provide parentFolderId to nest it inside an existing folder.
- **edit_folder** — Rename an existing OmniFocus folder by its ID.
- **delete_folder** — Permanently and recursively delete an OmniFocus folder. THIS ACTION CANNOT BE UNDONE. The ENTIRE subtree is destroyed: all child folders, all projects within those folders, and all tasks within those projects. Before calling this tool you MUST ask the user to explicitly confirm they want to permanently delete the folder and all of its contents.
- **create_tag** — Create a new OmniFocus tag. Omit parentTagId to create at the top level; provide parentTagId to nest it under an existing tag.
- **edit_tag** — Edit an existing OmniFocus tag. Provide id plus any combination of name (rename) and status (active/onHold/dropped).
- **delete_tag** — Permanently delete an OmniFocus tag. THIS ACTION CANNOT BE UNDONE. All child tags are also deleted, and all tasks/projects that held this tag have it removed automatically. Before calling this tool you MUST ask the user to explicitly confirm they want to permanently delete the tag and all its child tags.
- **move_task** — Move a task to a different project (making it a top-level task) or make it a subtask of another task. Exactly one of projectId or parentTaskId must be provided. Throws a not-found error if any ID does not exist.
- **move_project** — Move a project to a different folder or to the top level. Pass folderId as a string to move into a folder, or null to move to the top level. Throws a not-found error if either ID does not exist.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "omnifocus": {
    "command": "npx",
    "args": ["-y","@scardis/omnifocus-mcp"]
  }
}
```

## Documentation

## What OmniFocus MCP server does

The OmniFocus MCP server exposes OmniFocus data and operations to an MCP-compatible client. It works with tasks, projects, folders, and tags, covering both inspection and mutation. Read operations can retrieve collections or complete records, while write operations can create, edit, complete, drop, delete, or move entities.

Tasks can be filtered by location and attributes such as status, tag, due date, and flagged state. Task records include defer, planned, and due dates, repetition rules, tags, and parent-task relationships. Projects, folders, and tags include their relevant hierarchy information, such as a folder’s child folders and projects or a tag’s child tags.

## How it works

The OmniFocus MCP server executes OmniJS snippets inside OmniFocus by calling `Application('OmniFocus').evaluateJavascript()` through `osascript -l JavaScript`. Tool handlers validate inputs and parse results, while the snippets perform the operations using Omni Automation. Arguments are serialized as JSON before being inserted into the JavaScript call.

Every returned entity has a stable `id` based on OmniFocus’s primary key. Subsequent calls should use that ID rather than a display name. When only a name is available, `resolve_name` returns candidate records and their paths. If several records match, the caller should ask for clarification before making a write.

## Setup and configuration

The server requires macOS, Node.js 20 or newer, and OmniFocus installed and running on the same machine. Omni Automation is macOS-only, so the server does not start on other platforms.

It can be launched without a local installation through `npx -y @scardis/omnifocus-mcp`. Alternatively, clone the repository, run `npm install`, build it with `npm run build`, and start `dist/server.js` with Node. An MCP client configuration must provide either the `npx` command or the absolute path to the built server.

## Tools and capabilities

The OmniFocus MCP server includes tools for:

- Listing and retrieving projects, tasks, folders, and tags.
- Resolving names to one or more stable-ID candidates.
- Creating and editing tasks, projects, folders, and tags.
- Completing or dropping tasks and projects.
- Permanently deleting tasks, projects, folders, or tags, including their descendants where specified.
- Moving tasks into projects or under other tasks, and moving projects into folders or to the top level.
- Setting task dates, flags, estimates, tags, and repetition rules.
- Setting project types, statuses, review intervals, and tags.

## Limitations and notes

OmniFocus must remain running because the server executes its automation code inside the application. Operations that delete a task, project, folder, or tag are destructive; deleting a task also deletes its subtasks, deleting a project deletes its tasks, and deleting a folder or tag removes its subtree or child tags.

Names are not guaranteed to be unique. The server does not silently select one result from an ambiguous name lookup, so clients should use returned paths to obtain confirmation and then address the chosen object by ID.

The repository’s integration tests operate on a real OmniFocus database. They create temporary fixtures and normally refuse to run when OmniFocus sync is enabled; setting `MCP_TEST_ALLOW_SYNC=1` opts into syncing those fixtures. This setting is for testing rather than normal server operation.

_Full upstream README: https://allmcps.com/mcp/omnifocus/readme_

