contacts_health
Contacts Health
Report the active Apple Contacts MCP configuration.
无需输入参数。

io.github.JonathanRReed由 GitHub 账号 JonathanRReed 发布v1.1.6更新于 Nov 7, 2026
Inspect and search Apple Contacts on macOS, and resolve a contact into a message-ready recipient.
本地 macOS MCP 服务器,让助手列出、搜索、读取和编辑 Apple 通讯录,并把联系人解析为可直接发消息的电话号码或邮箱。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
MCP server for Apple Contacts on macOS.
Provides access to contacts for lookup, search, and recipient resolution. Use before sending messages to resolve names into phone numbers or email addresses.
search_tools and get_tool_info for context-constrained clientscontacts_find_duplicates, contacts_suggest_merge_candidates)contacts_health, contacts_permission_guide, contacts_recheck_permissionsThis builds one workspace environment with every server's entry point in .venv/bin (for example .venv/bin/apple-contacts-mcp). You can also point an MCP client at AppleContacts-MCP/start.sh, which prefers uv run and falls back to a plain venv bootstrap (Python 3.11+ required).
Running from a clone instead? Use /path/to/Apple-MCPs/AppleContacts-MCP/start.sh as the command with empty args.
--scope user makes the server available in every project. To share it with one repository through its .mcp.json instead, use --scope project.
safe_readonlysafe_managefull_accessstdio is the default and recommended transport. Set APPLE_CONTACTS_MCP_TRANSPORT=streamable-http (with optional APPLE_CONTACTS_MCP_HOST and APPLE_CONTACTS_MCP_PORT) to serve Streamable HTTP instead.
Name and organization searches use Contacts.app's filtered lookup. A no-match name returns an empty result without scanning the whole address book. Phone queries with a numeric/punctuation base, including recognized extension suffixes (ext, ext., extension, extn., x, #, and ;ext=) and an optional tel: prefix, retain the paginated directory fallback for method-value matching. Email queries containing @ retain it too. Extension matching keeps the base number and extension separate, requires the exact extension, and allows local-number suffix matching. Recipient resolution chooses the matching phone method and rejects multiple distinct matching methods.
Literal control characters and complex emoji returned by Contacts are decoded on the Python side without changing their text.
contacts_health reads native authorization status without requesting access or reading contacts. permission_status distinguishes authorized, unknown, denied, and failed checks. The AppleScript backend reports unknown authorization without sending Apple Events. Explicit Contacts operations retain their permission checks.uvx apple-contacts-mcp (or a clone's AppleContacts-MCP/start.sh) to your MCP clientcontacts_health firstcontacts_permission_guidecontacts_recheck_permissionstools/list returns the full Contacts tool surface. Context-constrained clients can use search_tools first, then get_tool_info for the Contacts tool they need.phones or emails arrays only when you intend to replace that method set.Contacts uses CNContactStore by default, so reads and writes do not wait for Contacts.app. First use compiles the packaged Swift helper with Xcode Command Line Tools and caches a signed application bundle, Apple Contacts MCP Helper, under ~/.apple-mcps/build. Set APPLE_CONTACTS_MCP_HELPER_BUILD_DIR to choose another build directory. If the app running the MCP server already has Contacts access, it is used. Otherwise macOS asks whether Apple Contacts MCP Helper may access Contacts. See Calendar, Reminders and Contacts: who macOS asks about.
Set APPLE_CONTACTS_MCP_BACKEND=applescript to use the previous backend. The native backend returns first and last names directly and preserves phone/email update semantics: omit a collection to keep it, or pass [] to clear it. Contact notes require a separate macOS entitlement; a nonempty note is rejected before a native write. The AppleScript backend remains available for notes.
The helper also answers lookup_handles (a JSON array of phone numbers or email addresses) with the contacts that could own them, in one pass over the directory. Unlike the other commands it never asks for access: without a grant it returns PERMISSION_DENIED or AUTHORIZATION_UNKNOWN. AppleContactsBridge.lookup_handles applies the phone_matching exact-owner rules to that set, and Apple-Tools-MCP uses it to name Messages handles, only when the helper is already built. It is not exposed as an MCP tool.
The native helper compiles an immutable source snapshot into a bundle named by its full SHA-256 hash. A source change during compilation is rejected, and a concurrent build cannot replace an installed bundle. Different source versions keep separate executables with the same bundle identifier. The helper is ad-hoc signed, so macOS may ask once more after an update that changes its source.
The native helper is adapted from Jaume Puig's work in JaumeAP/Apple-MCPs.
来源:AppleContacts-MCP/README.md,提交 9aeaa81
Contacts Health
Report the active Apple Contacts MCP configuration.
无需输入参数。
Contacts Permission Guide
Explain how to grant Apple Contacts permission on macOS.
无需输入参数。
Contacts Recheck Permissions
Recheck Contacts access after the user changes macOS permissions, and notify the client that Contacts resources changed.
无需输入参数。
List Contacts
List Apple Contacts entries.
limitoffsetSearch Contacts
Search Apple Contacts by name, phone number, or email address.
limitquery必填Get Contact
Fetch full details for an Apple Contacts record by contact_id.
contact_id必填Resolve Message Recipient
Resolve a contact into a message-ready phone number or email address.
query必填channelFind Duplicate Contacts
Find likely duplicate Apple Contacts records using names, nicknames, phone numbers, and email addresses.
无需输入参数。
Suggest Merge Candidates
Return likely duplicate Apple Contacts groups that are strong candidates for cleanup review.
queryCreate Contact
Create a new contact in Apple Contacts with a first name (required) and optional last name, organization, and note.
noteemailsphoneslast_namefirst_name必填organizationUpdate Contact
Update an existing contact's information. Only the fields you provide will be changed.
noteemailsphoneslast_namecontact_id必填first_nameorganizationDelete Contact
Permanently delete a contact by contact_id. Requires full_access safety mode.
contact_id必填Contacts List Prompts
Fallback prompt discovery tool for tool-only MCP clients.
无需输入参数。
Contacts Get Prompt
Fallback prompt rendering tool for tool-only MCP clients.
name必填arguments_jsonSearch Tools
Search this server's tool catalog by keyword, alias, or domain tag.
modelimitquery必填domain_tagsGet Tool Info
Load the full schema, examples, and metadata for one tool from this server.
name必填include_schemainclude_examples已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
uvx apple-contacts-mcpgit clone https://github.com/JonathanRReed/Apple-MCPs.gitcd Apple-MCPsuv sync --all-packages{ "mcpServers": { "apple-contacts": { "command": "uvx", "args": ["apple-contacts-mcp"], "env": { "APPLE_CONTACTS_MCP_SAFETY_MODE": "safe_manage" } } }}claude mcp add --transport stdio --scope user apple-contacts -- uvx apple-contacts-mcp