1. Conduid
  2. Developer Tools
  3. Mac Messages Mcp.git
MCP server · Developer Tools

Mac Messages Mcp.git

An MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full support for sending and receiving messages.

Unclaimed MIT devtools
75Good

Scored 17 hours ago · breakdown

About Mac Messages Mcp.git

Mac Messages Mcp.git is an MCP server published by carterlasalle in the Developer Tools category: an MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full support for sending and receiving messages. Conduid read 18 tools from its source: tool_cancel_scheduled_message, tool_check_addressbook, tool_check_contacts, tool_check_db_access, tool_check_imessage_availability, tool_create_contact and 12 more. It is published to PyPI as mac-messages-mcp and runs with uvx.

The repository has 345 stars and 58 forks, is licensed MIT, and its last commit was on 25 Nov 2026. The latest release is v1.1.0 (1 Sep 2026): MCP tool and resource output derived from Messages and Contacts is serialized at a single untrusted-output boundary (present_untrusted_output). It is the only release Conduid has on record for this repository. It passes all 5 static checks Conduid ran on the repository. Its topics include devtools.

Install

uvx
uvx mac-messages-mcp
pip
pip install mac-messages-mcp
From source
git clone https://github.com/carterlasalle/mac_messages_mcp.git

Tools (18)

tool_cancel_scheduled_messageCancel one pending scheduled message
ParameterTypeDescription
job_id *stringJob id from tool_schedule_message or the queue listing.
tool_check_addressbookDiagnose Contacts/AddressBook database access
tool_check_contactsReturn a contact count and a small sample
tool_check_db_accessDiagnose access to `~/Library/Messages/chat.db`
tool_check_imessage_availabilityCheck likely iMessage availability for a phone number or email
ParameterTypeDescription
recipient *stringPhone number or email address to check for iMessage capability.
tool_create_contactCreate one Contacts.app entry with a phone number
ParameterTypeDescription
labelstringPhone label, such as "mobile" or "home".
name *stringFull name for the new contact; split on whitespace.
phone *stringPhone number; normalized to E.164 when it parses.
tool_find_contactFuzzy-match a name in Contacts and return phone numbers
ParameterTypeDescription
name *stringContact name or partial name to fuzzy-match in AddressBook.
tool_fuzzy_search_messagesSearch message bodies by approximate text match, scoped to a contact or chat; defaults to 30 days, or `hours=0`
ParameterTypeDescription
chat_idstringOptional conversation filter from tool_get_chats.
contactstringOptional contact filter: name, phone number, email, or "contact:N" from a previous contact match list.
end_datestringOptional inclusive end date "YYYY-MM-DD" (UTC); replaces the hours window.
hoursintegerNumber of hours to search backward. Default is 720; use 0 for all available messages.
limitintegerMaximum number of ranked matches to return.
search_term *stringText to fuzzy-match against message bodies.
start_datestringOptional inclusive start date "YYYY-MM-DD" (UTC); replaces the hours window.
thresholdnumberSimilarity threshold from 0.0 to 1.0. Default is 0.6; lower values are more lenient.
tool_get_attachmentFetch one attachment by ID, inline when supported or as a local path
ParameterTypeDescription
attachment_id *integerMessages attachment ROWID from tool_search_attachments or an attachment marker in message search results.
max_bytesintegerMaximum inline image payload size in bytes. Larger files return a local filesystem path instead.
tool_get_chatsList named group chats and their identifiers
tool_get_recent_messagesRead recent messages, filtered by contact, group chat ID, date range, or unread state; page with `limit`/`offset`
ParameterTypeDescription
chat_idstringOptional group chat identifier from tool_get_chats, such as "chat721054478304420871" or "iMessage;-;chat721054478304420871".
contactstringOptional contact filter: contact name, phone number, email address, or "contact:N" from a previous contact match list.
end_datestringOptional inclusive end date "YYYY-MM-DD" (UTC); replaces the hours window.
hoursintegerNumber of hours to look back from now. Default is 24.
limitintegerMaximum number of messages to return.
offsetintegerNumber of newest messages to skip, for paging older history.
since_rowidintegerCursor: return only messages with a greater ROWID, oldest first. Use for incremental reads.
start_datestringOptional inclusive start date "YYYY-MM-DD" (UTC); replaces the hours window.
unread_onlybooleanReturn only inbound messages still marked unread.
tool_list_conversationsList every conversation with kind, message count, unread count, and last activity
ParameterTypeDescription
limitintegerMaximum conversations to return.
unread_onlybooleanReturn only conversations with unread messages.
tool_list_scheduled_messagesList the in-process scheduled-message queue and its status
tool_schedule_messageQueue a message for later delivery while this server process runs
ParameterTypeDescription
attachment_pathsarrayAs in tool_send_message.
group_chatbooleanAs in tool_send_message.
message *stringText body to send. May be empty when attachments are given.
recipient *stringRecipient exactly as in tool_send_message.
send_at *stringWhen to send, ISO 8601, such as 2026-10-07T09:30:00 or 2026-10-07T09:30:00+02:00. A value without an offset is local time.
tool_search_attachment_contentsSearch inside attachment text/PDF contents by date, contact, and MIME type
ParameterTypeDescription
contactstringOptional contact name, phone number, or email filter.
end_datestringOptional inclusive end date in "YYYY-MM-DD" format.
limitintegerMaximum number of matching attachments to return.
max_file_bytesintegerMaximum bytes read from each attachment.
mime_typestringOptional MIME type or prefix filter, such as "text/".
query *stringText to find inside attachment contents (case-insensitive).
start_datestringOptional inclusive start date in "YYYY-MM-DD" format.
tool_search_attachmentsFind attachment metadata by date, contact, MIME type, and limit
ParameterTypeDescription
contactstringOptional contact name, phone number, or email address filter.
end_datestringOptional inclusive end date in "YYYY-MM-DD" format.
limitintegerMaximum number of attachment metadata rows to return.
mime_typestringOptional MIME type or prefix filter, such as "image/" or "application/pdf".
start_datestringOptional inclusive start date in "YYYY-MM-DD" format.
tool_send_messageSend one direct or group message through Messages.app, optionally with file attachments and elicitation approval
ParameterTypeDescription
attachment_pathsarrayOptional local file paths to send as attachments before the text. Individual recipients only; refused for group chats, and file transfers have no SMS/RCS fallback.
confirmbooleanWhen true, ask the human to approve this send through MCP elicitation before anything is sent. Requires a client that supports elicitation; without one nothing is sent.
group_chatbooleanSet true only when recipient is a chat ID from tool_get_chats; false sends to an individual buddy/contact.
message *stringText body to send through Messages. May be empty when attachment_paths is given.
recipient *stringE.164 phone number with leading '+', bare digits with country code, email address, contact name, contact:N selection, or Messages chat ID when group_chat is true.
tool_wait_for_new_messagesBlock until a message newer than a ROWID cursor arrives, or the timeout expires
ParameterTypeDescription
chat_idstringOptional thread filter, as in tool_get_recent_messages.
contactstringOptional contact filter, as in tool_get_recent_messages.
poll_intervalnumberSeconds between database polls.
since_rowidintegerCursor: the highest message ROWID already seen. Only newer messages are returned.
timeout_secondsnumberHow long to wait before giving up.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.5K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • ✓No dynamic code executionScanned 11 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
stdiomac_messages_mcp/server.py:1106
Starts other programs
2 callsmac_messages_mcp/messages.py:56, mac_messages_mcp/phone.py:107
Outbound network calls
No outbound network calls
Writes or deletes files
2 callsmac_messages_mcp/cli.py:151, mac_messages_mcp/messages.py:1352
Lockfile
uv.lock

Pattern matches on the source text of 11 files: places to read, not proof of what the code does at run time.

Releases

v1.1.0Mac Messages MCP v1.1.0 · 1 Sep 2026Security MCP tool and resource output derived from Messages and Contacts is serialized at a single untrusted-output boundary (`present_untrusted_output`). Newlines become the literal two-character sequence `\n`; invisible, bidi, and format…

README

The repository's README runs to about 3.5K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About Mac Messages Mcp.git

How do I install Mac Messages Mcp.git?

Run uvx mac-messages-mcp, then add the server to your MCP client's configuration.

Is Mac Messages Mcp.git safe to use with an AI agent?

Its trust score is 75 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 11 source files found that it serves MCP over stdio, starts other programs (2 calls) and writes or deletes files (2 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mac Messages Mcp.git still maintained?

Yes — the latest release is v1.1.0 (1 Sep 2026), and the last commit was 6 days ago. The repository has 345 stars and 2 open issues.

What tools does Mac Messages Mcp.git provide?

Conduid read 18 tools from the source: tool_cancel_scheduled_message, tool_check_addressbook, tool_check_contacts, tool_check_db_access, tool_check_imessage_availability, tool_create_contact, tool_find_contact, tool_fuzzy_search_messages and 10 more. 13 of them publish their parameters, listed under Tools above.

What license is Mac Messages Mcp.git released under?

The repository declares the MIT license. That applies to the latest release, v1.1.0, as well.