Logo di OmniFocus MCP

OmniFocus MCP

Community
vitalyrodnenko

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

Autorevitalyrodnenko
RepositoryOmnifocusMCP
LinguaRust
Fork
7
Stelle
43
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    OmniFocus MCP mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    43 stelle e 7 fork nel repository collegato.

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.

Installazione

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

Usa MCP OmniFocus MCP con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso OmniFocus MCP, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi OmniFocus MCP come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di OmniFocus MCP.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "omnifocusmcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di OmniFocus MCP, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di OmniFocus MCP.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare OmniFocus MCP per aiutarmi con questa attività?
OmniFocus MCP
Certo. Ho letto.
Ecco cosa ho trovato con OmniFocus MCP.

Domande frequenti

A cosa serve il server MCP OmniFocus MCP?

OmniFocus MCP è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare OmniFocus MCP MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare OmniFocus MCP con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP OmniFocus MCP con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando OmniFocus MCP, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego OmniFocus MCP MCP a TypingMind?

OmniFocus MCP funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre OmniFocus MCP MCP in TypingMind?

OmniFocus MCP mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare OmniFocus MCP MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se OmniFocus MCP richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇