list_omnifocus_tasks
Retrieve OmniFocus tasks to enable AI agents to review pending items, track deadlines, and assist with project management.
Instructions
List tasks from OmniFocus
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:82-86 (registration)Tool registration loop that registers list_omnifocus_tasks (and all other tools) with the MCP server using a stub handler
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:39-39 (registration)Definition of the list_omnifocus_tasks tool name and description in the TOOLS array
["list_omnifocus_tasks", "List tasks from OmniFocus"], - server.js:1-11 (helper)Import statements and server initialization - includes MCP SDK imports and zod for validation
#!/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" });