IO

illyastarikov/omnifocus-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

22 stars 2 forks 质量 69 趋势 10MIT

✔️ 把提示变成项目。

概览

功能齐全的OmniFocus模型上下文协议服务器。对任务、项目、文件夹、标签和视角提供完全读写权限——51个工具、2个资源和3个提示。 它在底层使用 Omni Automation(OmniJS),通过 JXA 和 osascript 执行脚本。这就是为什么需要 macOS。 “在我的工作文件夹里创建一个叫'Q3 Launch'的项目,里面有设计审查、文案写作和质量保证的子任务——全部截止于下周五,按顺序分配。” “什么逾期了?标记本周还没标记的截止作业。” “将'网站重设计'项目中标记为'等待'的所有任务移到新的'被封锁'项目中。” “运行我的每周回顾——整理陈旧项目,处理收件箱,总结需要关注的内容。” “我有多少任务标注为'差事'?列出可用的任务。” 添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:

概述(AI 翻译)

✔️ 把提示变成项目。

功能齐全的OmniFocus模型上下文协议服务器。对任务、项目、文件夹、标签和视角提供完全读写权限——51个工具、2个资源和3个提示。

它在底层使用 Omni Automation(OmniJS),通过 JXA 和 osascript 执行脚本。这就是为什么需要 macOS。

目录

  • 示例
  • 安装
  • 要求
  • 安全
  • 工具
  • 资源
  • 提示
  • 故障排除
  • 发展
  • 许可证

示例

“在我的工作文件夹里创建一个叫’Q3 Launch’的项目,里面有设计审查、文案写作和质量保证的子任务——所有任务截止截止时间为下周五,按顺序分配。”

“什么逾期了?标记本周还没标记的截止作业。”

“将’网站重设计’项目中标记为’等待’的所有任务移到新的’阻塞’项目中。”

“运行我的每周回顾——检查陈旧项目,处理收件箱,总结需要关注的内容。”

“我有多少个任务被标记为’差事’?列出可用的任务。”

安装

克劳德桌面

加到~/Library/Application Support/Claude/claude_desktop_config.json:

克劳德·科德

或者在.claude/settings.json中添加:

光标

加到’。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

OmniFocus MCP

✔️ Turn prompts into projects.

Feature-complete Model Context Protocol server for OmniFocus. Full read/write access to tasks, projects, folders, tags, and perspectives — 51 tools, 2 resources, and 3 prompts.

Uses Omni Automation (OmniJS) under the hood, executing scripts via JXA and osascript. This is why macOS is required.

Table of Contents

Examples

“Create a project called ‘Q3 Launch’ in my Work folder with subtasks for design review, copy writing, and QA — all due next Friday, assigned sequentially.”

“What’s overdue? Flag anything due this week that isn’t flagged yet.”

“Move all tasks tagged ‘waiting’ in the ‘Website Redesign’ project to a new ‘Blocked’ project.”

“Run my weekly review — go through stale projects, process inbox, and summarize what needs attention.”

“How many tasks do I have tagged ‘errand’? List the ones that are available.”

Install

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "omnifocus": {
      "command": "npx",
      "args": ["-y", "omnifocus-mcp-server"]
    }
  }
}

Claude Code

claude mcp add omnifocus -- npx -y omnifocus-mcp-server

Or add to .claude/settings.json:

{
  "mcpServers": {
    "omnifocus": {
      "command": "npx",
      "args": ["-y", "omnifocus-mcp-server"]
    }
  }
}

Requirements

在 GitHub 查看完整 README

安装

npx -y omnifocus-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "omnifocus": { "command": "npx", "args": ["-y", "omnifocus-mcp-server"] } } }