get_contact
Look up full contact details by name from macOS Contacts. Retrieve phone numbers, emails, and addresses to integrate your local address book with AI agent workflows.
Instructions
Get full contact details by name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:82-86 (registration)Tool registration loop where 'get_contact' is registered with the MCP server using server.tool(). All tools in the TOOLS array are registered here with an empty schema and 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:31-31 (registration)The 'get_contact' tool is defined in the TOOLS array with its description 'Get full contact details by name'. This is where the tool is listed for registration.
["get_contact", "Get full contact details by name"], - server.js:82-86 (handler)The stub handler function for all tools including 'get_contact'. Returns a placeholder message indicating this is an inspection stub and directing users to install the real Pilot MCP on macOS.
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:82-86 (schema)Empty schema object `{}` used for all tools including 'get_contact'. No input validation is defined in this stub server.
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" }], })); }