AI & MCP Server
Connect BusyContacts for Mac to Claude, Codex, ChatGPT, Gemini, or any other AI assistant that supports the Model Context Protocol (MCP). Ask your assistant to search contacts, check upcoming birthdays and anniversaries, review contact activity metadata, create cards from Quick Entry text, edit individual fields, organize tags, compare address books, or import and export vCards through conversation.
BusyContacts includes a built-in, opt-in Streamable HTTP MCP server with 33 contact tools. Claude Code, Codex, and other Streamable HTTP clients connect directly to BusyContacts' local HTTP server on your Mac without installing a separate bundle. Clients that start a local stdio MCP server (such as Claude Desktop) can use the optional local stdio connector or invoke BusyContacts directly with --mcp-stdio. To connect ChatGPT or another cloud client, see Connect from Another Device or a Cloud Client.
Ask Your Assistant to Set It Up
The quickest way to connect BusyContacts on this Mac is to let your AI assistant handle the setup. First, open BusyContacts, press ⌘, to open Settings, select Automation, and turn Automation on. Then paste this prompt into your assistant:
Connect this client to BusyContacts for Mac using the setup guide at:
https://www.busymac.com/docs/busycontacts/mcp.md
Use the local connection on this Mac. Keep the access key out of the chat.
If a step needs my input, tell me what to do.
Then run a read-only check by listing my BusyContacts address books.
Keep BusyContacts open with Automation turned on while testing. Once your assistant lists your address books, try the examples below.
Requirements
- macOS 13.5 or later on the Mac running BusyContacts.
- BusyContacts for Mac open with Automation turned on in BusyContacts > Settings > Automation. If you use the optional
BusyContactsMCPBridgeconnector's automatic app discovery, install BusyContacts in/Applications,~/Applications, or/Applications/Setapp, and keep only one edition running if you have both direct and Setapp builds installed. - An MCP-compatible client, such as Claude Code, Codex, Claude Desktop (0.11.0 or later), ChatGPT, Gemini, or another Streamable HTTP or local stdio client.
Unlike BusyCal's MCP connector, BusyContacts does not launch automatically when an assistant connects. Keep BusyContacts open with Automation turned on whenever your assistant uses your contacts. Quitting and reopening BusyContacts keeps your saved port and access key so clients reconnect automatically.
Connect on This Mac
- Open BusyContacts, choose BusyContacts > Settings (or press
⌘,), select Automation, and turn Automation on. Confirm the status beneath the switch shows Ready. - Connect your AI client using the matching setup option below.
- Verify the connection with a read-only check by asking your assistant: “List my BusyContacts address books.”
BusyContacts never installs or modifies client configurations on its own.
Claude Code or Codex
- Open BusyContacts > Settings > Automation.
- Under Set Up an App, click Copy Command beside Claude Code or Codex.
- Open Terminal on the same Mac, paste the command, and press
Return. - Restart your client so it loads the new connection.
Both setup commands connect directly to BusyContacts' local HTTP URL and read your access key from macOS Keychain via BusyContacts' --mcp-access-key flag when you run them, keeping the key out of chat and shell history.
- Claude Code: Replaces your user-scoped
busycontactsserver with a staticAuthorization: Bearerheader. Re-run the command from Settings if you click Replace Key… or turn Automation off and back on. - Codex: Reads this edition's Keychain access key, exports an edition-specific environment variable in Terminal, registers it for GUI apps opened later in your current macOS login session (
launchctl setenv), and adds the server withcodex mcp add --urland--bearer-token-env-var. Because macOS clears login-session environment variables when you log out or restart your Mac, re-run the command from Settings after signing back in, and whenever you replace the access key.
Other Streamable HTTP Clients
- In your client's MCP settings, add a new server named BusyContacts and choose Streamable HTTP.
- In BusyContacts > Settings > Automation, under Set Up an App > Other MCP apps, click Copy URL and paste it into your client's server URL field.
- Click Copy Access Key and configure your client to send
Authorization: Bearer <access key>as an HTTP header (never in a URL query string). Copying the key keeps it local to this Mac and marks it concealed for clipboard managers. - Save your settings and restart or reconnect the client.
The local URL starts with http://127.0.0.1: and ends in /mcp. macOS assigns a port when you first turn on Automation, and BusyContacts keeps that port across launches while Automation remains on. Once you save a remote URL under Advanced > Your HTTPS address, Other MCP apps displays and copies that HTTPS URL while the local 127.0.0.1 URL stays shown in Advanced for your reverse proxy.
Claude Desktop and Local STDIO Clients
If your MCP client launches a local command over standard input and output (stdio) instead of connecting directly to a Streamable HTTP URL (such as Claude Desktop or another stdio-only desktop app or CLI), choose one of these three local options:
Option 1: Install the BusyContacts connector for Claude Desktop or Claude plugins
The BusyContacts MCP plugin repository packages the signed, Apple-notarized native connector (server/BusyContactsMCPBridge) with .claude-plugin/plugin.json and .mcp.json for Claude clients that load a local plugin. When a signed .mcpb release bundle is available on the Releases page:
- For Claude Desktop (0.11.0 or later), open Settings > Extensions > Advanced settings, click Install Extension…, and select the downloaded
busycontacts.<version>.mcpbfile (or double-click the.mcpbfile). - Claude Desktop displays a standard warning for sideloaded extensions. Confirm Install to continue. The signed, Apple-notarized
BusyContactsMCPBridgeconnector makes no outbound Internet connections and only forwards MCP requests to your running BusyContacts app on127.0.0.1. - Keep BusyContacts installed in
/Applications,~/Applications, or/Applications/Setappand open with Automation turned on. If both the direct and Setapp editions are running at the same time, quit the extra edition so the connector knows which database to use. - Open a new chat and ask Claude to list your BusyContacts address books.
Option 2: Run BusyContacts directly with --mcp-stdio (no separate download)
Any stdio MCP client can launch your installed BusyContacts app executable directly with --mcp-stdio, which reads that signed edition's Keychain credential automatically and forwards requests to the running local HTTP server.
Add an entry like this to your client's MCP JSON configuration:
{
"mcpServers": {
"busycontacts": {
"command": "/Applications/BusyContacts.app/Contents/MacOS/BusyContacts",
"args": ["--mcp-stdio"]
}
}
}
If you installed BusyContacts through Setapp, use /Applications/Setapp/BusyContacts.app/Contents/MacOS/BusyContacts as the command.
Option 3: Run BusyContactsMCPBridge in a manual stdio configuration
If you use the standalone BusyContactsMCPBridge binary in a manual stdio configuration:
- Automatic edition detection: Run
BusyContactsMCPBridgewith no arguments and no environment variables. It locates your running release or Setapp BusyContacts app in/Applications,~/Applications, or/Applications/Setapp(never auto-selecting Debug builds) and hands off to that app's--mcp-stdiohelper. Quit any extra running edition if both direct and Setapp builds are open, or setBUSYCONTACTS_MCP_APP_PATHto pin a specific.appbundle. - Explicit URL and key: Set both
BUSYCONTACTS_MCP_URL(the exact localhttp://127.0.0.1:<port>/mcpaddress) andBUSYCONTACTS_MCP_ACCESS_KEYtogether in the client's process environment. Store the key in your client's configuration rather than pasting it into chat.
Both --mcp-stdio and BusyContactsMCPBridge are headless HTTP relays on the same Mac. They never open a BusyContacts window or contacts database, never launch BusyContacts when the app is closed, never use Unix sockets, make no outbound Internet connections, and disable system proxies and HTTP redirects. Automatic BusyContactsMCPBridge discovery exits on startup if BusyContacts is closed, if multiple editions are running, or if Automation is turned off. Direct --mcp-stdio and pinned BUSYCONTACTS_MCP_APP_PATH launches exit on startup when Automation is turned off (no saved Keychain profile); if Automation stays enabled while BusyContacts is closed, or when using explicit BUSYCONTACTS_MCP_URL and BUSYCONTACTS_MCP_ACCESS_KEY, the relay starts and returns JSON-RPC error -32603 on each request until BusyContacts is open with Automation running.
What You Can Do
With BusyContacts connected, your assistant works within your normal BusyContacts permissions. Changes save through BusyContacts' editing pipeline and sync through the accounts you already use.
- Browse and search contacts: List address books, tags, and saved Smart Filters, enumerate contacts, or search by text, tags, company, email, phone, missing fields, birthday range, or timestamps.
- Check celebrations and activity: List upcoming birthdays, anniversaries, and custom dates, or check Apple Mail and BusyCal activity metadata on record for a contact.
- Create and edit cards precisely: Preview and save Quick Entry text, create structured person or company cards, patch scalar fields on 1 to 100 cards in one batch, or add, update, and remove individual phones, emails, addresses, dates, URLs, social profiles, IM accounts, related names, and custom fields.
- Take notes and organize tags: Append plain-text or dated notes to synced Notes or private My Notes, and add or remove synced Tags or private My Tags.
- Clean up and compare address books: Compare two address books to find unlinked or missing contacts, duplicate cards, move cards across address books, and link, unlink, merge, or delete physical cards.
- Work with vCards and photos: Export or import vCard 3.0 files (up to 500 cards and 4 MiB) and read, set, or clear a contact's primary photo or company logo.
- Work alongside the BusyContacts window: Read the contacts you currently have selected in BusyContacts, open a card in the main window or a floating Info window, or activate a saved Smart Filter.
Examples
Describe what you want in plain language and name the address book, tag, Smart Filter, or contact you are working with. Try these requests after connecting your assistant.
Search, filter, and check address books
You: List my BusyContacts address books and show which ones are writable.
You: List the first 10 contacts in my Work address book sorted by last name.
You: Find contacts tagged Client who do not have a phone number.
Your assistant uses list_address_books, list_contacts, and search_contacts (for example with tagsAll: ["Client"] and lacksFields: ["phone"]).
Check upcoming birthdays and anniversaries
You: Show upcoming birthdays and anniversaries over the next 30 days.
Your assistant calls list_upcoming_dates, which checks recurring dates over a Gregorian window of 1 to 366 days (30 days from today by default) and reports each contact's upcoming date and age when a birth year is recorded.
Review contact activity metadata
You: Find everyone at Analytical Engines in my Work address book and show the recent email and calendar activity metadata BusyContacts has on record for each of them.
Your assistant searches with search_contacts and checks each person with query_activity. Activity replies include only metadata (dates, subjects or titles, participants, and open links) and report whether Apple Mail and BusyCal sources were available. Message bodies are never shared.
Create contacts from Quick Entry text or structured details
You: Preview how Quick Entry parses this signature block before saving anything, then create the contact in my Work address book.
You: Add Ada Lovelace at Analytical Engines to my Work address book with her work email
ada@example.com, mobile number+44 20 7946 0192, and the tag Conference.
Your assistant uses parse_contact_text to preview Quick Entry text without saving, then create_contact_from_text or create_contact once you confirm.
Append notes, update fields, and organize tags
You: Add a dated note to Ada Lovelace's card summarizing today's planning call.
You: Change Ada Lovelace's job title to Principal Engineer and update her work email to
ada.lovelace@example.com.
You: Tag Ada Lovelace and Grace Hopper as Speakers in my Work address book.
Your assistant uses append_note (with dated: true), update_contact for scalar fields, update_contact_field for an exact field row (fieldID), and add_tags for bulk tagging.
Compare address books and merge duplicate cards
You: Compare my iCloud and Work address books and show cards in iCloud that have no linked card or matching email in Work.
You: I have two cards for Ravi Patel. Show me what differs between them, then merge them into one.
Your assistant uses compare_address_books to find unlinked or unmatched cards without editing either book, inspects physical cards with get_contact (includeAllCards: true), and merges them with merge_contacts.
Act on your current selection or open a card
You: Add the Follow-up tag to the contacts I currently have selected in BusyContacts.
You: Open Ada Lovelace's card in a floating Info window in BusyContacts.
Your assistant reads the main window selection with selected_contacts (without activating a window) and reveals a specific card with open_contact (floating: true).
Scope, Private Fields, and Card Identity
These BusyContacts permissions and behaviors stay active whenever automation is enabled:
- Address book permissions and excluded sources: Read-only address books stay read-only for synced fields, and accounts or sources you exclude in BusyContacts' source list stay hidden from automation. Unchecked address books remain readable unless their source is excluded. Group cards are omitted from ordinary contact queries.
- Private notes and local tags: My Notes and My Tags are hidden from searches, reads, and tag counts unless a request explicitly passes
includePrivate: true. - Tag scopes for edits:
add_tagsandremove_tagssupport three scopes:
scope | Behavior |
|---|---|
"global" (default) | Writes or removes synced Tags. Rejects read-only cards with readOnlyContact. |
"local" | Writes or removes private My Tags, which can work even on read-only cards. |
"best" | Uses synced Tags when a card is writable and falls back to My Tags when a card is read-only (per card). |
- Contact activity metadata:
query_activityreturns Apple Mail metadata (from captured Mail Assistant history and indexed local Mail) and BusyCal calendar metadata (while BusyCal is open). It returns only kind, date, subject or title, participants, and an open link, never message bodies, snippets, or attachments, never sends messages, and never launches BusyCal. Access is controlled separately by Share contact activity with automation in BusyContacts > Settings > Integrations, independent of Settings > Automation and Mail capture. - Tool safety hints: Read-only tools carry
readOnlyHint: true. Tools that replace, remove, or overwrite data carrydestructiveHint: true(deleting, merging, unlinking, importing, moving, updating cards or fields, removing tags, setting or clearing a photo, and the two tools that can write an optionaloutputFile,export_contactsandget_contact_photo). Tools that only add data (such as creating a contact or adding a field, note, or tag) do not carry a destructive hint. Hints advise your client; whether your assistant prompts before running a tool depends on its own permission settings.
search_contacts and get_contact return merged linked sets by default, while list_contacts defaults to physical cards (view: "physical"). Writes always target explicit physical card IDs (bcc1.…), and field edits target exact field IDs (bcf1.…). Moving or merging cards can assign new card IDs returned in idTransitions; after a move, merge, or sync refresh, fetch the contact again if an ID changes.
Available Tools
You do not need to memorize tool names to chat with your assistant. The tables below summarize all 33 tools exposed by BusyContacts. AI clients should call tools/list for the authoritative JSON schemas, enums, defaults, and bounds.
Read and Discovery
| Tool | Access | What it does and key arguments |
|---|---|---|
list_address_books | Read-only | List eligible address books, accounts, and write-access status. Optional: accountID, writableOnly, offset, limit. |
list_tags | Read-only | List tags and distinct eligible physical-card counts. Optional: addressBookIDs, scope (global, local, both; local/both require includePrivate: true), includePrivate, offset, limit. |
list_smart_filters | Read-only | List saved Smart Filters without activating them in the window. Optional: offset, limit. |
list_contacts | Read-only | Enumerate eligible contacts without free-text search. Defaults to view: "physical"; pass view: "merged" to collapse accessible linked sets. Supports address book, Smart Filter, tag, company, email, phone, field presence, birthday, timestamp, sort, descending, includePrivate, and pagination options. |
search_contacts | Read-only | Search eligible contacts by text and structured filters combined with AND (addressBookIDs, smartFilterID, tagsAny, tagsAll, tagsExactly, tagScope, company, email, phone, phoneCountry, hasFields, lacksFields, birthdayStart, birthdayEnd, createdSince, modifiedSince). Merges linked cards by default (includeAllCards: true returns physical cards). |
get_contact | Read-only | Get the accessible linked set anchored by a physical contactID, or your unambiguous Me card with "me". Optional: includeAllCards (adds physicalCards), includePrivate. |
selected_contacts | Read-only | Read the contacts currently selected in the main BusyContacts window without opening or activating a window. Optional: includeAllCards, includePrivate, offset, limit. |
list_upcoming_dates | Read-only | List recurring birthdays, anniversaries, and other contact dates (excluding death dates) in a Gregorian day range (start inclusive, end exclusive, 1 to 366 days; defaults to 30 days from today). Optional: kinds (birthday, anniversary, other), addressBookIDs, timeZone, offset, limit. |
query_activity | Read-only | Read enabled mail and calendar activity metadata for one contactID and report per-source availability. Optional: kinds (mail, calendar), start, end (ISO 8601 with zone), limit. Never launches BusyCal. |
compare_address_books | Read-only | Compare eligible physical cards between sourceAddressBookID and targetAddressBookID using matchBy (linked or default linked_or_email), without editing either book. Optional: offset, limit. |
parse_contact_text | Read-only | Preview Quick Entry parsing and provider warnings for text (up to 64 KiB UTF-8) without saving a contact. Optional: addressBookID. |
Create and Edit
| Tool | Access | What it does and key arguments |
|---|---|---|
create_contact | Adds data | Create one person or company card in an explicit writable addressBookID using a contact object (requires at least a name, company, field, or photo; notes and tags alone are rejected). |
create_contact_from_text | Adds data | Parse Quick Entry text (up to 64 KiB UTF-8) and create a contact in an explicit addressBookID, a unique book hint in the text, or the eligible default address book. |
update_contact | Destructive | Patch scalar properties on one physical contactID via changes. Omitted keys stay unchanged; null clears nullable scalars (and photoPath: null clears only the current primary image). |
update_contacts | Destructive | Patch 1 to 100 distinct physical cards in one atomic updates batch. Any validation error rejects the whole batch. |
add_contact_field | Adds data | Add one typed field (phone, email, url, address, date, related_name, social_profile, instant_message, or custom) to a physical contactID and return the created field (including its field.id). |
update_contact_field | Destructive | Patch one current field (contactID + fieldID) via changes, preserving omitted components, kind, sort order, and row identity. Structured components accept null to clear. |
remove_contact_field | Destructive | Remove one exact physical field row by contactID and fieldID. Returns fieldNotFound if stale or missing. |
append_note | Adds data | Append up to 1 MiB UTF-8 of plain text to a physical contactID. Optional: dated: true and private: true (My Notes). |
add_tags | Adds data | Add case-sensitive tags to 1 to 100 physical contactIDs. Optional: scope (global default, local, or best). |
remove_tags | Destructive | Remove exact tags from 1 to 100 physical contactIDs. Optional: scope (global default, local, or best). |
duplicate_contact | Adds data | Duplicate one physical contactID into its current address book or an explicit writable addressBookID and return the new card ID. |
Organize, Link, and Delete
| Tool | Access | What it does and key arguments |
|---|---|---|
move_contacts | Destructive | Move 1 to 100 physical contactIDs to a writable addressBookID and return new destination IDs in idTransitions. |
link_contacts | Adds data | Link 2 to 100 supplied physical contactIDs and their eligible peers without merging field values. Rejects the request if an existing linked peer is excluded. |
unlink_contacts | Destructive | Remove local link relationships for explicit physical contactIDs. Optional: includeLinkedCards: true expands to all linked peers. |
merge_contacts | Destructive | Merge explicit physical contactIDs (optionally with includeLinkedCards: true) and return survivors, retainedCardIDs, relinkedCardIDs, deletedCardIDs, and known idTransitions. |
delete_contacts | Destructive | Delete 1 to 100 supplied physical contactIDs. Optional: includeLinkedCards: true expands to eligible linked cards. |
Import, Export, and Photos
| Tool | Access | What it does and key arguments |
|---|---|---|
export_contacts | Destructive (optional file write) | Export exactly one selector (contactIDs up to 500, addressBookID, or a global tag) as vCard 3.0 (up to 500 cards and 4 MiB total). Optional: mergeLinked, includeNotes (default true), includePhotos, absolute outputFile, overwrite (default false). Always omits private/local-only data. |
import_contacts | Destructive | Import UTF-8 vcardText or an absolute inputFile (up to 500 cards and 4 MiB, including affected cleanup cards) into an explicit writable addressBookID. Updates the local Last Import tag. |
get_contact_photo | Destructive (optional file write) | Read the primary photo or company logo for contactID as lossless PNG without changing stored attachments (inline base64 or absolute outputFile with explicit overwrite). Larger photos scale down proportionally to at most 4 MiB and 40 megapixels. |
set_contact_photo | Destructive | Set the primary image for contactID from an accessible absolute inputFile path (proportionally scaled to a PNG up to 4 MiB and 40 megapixels without modifying the source file), or pass inputFile: null to clear the current primary image. |
Navigation
| Tool | Access | What it does and key arguments |
|---|---|---|
open_contact | UI navigation | Reveal an exact physical contactID in the main BusyContacts window or in a floating Info window (floating: true). May create and activate UI. |
show_smart_filter | UI navigation | Activate a saved smartFilterID in the main BusyContacts window. May create and activate UI. |
Quick Reference for AI Clients
If you are an AI assistant or building an MCP client for BusyContacts for Mac, follow these protocol, schema, and safety contracts:
| Topic | Contract |
|---|---|
| Transport & protocol | Built-in opt-in Streamable HTTP (POST /mcp, Content-Type: application/json, 8 MiB request/response cap, Connection: close, Cache-Control: no-store) at http://127.0.0.1:<port>/mcp. Implements MCP protocol versions 2025-11-25 and 2025-06-18; send MCP-Protocol-Version on post-initialize requests. initialize returns instructions and (for 2025-11-25) serverInfo.websiteUrl pointing to https://www.busymac.com/docs/busycontacts/mcp/. Notifications (notifications/*) return HTTP 202 with an empty body. BusyContacts must be open with Settings > Automation on. |
| HTTP status & auth | Send Authorization: Bearer <64-hex-char key> as an HTTP header only (never in a query string). Missing/invalid bearer returns 401. Unrecognized Host (allowed: 127.0.0.1:<port>, localhost:<port>, or saved remote https host) or browser Origin returns 403. Non-/mcp paths return 404; non-POST returns 405; incoming HTTP requests (or final JSON-RPC response envelopes) over 8 MiB return 413; non-JSON Content-Type returns 415; inactive server returns 503. |
| Response envelope | Successful tool calls return structuredContent.result (camelCase) and a text copy in content[0].text. Failures return HTTP 200 with isError: true and structuredContent.error (code, message, optional details), including payloadTooLarge when a tool result or input exceeds a size or card-count cap. For large replies (such as inline photos or vCards) that fit inside 8 MiB once but not twice, structuredContent.result holds the full payload and content[0].text states "See structuredContent.result for the full response.". Mutations report savedLocally: true only after local save and publication. |
| Schemas & naming | Call tools/list for authoritative JSON schemas (33 tools). Tool names are snake_case; arguments and results are camelCase. Unknown keys are rejected (additionalProperties: false). |
| Opaque identifiers | Edition-scoped tokens: contacts (bcc1.…), fields (bcf1.…), address books (bcb1.…), accounts (bca1.…), Smart Filters (bcs1.…), and tags (bct1.…). "me" is accepted only by get_contact. Replace saved card IDs using idTransitions after moves or merges, and refetch field IDs on fieldNotFound instead of matching by value. |
| Views & writes | search_contacts and get_contact merge accessible linked sets by default; list_contacts defaults to view: "physical". All writes target explicit physical card IDs (bcc1.…). |
| Dates & timestamps | Timestamps (createdSince, modifiedSince, query_activity start/end) require ISO 8601 with Z or an explicit offset. Day filters (birthdayStart, birthdayEnd, list_upcoming_dates start/end) use Gregorian YYYY-MM-DD with optional IANA timeZone. ContactDate requires all three keys: {"year": <1..9999 or null>, "month": <1..12>, "day": <1..31>}. |
| Editing & clearing | Omit keys on update_contact, update_contacts, and update_contact_field to keep current values; pass null only on nullable scalars or structured field components. Field kinds (field.kind, hasFields, lacksFields): phone, email, url, address, date, related_name, social_profile, instant_message, custom (custom requires a non-empty label). sort: display_name (default), first_name, last_name, company, created_at, modified_at. |
| Bounds & file rules | Pagination: offset 0 to 100000 (default 0), limit 1 to 500 (default 50), evaluated against current saved state (no snapshot across pages). Batch writes: 1 to 100 cards. list_upcoming_dates: 1 to 366 days. vCard import/export: up to 500 cards and 4 MiB total. Photos: lossless PNG up to 4 MiB and 40 megapixels (orientation applied, transparency preserved, proportional downscale without editing source or stored files; company logo takes priority over photo on read and clear). Notes: 1 MiB UTF-8. Quick Entry: 64 KiB UTF-8. File paths must be literal absolute paths starting with / (no ~ expansion, no implicit directory creation, explicit overwrite: true required to replace existing files). |
| Retries & error codes | Never auto-retry non-idempotent tools after transport loss without inspecting saved records: create_contact, create_contact_from_text, import_contacts, duplicate_contact, append_note, add_contact_field, move_contacts, merge_contacts, or primary-photo clears via set_contact_photo / update_contact / update_contacts. Handle typed error codes cleanly, including fieldNotFound, staleIdentifier, readOnlyAddressBook, readOnlyContact, privateDataRequired, needsLinkedCards, providerLimit, targetChanged, fileExists, fileAccessDenied, photoNotFound, payloadTooLarge, and timedOut. Account-specific limits (such as Exchange EWS or Microsoft Graph) return providerLimit errors or providerWarnings. |
Example Tool Payloads
These schema-valid payloads illustrate the most common multi-field arguments:
Read-only connection check (list_address_books):
{
"writableOnly": true,
"limit": 20
}
Search contacts missing a phone number (search_contacts):
{
"tagsAll": ["Client"],
"lacksFields": ["phone"],
"limit": 25
}
Create a contact with a yearless birthday and fields (create_contact):
{
"addressBookID": "bcb1.…",
"contact": {
"firstName": "Ada",
"lastName": "Lovelace",
"company": "Analytical Engines",
"jobTitle": "Chief Engineer",
"birthday": { "year": null, "month": 12, "day": 10 },
"tags": ["Conference"],
"fields": [
{ "kind": "email", "label": "work", "value": "ada@example.com" },
{ "kind": "phone", "label": "mobile", "value": "+44 20 7946 0192" }
]
}
}
Patch a scalar and clear notes (update_contact):
{
"contactID": "bcc1.…",
"changes": {
"jobTitle": "Principal Engineer",
"notes": null
}
}
Patch components of one address field without touching others (update_contact_field):
{
"contactID": "bcc1.…",
"fieldID": "bcf1.…",
"changes": {
"value": {
"city": "London",
"postalCode": "SW1A 1AA",
"region": null
}
}
}
Connect from Another Device or a Cloud Client
A cloud client or an app on another device cannot reach 127.0.0.1 on your Mac. BusyContacts binds only to IPv4 loopback (127.0.0.1), never opens your macOS firewall, does not implement OAuth, and does not relay data through a BusyMac service.
To connect remotely, run an HTTPS reverse proxy on the same Mac as BusyContacts. Keep your Mac awake and BusyContacts open with Automation turned on while remote clients connect.
- Give your reverse proxy a public HTTPS address ending in
/mcp, and configure it to forward HTTPPOSTrequests to BusyContacts' local URL:- Forward the incoming
Hostheader (and any browserOriginheader) matching the public HTTPS address you save in BusyContacts. BusyContacts rejects unrecognizedHostorOriginheaders with HTTP403. - If your public HTTPS address includes a path prefix (for example,
https://example.com/contacts/mcp), strip the prefix so BusyContacts receives/mcp.
- Forward the incoming
- In BusyContacts > Settings > Automation, expand Advanced, enter that exact public HTTPS address under Your HTTPS address, and click Save. Once saved, Other MCP apps displays your HTTPS address so Copy URL copies the remote URL, while your local
127.0.0.1URL remains visible in Advanced for your proxy. Click Clear to stop allowing remote hosts. - Configure the remote client with your HTTPS URL:
- Direct bearer-token clients: Send
Authorization: Bearer <access key>as an HTTP header and let your proxy passAuthorizationthrough to BusyContacts. - Cloud clients requiring OAuth (such as ChatGPT custom MCP servers or Claude custom connectors): Run an authenticating OAuth reverse proxy in front of BusyContacts. Store the BusyContacts access key in the proxy's secret store and add
Authorization: Bearer <access key>only on authorized requests forwarded to BusyContacts. See OpenAI's custom MCP setup or Claude's custom connector setup.
- Direct bearer-token clients: Send
For example, if BusyContacts shows http://127.0.0.1:53689/mcp, this Caddy configuration forwards /mcp requests while preserving the incoming Host header (substitute your own hostname and port; add an OAuth layer in front when required by a cloud client):
contacts.example.com {
reverse_proxy /mcp 127.0.0.1:53689
}
Privacy and Security
- Off by default and local-only: BusyContacts' built-in MCP server starts disabled, binds only to IPv4 loopback (
127.0.0.1), and stores its per-installation 256-bit bearer access key in the local macOS Keychain (device-only, not synced to iCloud Keychain). - Safe key copying: Clicking Copy Access Key keeps the key on this Mac's clipboard and marks it concealed for clipboard managers.
- No BusyMac relay: BusyContacts never relays your contacts through a BusyMac server, never opens a network port outside loopback directly, and never installs itself into other apps automatically.
- Third-party handling: BusyContacts returns only the contact fields, photos, or activity metadata that your assistant requests. Your AI provider handles any data it receives under its own terms and privacy policy.
- Independent controls: Address book permissions, source-list exclusions,
includePrivateopt-in for My Notes and My Tags, and Share contact activity with automation in Settings > Integrations remain enforced independently.
Troubleshooting
The client cannot connect
Check that BusyContacts is open on the right Mac and that Automation is turned on and shows Ready in BusyContacts > Settings > Automation. If Settings reports Automation isn’t running., turn Automation off and then on again to restart the server. Confirm the URL in your client matches the URL shown in Settings, then restart or reconnect your client. If you use the local stdio connector (BusyContactsMCPBridge), make sure BusyContacts is installed in /Applications, ~/Applications, or /Applications/Setapp, and quit any extra running edition if both the direct and Setapp versions are open.
The local stdio connector fails to start or connect
- Automatic
BusyContactsMCPBridgediscovery (no environment variables): Exits on startup if BusyContacts is not running, if Automation is turned off, if both the direct and Setapp editions are running at the same time, or if only a Debug or build-folder copy (or multiple copies outside/Applicationsand~/Applications) is running. Install BusyContacts in/Applications,~/Applications, or/Applications/Setappand keep a single edition open with Automation on, or setBUSYCONTACTS_MCP_APP_PATHto pin a specific.appbundle. - Direct
--mcp-stdioor pinnedBUSYCONTACTS_MCP_APP_PATH: Exits on startup if Automation is turned off (no saved Keychain profile) or ifBUSYCONTACTS_MCP_APP_PATHdoes not point to a valid BusyContacts.appbundle. If Automation is enabled while BusyContacts is closed, the relay starts and returns JSON-RPC error-32603on each request until you open BusyContacts. - Explicit
BUSYCONTACTS_MCP_URLandBUSYCONTACTS_MCP_ACCESS_KEY: Exits on startup if either variable is missing or empty, or if the URL is not an exacthttp://127.0.0.1:<port>/mcpaddress. Once started, requests return JSON-RPC error-32603if BusyContacts is closed, Automation is off, or the saved port or access key has changed.
The client reports an unauthorized request (HTTP 401)
Confirm that your client sends Authorization: Bearer <access key> as an HTTP header and never as a URL query parameter.
- Codex after logging out or restarting: The login-session environment variable set by the Codex setup command expires when you log out or restart your Mac. Open Settings > Automation, click Copy Command beside Codex, run it in Terminal, and restart Codex.
- After replacing the key or toggling Automation: Clicking Replace Key… under Settings > Automation > Advanced (and confirming Replace Key), or turning Automation off and back on, revokes the previous key immediately. Re-run the setup command from Settings for Claude Code or Codex, or update the saved access key in your client and reverse proxy.
A remote proxy or HTTP client returns HTTP 403, 404, 413, 415, or payloadTooLarge
- HTTP 403: Verify that the public HTTPS address saved under Settings > Automation > Advanced > Your HTTPS address matches the incoming
Hostheader (and any browserOriginheader) forwarded by your proxy. - HTTP 404: BusyContacts serves only
/mcp. If your public URL uses a path prefix, rewrite the path to/mcpbefore forwarding. - HTTP 413: Incoming HTTP requests (and final JSON-RPC response envelopes) cap at 8 MiB. Split large requests (such as
vcardTextimports orupdate_contactsbatches), keep request IDs short, or check whether a reverse proxy imposes a lower request body limit. - HTTP 415: Send
Content-Type: application/jsonwith HTTPPOST. payloadTooLarge(HTTP 200, or a local stdio JSON-RPC result, withisError: true): Returned when a tool result or input exceeds a size or card-count limit (such as the 8 MiB reply cap, the 4 MiB or 500-card import and export limits, the 1 MiB note or 64 KiB Quick Entry limits, the 500-card mutation limit, or an 8 MiB local stdio request). Request a smaller page (limit), export fewer cards, omit photos or notes when exporting vCards (includePhotos: false,includeNotes: false), or split large inputs.
Contacts, private notes, or activity are missing
- Address books or contacts missing: Check that the account or source is not excluded in BusyContacts' source list.
- Private notes or My Tags missing: Ask your assistant to include private fields (
includePrivate: true). - Contact activity unavailable: Turn on Share contact activity with automation in BusyContacts > Settings > Integrations. For calendar activity, BusyCal also needs to be running because BusyContacts never launches BusyCal automatically for automation queries.
The client says a contact or field is read-only or not found
Read-only address books reject edits to synced fields (though My Notes, My Tags, and local links may still be allowed). If a contact was moved, merged, or refreshed from a server, its card or field ID may have changed; ask your assistant to look up the contact again before retrying.
You want to stop access
Turn off Automation in BusyContacts > Settings > Automation. BusyContacts stops the local HTTP server and deletes the access key from Keychain immediately. Turning Automation on again later creates a new key, so update your clients and any reverse proxy before reconnecting.