Logo vun OmniFocus MCP

OmniFocus MCP

Communautéit
vitalyrodnenko

Model Context Protocol (MCP) server for OmniFocus on macOS, with Rust, Python, and TypeScript implementations

Editeurvitalyrodnenko
RepositoryOmnifocusMCP
SproochRust
Forks
7
Stären
43
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    OmniFocus MCP stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    43 Stären an 7 Forks aus dem verlinkte Repository.

OmniFocus MCP

Platform: macOS Protocol: MCP Language: Rust/Python/TypeScript License: MIT

MCP server that gives AI assistants full control over OmniFocus on macOS.

45 tools, 3 resources, and 4 prompts covering tasks, projects, tags, folders, perspectives, forecast, notifications, and review workflows — all through the Model Context Protocol.

This project is not affiliated with, endorsed by, or associated with The Omni Group or OmniFocus. OmniFocus is a trademark of The Omni Group. This is an independent, non-commercial open-source project.

Quick Start

Install via Homebrew (if you don't have Homebrew, see the Homebrew installation guide):

bash
brew tap vitalyrodnenko/omnifocus-mcp
brew install omnifocus-mcp

Then add to your MCP client config (Claude Desktop, Cursor, etc.):

json
{
  "mcpServers": {
    "omnifocus": {
      "command": "omnifocus-mcp",
      "args": []
    }
  }
}

That's it. The AI assistant now has full OmniFocus access.

What It Can Do

Tasks (23 tools)

Full lifecycle management for OmniFocus tasks:

  • CRUD — create, get, update, delete individual tasks
  • Batch operations — create, move, or delete multiple tasks in a single call
  • Subtasks — create and list subtasks under any parent task
  • Completion — mark complete, mark incomplete (supports repeating tasks)
  • Search — full-text search across task names and notes with all filters applied
  • Move and reparent — relocate tasks between projects, reparent tasks under other tasks, or move subtasks back to inbox/project without delete/recreate
  • Duplicate — clone a task with all properties and optional subtasks
  • Notifications — list, add, and remove notifications (absolute date or relative offset)
  • Repetition — set or clear repetition rules with schedule type (regularly/after completion)
  • Notes — append text to task notes without overwriting
  • Safety model — destructive delete confirmations stay separate from non-destructive move/update workflows
  • Aggregate counts — fast "how many" queries without listing individual tasks

Advanced Filtering

list_tasks and search_tasks support powerful filter combinations:

FilterDescription
projectScope to a single project by name
tag / tagsFilter by one tag or multiple tags
tagFilterMode"any" (default) or "all" for multi-tag filtering
flaggedFlagged tasks only
status"available", "remaining", "completed", "dropped", "all"
dueBefore / dueAfterDue date range (ISO 8601)
deferBefore / deferAfterDefer date range (ISO 8601)
completedBefore / completedAfterCompletion date range (ISO 8601)
addedBefore / addedAfterCreation date range (ISO 8601)
changedBefore / changedAfterLast-modified date range (ISO 8601, maps to OmniFocus modified)
plannedBefore / plannedAfterPlanned date range (ISO 8601)
maxEstimatedMinutesTasks with estimated duration up to N minutes

Sorting

All list/search tools support sortBy and sortOrder:

  • Sort by: name, dueDate, deferDate, completionDate, estimatedMinutes, project, flagged, addedDate, changedDate, plannedDate
  • Aliases: added -> addedDate, modified -> changedDate, planned -> plannedDate
  • Sort order: asc (default) or desc
  • Task payloads include addedDate and changedDate (ISO 8601 or null)

Projects (11 tools)

  • CRUD — create, get, update, delete projects
  • Lifecycle — complete, uncomplete, set status (active/on-hold/dropped)
  • Organization — move between folders, search by name
  • Filtering — by folder, status, completion date range, stalled-only flag
  • Sorting — by name, due date, or other fields
  • Aggregate counts — project counts by status, optionally scoped to a folder

Project Lifecycle Semantics

  • Use complete_project when work is finished/closed (done/completed).
  • Use set_project_status for organizational state only:
    • active = current
    • on_hold = paused (UI wording is often "on hold"/"on-hold")
    • dropped = intentionally abandoned/cancelled, not completed
  • Use uncomplete_project to reopen a completed project back to active.
  • In user-facing summaries, present business meaning first (project name, folder, and status transition), and include opaque IDs only as secondary references.

Tags (5 tools)

  • CRUD — create, update (name and status), delete
  • List — with status filter (active/on-hold/dropped/all), sorting, and limits
  • Search — fuzzy name matching

Folders (5 tools)

  • CRUD — create, get (with child projects and subfolders), update, delete
  • Hierarchy — create nested folders with parent parameter
  • List — all folders with limits

Forecast (1 tool)

  • Structured view with sections: overdue, due today, flagged, deferred, and due this week

Perspectives (1 tool)

  • List all available OmniFocus perspectives

Resources (3)

Live snapshots available to MCP clients:

ResourceDescription
InboxCurrent inbox tasks
TodayToday's forecast (overdue + due today + flagged)
Active ProjectsAll active projects with task counts

Prompts (4)

Ready-to-use review workflows:

PromptDescription
Daily ReviewDue-soon, overdue, and flagged tasks for daily planning
Weekly ReviewActive projects and next-action coverage analysis
Inbox ProcessingOne-by-one inbox clarification decisions
Project PlanningGuided planning for a specific project

Implementations

Three implementations with identical tool names, parameters, and response shapes:

ImplementationLanguageInstallRecommended For
RustRustHomebrew (recommended) or sourceProduction use — single binary, fast startup
PythonPython 3.11+uv from sourceLocal development, easy scripting
TypeScriptNode.js 20+npm from sourceNode.js ecosystems

Detailed setup guides: Rust · Python · TypeScript

How It Works

The server runs JXA (JavaScript for Automation) scripts through macOS osascript. Each script uses the OmniFocus evaluateJavascript bridge to execute Omni Automation JavaScript inside OmniFocus itself, where full APIs like flattenedTasks, Task.Status, and new Task() are available. Data is serialized as JSON and returned through the MCP protocol with consistent schemas across all three implementations.

MCP Client Config Examples

Claude Desktop

json
{
  "mcpServers": {
    "omnifocus": {
      "command": "omnifocus-mcp",
      "args": []
    }
  }
}

Cursor

json
{
  "mcpServers": {
    "omnifocus": {
      "command": "omnifocus-mcp",
      "args": []
    }
  }
}

Python (source build)

json
{
  "mcpServers": {
    "omnifocus": {
      "command": "uv",
      "args": ["run", "omnifocus-mcp"]
    }
  }
}

TypeScript (source build)

json
{
  "mcpServers": {
    "omnifocus": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/absolute/path/to/OmnifocusMCP/typescript"
    }
  }
}

Keep only one OmniFocus MCP server enabled at a time to avoid duplicate tool surfaces.

Compatibility snippet:

json
{
  "mcpServers": {
    "omnifocus": {
      "command": "python",
      "args": ["-m", "omnifocus_mcp"]
    }
  }
}
json
{
  "mcpServers": {
    "omnifocus": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/absolute/path/to/OmnifocusMCP/typescript"
    }
  }
}

Switching Implementations

Switching Between Rust, Python, and TypeScript

  • Use Rust when you want a single prebuilt omnifocus-mcp binary.
  • Use Python when you want uv or python -m execution and fast local iteration.
  • Use TypeScript when you want node execution from typescript/dist/index.js.
  • Restart the MCP client so it reloads the server command after you switch implementations.

Prerequisites

  • macOS (required — OmniFocus is macOS-only)
  • OmniFocus installed and running
  • Automation permission granted to the terminal/editor (System Settings → Privacy & Security → Automation)

For source builds only:

  • Python 3.11+ and uv (Python implementation)
  • Node.js 20+ and npm (TypeScript implementation)
  • Rust toolchain via rustup (Rust source build)

Contributing

Contributions are welcome through focused pull requests with clear scope and passing checks. See CONTRIBUTING.md for setup and validation steps.

License

MIT. See LICENSE for details.

Installatioun

TypingMind
{
  "mcpServers": {
    "omnifocusmcp": {
      "command": "omnifocus-mcp",
      "args": []
    }
  }
}

OmniFocus MCP MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal OmniFocus MCP verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

OmniFocus MCP als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu OmniFocus MCP an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "omnifocusmcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu OmniFocus MCP. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu OmniFocus MCP.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat OmniFocus MCP?
OmniFocus MCP
Jo. Ech hunn et gelies.
Dat hunn ech mat OmniFocus MCP fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server OmniFocus MCP benotzt?

OmniFocus MCP ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech OmniFocus MCP MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir OmniFocus MCP mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat OmniFocus MCP MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann OmniFocus MCP verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech OmniFocus MCP MCP mat TypingMind?

OmniFocus MCP leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt OmniFocus MCP MCP an TypingMind zur Verfügung?

OmniFocus MCP stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir OmniFocus MCP MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann OmniFocus MCP eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇