create_note
Create new Apple Notes entries directly from AI agents. Automate note-taking by connecting Claude, Cursor, or Windsurf to macOS via Pilot MCP integration.
Instructions
Create a new note in Apple Notes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:82-86 (registration)Tool registration loop that registers 'create_note' along with all other tools. Each tool is registered with the MCP server using server.tool() with a generic stub handler that returns a message directing users to install the full macOS binary.
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:34-34 (registration)Definition of 'create_note' in the TOOLS array with its description 'Create a new note in Apple Notes'. This is where the tool name and description are defined before being registered in the loop.
["create_note", "Create a new note in Apple Notes"], - server.js:1-11 (helper)Import statements and server initialization. Imports the MCP SDK (McpServer, StdioServerTransport) and zod for schema validation, then creates the server instance.
#!/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" });