Skip to content
MCP server
Registry

OmniFocus MCP Server

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

OmniFocus scores 32 (Limited), licensed MIT and written in TypeScript. It installs as a local process. It declares 27 tools. Filed under AI and memory. GitHub shows 2 stars. Package registries report about 75 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by steveardisMITTypeScript2 stars
Trust score
32Limited
Trust score 32 of 100, Limited

Limited trust

32 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 32 comes from

0 + 6 + 5 + 10 + 4 + 7 = 32. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance6 / 20

How recently the repository saw a commit or release.

Maintenance: 6 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "steveardis-omnifocus-mcp": {      "command": "npx",      "args": [        "-y",        "@scardis/omnifocus-mcp@0.2.1"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools27Tool docs quality grade C

All capabilities
  • Mark a project complete

  • Mark a task complete

  • Create a folder, optionally nested

  • Create a project, optionally in a folder. Supports type, status, review interval, tags.

  • Create a tag, optionally nested

  • Create a task in inbox, project, or as subtask. Supports defer/planned/due dates, tags, flagged, estimated minutes, and repetition rules.

  • Permanently delete a folder and entire subtree

  • Permanently delete a project and all its tasks

  • Permanently delete a tag and child tags

  • Permanently delete a task and all subtasks

  • Mark a project dropped

  • Mark a task dropped

About

omnifocus-mcp

An MCP server for OmniFocus that exposes the full Omni Automation JavaScript API to LLM callers.

macOS only. Requires OmniFocus running on the same machine. The entire implementation runs OmniJS snippets inside OmniFocus via osascript -l JavaScript — no AppleScript string generation, no scripting dictionary limitations.

Prerequisites

  • macOS (Omni Automation is macOS-only; the server will not start on other platforms)
  • OmniFocus installed and running
  • Node.js ≥ 20

Install

The package is published to npm as @scardis/omnifocus-mcp.

Via npx (no install required)

Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):

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

From source

git clone https://github.com/steveardis/omnifocus-mcp.git
cd omnifocus-mcp
npm install
npm run build

Then configure your MCP client:

{
  "mcpServers": {
    "omnifocus": {
      "command": "node",
      "args": ["/absolute/path/to/omnifocus-mcp/dist/server.js"]
    }
  }
}

Available Tools

Read

ToolDescription
list_projectsProjects with optional filtering by status, folderId, flagged. Default excludes done/dropped. Limit (default 100).
get_projectFull project detail by stable ID
list_tasksTasks scoped by projectId, folderId, inbox: true, or all: true with optional status/tag/due/flagged filters. Limit (default 200).
get_taskFull task detail by stable ID — includes defer/planned/due dates, tags, repetition rule, parentTaskId
list_foldersFolders with optional status filter. Limit (default 200).
get_folderFull folder detail by stable ID, including child folder and project IDs
list_tagsTags with optional status filter. Limit (default 200).
get_tagFull tag detail by stable ID, including child tag IDs
resolve_nameResolve a name to stable ID candidates — never silently disambiguates; returns all matches

Write

ToolDescription
create_taskCreate a task in inbox, project, or as subtask. Supports defer/planned/due dates, tags, flagged, estimated minutes, and repetition rules.
edit_taskEdit any task field. Pass null to clear dates or repetition. Omitted fields are unchanged.
complete_taskMark a task complete
drop_taskMark a task dropped
delete_taskPermanently delete a task and all subtasks
create_projectCreate a project, optionally in a folder. Supports type, status, review interval, tags.
edit_projectEdit project fields
complete_projectMark a project complete
drop_projectMark a project dropped
delete_projectPermanently delete a project and all its tasks
create_folderCreate a folder, optionally nested
edit_folderRename a folder
delete_folderPermanently delete a folder and entire subtree
create_tagCreate a tag, optionally nested
edit_tagEdit tag name or status
delete_tagPermanently delete a tag and child tags
move_taskMove a task to a project or make it a subtask of another task
move_projectMove a project to a folder or to top level

Addressing model

Every entity returned by this server includes a stable id field (id.primaryKey from OmniFocus). Use this ID in subsequent calls rather than names. Names can be ambiguous; IDs are not.

If you have a name but not an ID, use resolve_name. It returns a list — if multiple candidates are returned, inspect the path field and ask the user to disambiguate before proceeding with any write operation.

Comparison with other OmniFocus MCP servers

Two notable alternatives exist: themotionmachine/OmniFocus-MCP and jqlts1/omnifocus-mcp-enhanced (a fork of the above with additional tools).

Scripting API. The alternatives use the JXA scripting dictionary or AppleScript to drive OmniFocus. This server makes a single JXA call — Application('OmniFocus').evaluateJavascript() — and runs all logic as OmniJS (Omni Automation) inside OmniFocus. This gives access to the full Omni Automation API surface (recurrence rules, review intervals, perspectives, forecast, attachments, URL automation, etc.) rather than the more limited scripting dictionary.

Argument injection. The alternatives construct osascript commands via string interpolation, which can break on apostrophes, quotes, backslashes, and unicode in names. This server serializes all arguments with JSON.stringify into a JS literal.

Entity addressing. The alternatives address entities primarily by name. This server returns a stable id (id.primaryKey) for every entity and provides resolve_name to map a name to ID candidates — returning all matches with full paths rather than silently picking one when names are ambiguous.

Full CRUD. This server supports creating, editing, completing, dropping, deleting, and moving tasks, projects, folders, and tags — plus repetition rules and OmniFocus 4's planned date.

Development

# Type-check without building
npm run typecheck

# Run unit tests (no OmniFocus required)
npm test

# Build (compiles TypeScript and copies snippets into dist/)
npm run build

Publishing a new version is documented in RELEASING.md.

Testing

Unit tests (no OmniFocus required)

npm test

Integration tests

⚠️ Integration tests run against your real OmniFocus database.

Each test run creates a temporary top-level folder named __MCP_TEST_<uuid>__ and deletes it on teardown. If a test run is interrupted before teardown, run the cleanup script:

npm run test:cleanup-fixtures

⚠️ Sync warning: By default, integration tests refuse to run if OmniFocus sync is enabled, to prevent test fixtures from propagating to your other devices. Disable OmniFocus sync first, or set MCP_TEST_ALLOW_SYNC=1 to opt in (fixtures will sync):

# Default (refuses if sync enabled)
npm run test:integration

# With sync enabled (use carefully)
MCP_TEST_ALLOW_SYNC=1 npm run test:integration

Clean up stale test fixtures

npm run test:cleanup-fixtures

This removes any __MCP_TEST_*__ folders and orphaned __mcp_*__ projects/tags left in OmniFocus from interrupted test runs.

Contributing

Contributions are welcome! Here's how to get started:

  1. Fork and clone the repo
  2. Install dependencies: npm install
  3. Run unit tests (no OmniFocus needed): npm test
  4. Run integration tests (requires macOS + OmniFocus): npm run test:integration

Before submitting a PR

  • npm run typecheck — must pass with no errors
  • npm test — all unit tests must pass
  • npm run test:integration — all integration tests must pass (macOS only)
  • Keep changes focused — one feature or fix per PR

Architecture overview

The server runs OmniJS snippets inside OmniFocus via osascript -l JavaScript. Each tool has three layers:

  • Schema (src/schemas/shapes.ts) — Zod schemas for input validation and output parsing
  • Snippet (src/snippets/*.js) — OmniJS code that runs inside OmniFocus. Plain ES5 JavaScript (no imports, no TypeScript). Arguments are injected via __ARGS__ placeholder.
  • Tool handler (src/tools/*.ts) — Validates input, calls runSnippet(), parses the result

When adding a new tool:

  1. Define input/output schemas in src/schemas/shapes.ts and export from src/schemas/index.ts
  2. Create the OmniJS snippet in src/snippets/
  3. Add the snippet name to ALLOWED_SNIPPETS in src/runtime/snippetLoader.ts
  4. Create the tool handler in src/tools/ and register it in src/tools/index.ts
  5. Add unit tests for schemas and integration tests that run against OmniFocus

Writing OmniJS snippets

Snippets run inside OmniFocus's JavaScript runtime, not Node.js. Key constraints:

  • ES5-style JavaScript — use var, function(){}, no arrow functions in older OmniFocus versions
  • No imports — all OmniJS globals (flattenedTasks, flattenedProjects, moveTasks, etc.) are available directly
  • Return JSON — always return JSON.stringify({ ok: true, data: ... })
  • Error pattern — throw named errors (NotFoundError, ValidationError) which the bridge catches and wraps

License

MIT

Frequently asked questions

What is OmniFocus MCP Server?

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

How do I install OmniFocus MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. OmniFocus MCP Server runs locally from the npm package @scardis/omnifocus-mcp with the command npx -y @scardis/omnifocus-mcp@0.2.1.

Is OmniFocus MCP Server free and open source?

Yes. OmniFocus MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does OmniFocus MCP Server support remote (HTTP) connections?

No remote endpoint is listed for OmniFocus MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does OmniFocus MCP Server provide?

OmniFocus MCP Server provides 27 tools, including complete_project, complete_task, create_folder, and create_project. See the full tool list for descriptions and parameters.

How is OmniFocus MCP Server's trust score calculated?

OmniFocus MCP Server scores 32 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server