OmniFocus Operator

OmniFocus Operator

A production-grade MCP server that exposes OmniFocus as structured task infrastructure for AI agents, enabling read, write, and filter operations on tasks and projects via natural language.

Category
Visit Server

README

🎯 OmniFocus Operator

The last OmniFocus MCP Server you'll ever need.

Python 3.12+ PyPI Tests 2561 Coverage 97% macOS only

Production-grade MCP server exposing OmniFocus as structured task infrastructure for AI agents. Agent-first design, SQLite-cached performance, 2,561 tests.

β†’ See the full landing page β€” features, architecture, benchmarks, and comparison


πŸš€ Quick Start

Prerequisites: macOS, OmniFocus 4, Python 3.12+

πŸͺ„ Not sure where this config goes? The setup wizard on the landing page walks you through it step-by-step β€” including auto-merging with your existing config.

For Claude Desktop

Paste this into ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "omnifocus-operator": {
      "command": "uvx",
      "args": ["omnifocus-operator"]
    }
  }
}

uvx downloads, isolates, and runs the server automatically. No install step.

First run: OmniFocus shows a one-time permission dialog. Tick the box, click Run Script. You won't see it again.

<picture> <source media="(prefers-color-scheme: dark)" srcset="docs/images/first-run-dark.png"> <img src="docs/images/first-run-light.png" alt="OmniFocus first-run permission dialog showing OmniFocus Operator's welcome banner with two steps: tick the 'Automatically run' checkbox, then click Run Script" width="600"> </picture>

For Claude Code, OpenCode, Cursor…

Ask your agent β€” copy this prompt:

Add this MCP server to my client config. Just edit the config file β€” don't install anything, don't run any scripts.

"omnifocus-operator": {
  "command": "uvx",
  "args": ["omnifocus-operator"]
}

⚠️ This doesn't work with Claude Desktop β€” Desktop has no config-editing tools. Use the manual paste above.

<details> <summary><strong>Development install (contributors)</strong></summary>

git clone https://github.com/HelloThisIsFlo/omnifocus-operator.git
cd omnifocus-operator
uv sync

See CONTRIBUTING.md for dev workflow details.

</details>


✨ Features

  • ⚑ 46ms reads β€” SQLite caching gives 30–60x faster reads than bridge-only servers
  • πŸ› οΈ 11 MCP tools β€” lookups, filtered lists, task creation & editing
  • πŸ€– Agent-first design β€” warnings that teach, errors that educate, guidance in every response
  • πŸ§ͺ 2,561 tests, 97% coverage β€” strict mypy, no corners cut
  • πŸ›‘οΈ Graceful degradation β€” server stays alive no matter what, always recoverable
  • πŸ”„ Automatic fallback β€” SQLite β†’ OmniJS bridge when needed

See the full documentation for architecture details, examples, and deep dives.


πŸ› οΈ Available Tools

Lookups

Tool Description
get_all Full OmniFocus database as structured data (last-resort debugging)
get_task Single task by ID β€” urgency, availability, dates, tags, parent, project
get_project Single project by ID β€” status, review interval, next task
get_tag Single tag by ID β€” availability, parent hierarchy

List & Filter

Tool Description
list_tasks Filter by date, availability, flags, tags, project, parent subtree, search β€” with pagination, field selection, and presence-flag derivation
list_projects Filter by status, folder, review schedule, flags
list_tags List tags with parent hierarchy
list_folders List folders with parent hierarchy
list_perspectives List custom perspectives

Write

Tool Description
add_tasks Create tasks with full field control β€” parent, tags, dates, flags, notes, repetition rules, parallel/sequential, completes-with-children
edit_tasks Patch semantics β€” update fields, move tasks, complete/drop, manage tags, repetition rules, and hierarchy properties

All read tools are idempotent. Write tools reference projects and tags by name or ID.


πŸ” Tool Examples

Filter tasks (list_tasks):

{
  "query": {
    "flagged": true,
    "due": "soon",
    "availability": "remaining",
    "include": ["notes"],
    "limit": 10
  }
}

Create a task (add_tasks):

{
  "items": [{
    "name": "Review Q3 roadmap",
    "parent": "Work Projects",
    "tags": ["Planning"],
    "dueDate": "2026-03-15T17:00:00",
    "flagged": true,
    "estimatedMinutes": 30,
    "note": "Focus on v1.3-v1.5 milestones"
  }]
}

Edit with patch semantics (edit_tasks):

{
  "items": [{
    "id": "oRx3bL_UYq7",
    "dueDate": null,
    "actions": {
      "tags": {"add": ["Urgent"]},
      "move": {"ending": "Work Projects"}
    }
  }]
}

Patch semantics cheat sheet:

Input Meaning
Field omitted No change
Field set to null Clear the value
Field set to a value Update

πŸ—ΊοΈ Roadmap

Version Focus
v1.0 Foundation β€” read tools, three-layer arch, test suite βœ…
v1.1 Performance β€” SQLite caching, 30–60x speedup βœ…
v1.2 Writes & Lookups β€” add/edit tasks, get-by-ID βœ…
v1.2.1 Architectural Cleanup β€” contracts, service refactor, golden master tests βœ…
v1.2.2 FastMCP v3 Migration βœ…
v1.2.3 Repetition Rule Write Support βœ…
v1.3 Read Tools β€” SQL filtering, list/count, 5 new tools βœ…
v1.3.1 First-Class References β€” name resolution, $inbox, rich refs βœ…
v1.3.2 Date Filtering β€” 7 dimensions, shortcuts, calendar math βœ…
v1.3.3 Task Ordering β€” dotted notation, outline order βœ…
v1.4 Response Shaping & Batch Processing βœ…
v1.4.1 Task Properties & Subtree β€” presence flags, auto-complete, parallel/sequential, parent filter βœ…
v1.4.2 UNTIL Format Hotfix β€” parser accepts RFC 5545 DATE form; builder aligns with OmniFocus UI βœ…
v1.4.3 First-Run UX β€” welcome banners in bridge.js that frame OmniFocus's permission dialog with two-click instructions; startup log line βœ…
v1.5 Project Writes β€” add/edit projects, review marking
v1.6 UI & Perspectives β€” perspective switching, deep links
v1.7 Smart Perspective Content β€” perspective-aware response shapes
v1.8 Production Hardening β€” retry, crash recovery, serial execution

πŸ”— Links


πŸ“„ License

Proprietary β€” all rights reserved. Free to use, not to redistribute. License under review.

🀝 Contributing

See CONTRIBUTING.md for guidelines. In short: fork, branch, test, PR.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured