شعار OmniFocus MCP

OmniFocus MCP

المجتمع
vitalyrodnenko

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

الناشرvitalyrodnenko
المستودعOmnifocusMCP
اللغةRust
التفريعات
7
النجوم
43
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح OmniFocus MCP إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 43، والنسخ المتفرعة: 7 في المستودع المرتبط.

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.

التثبيت

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

استخدم MCP الخاص بـ OmniFocus MCP مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل OmniFocus MCP، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف OmniFocus MCP كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ OmniFocus MCP.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "omnifocusmcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ OmniFocus MCP، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ OmniFocus MCP.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام OmniFocus MCP لمساعدتي في هذه المهمة؟
OmniFocus MCP
بالتأكيد. قرأته.
إليك ما وجدته باستخدام OmniFocus MCP.

الأسئلة الشائعة

ما استخدامات خادم MCP OmniFocus MCP؟

OmniFocus MCP هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP OmniFocus MCP مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام OmniFocus MCP مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP OmniFocus MCP مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل OmniFocus MCP، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP OmniFocus MCP بـ TypingMind؟

يعمل OmniFocus MCP عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP OmniFocus MCP في TypingMind؟

يتيح OmniFocus MCP إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP OmniFocus MCP؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان OmniFocus MCP يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇