create_omnifocus_task
Create tasks in OmniFocus using AI agents. Integrate Claude, Cursor, or Windsurf with macOS task management while keeping all data on your Mac.
Instructions
Create a new task in OmniFocus
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:82-86 (registration)Tool registration loop where create_omnifocus_task is registered with all other tools. Each tool is registered with an empty schema {} and a stub handler that returns an inspection message.
for (const [name, desc] of TOOLS) { server.tool(name, desc, {}, async () => ({ content: [{ type: "text", text: "This is an inspection stub. Install Pilot MCP on macOS: npx -y local-mcp@latest setup" }], })); } - server.js:41-41 (registration)The create_omnifocus_task tool entry in the TOOLS array, defining the tool name and description.
["create_omnifocus_task", "Create a new task in OmniFocus"], - server.js:1-11 (helper)File header comments and imports. The comment indicates this is a minimal stub for Glama inspection and the real server is a native macOS binary.
#!/usr/bin/env node /** * Minimal MCP stub for Glama inspection. * Lists all Pilot MCP tools so Glama can detect them. * The real server is a native macOS binary. */ const { McpServer } = require("@modelcontextprotocol/sdk/server/mcp.js"); const { StdioServerTransport } = require("@modelcontextprotocol/sdk/server/stdio.js"); const { z } = require("zod"); const server = new McpServer({ name: "pilot-mcp", version: "2.2.0" });