Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
AI-optimized MCP server for iMessage on macOS. Read, search, and send messages.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"imessage-max": {
"command": "uvx",
"args": [
"imessage-max"
]
}
}
}ターミナルでこれを実行します
claude mcp add imessage-max -- uvx imessage-maxプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"imessage-max": {
"command": "uvx",
"args": [
"imessage-max"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"imessage-max": {
"type": "stdio",
"command": "uvx",
"args": [
"imessage-max"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント cyberpapiii で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.4.4)がレジストリに届いたのは10 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Want a simple Mac control panel? The native menu bar companion checks setup, manages the local service, and shares assistant connection details.
An MCP (Model Context Protocol) server for iMessage. It lets AI agents read, search, and send your messages, resolving phone numbers to contact names along the way.
Written in Swift. One binary, no runtime dependencies.
One Swift implementation, under swift/, shipped as:
cyberpapiii/tap).codex-plugin/)mcpb/)Most iMessage tools expose raw database structures, requiring 3-5 tool calls per user intent. This MCP provides intent-aligned tools:
"What did Contact A and I talk about yesterday?"
→ find_chat(participants=["Contact A"]) + get_messages(since="yesterday")
"Show me the exact details for this thread before I reply" → get_chat_details(chat_id="chat123")
"Show me photos from the group chat" → list_attachments(chat_id="chat123", type="image")
"Find where we discussed the launch timeline" → search(query="launch timeline")
The tools work best when an agent uses them as short workflows instead of isolated one-off calls.
Agents should treat chat_id values like chat123 as internal handles for tool calls and exact sends. When explaining results to a person, use the returned chat name, group name, or participant-derived label instead of saying "Chat 123."
find_chat(participants=["Contact A"])
get_chat_details(chat_id="chat123") get_messages(chat_id="chat123", since="yesterday", limit=50)
Use this when the person matters more than the exact thread id.
search(query="launch timeline", limit=10)
get_context(message_id="msg_456", before=5, after=10)
Use this when you know the topic but not where it was discussed.
get_unread()
get_active_conversations(hours=24, min_exchanges=2)
Use this to surface unread threads and active conversations after a broad chat-list sweep.
list_attachments(chat_id="chat123", type="image", since="30d")
get_attachment(attachment_id="att123", variant="vision")
Use list_attachments to find the message where files were shared. It returns exact attachment ids and says whether each file is on disk, so you know before you fetch.
find_chat(participants=["Contact A", "Contact B"])
send(chat_id="chat456", text="Please use the latest draft")
For sensitive sends, prefer resolving the exact chat first and then using chat_id so the message lands in the intended thread.
brew tap cyberpapiii/tap
brew install imessage-max
git clone https://github.com/cyberpapiii/imessage-max.git
cd imessage-max/swift make build
swift build omits the embedded Info.plist, so Contacts can't be granted)
For local development, advanced setup, and the signed install workflow, see:
iMessage Max is a dual-era MCP server. Both transports (stdio and HTTP) serve both eras concurrently, selected per request:
| Era | Revisions | Lifecycle | Selected by |
|---|---|---|---|
| Modern | 2026-07-28 | Stateless, per-request _meta | io.modelcontextprotocol/protocolVersion in the request _meta (or server/discover) |
| Legacy | 2025-03-26 … 2025-11-25 | initialize + session | initialize request / Mcp-Session-Id |
Modern clients probe with server/discover and send the required MCP-Protocol-Version, Mcp-Method, and (for tools/call) Mcp-Name headers over HTTP. Legacy clients keep working unchanged. No client migration is required, and legacy support stays as long as real clients depend on it.
The server implements tools only. It has no prompts, resources, completion, subscriptions, tasks, or MRTR flows, on purpose. The official conformance suite runs against both eras with the documented baseline in docs/conformance-baseline.yml.
iMessage Max ships icons for the main MCP protocol surface and the client packaging surfaces that use their own metadata:
2025-11-25 initialize responses include PNG serverInfo.icons..codex-plugin/plugin.json and uses assets/codex/icon.png plus assets/codex/logo.png.mcpb/manifest.json and uses PNG assets under mcpb/assets/.The committed PNG source set is under assets/icons/ at 16x16, 32x32, 64x64, 128x128, 256x256, and 512x512.
Required to read ~/Library/Messages/chat.db:
For Homebrew installs, the binary is at /opt/homebrew/Cellar/imessage-max/VERSION/bin/imessage-max (not the symlink at /opt/homebrew/bin/). Find it with:
# Open the folder containing the actual binary
open $(dirname $(readlink -f $(which imessage-max)))
For source builds, add .build/release/imessage-max from your clone directory. After changing the grant, relaunch the server; macOS applies Full Disk Access only to processes started after the change.
In the file picker, press ⌘+Shift+G and paste the path to go straight there.
Required to resolve phone numbers to names. The server only asks for access when it is started from a terminal; launchd and MCP clients start it headless, and a headless process never prompts. Grant access once with imessage-max --request-contacts-access from a terminal, then restart the service. --contacts-policy request|skip (or IMESSAGE_MAX_CONTACTS_POLICY) overrides the terminal detection.
System Settings → Privacy & Security → Contacts → add imessage-max is the manual alternative.
Add imessage-max to your MCP client's server configuration.
Many MCP clients use a JSON structure like this:
For Homebrew:
{
"mcpServers": { "imessage": { "command": "/opt/homebrew/Cellar/imessage-max/VERSION/bin/imessage-max" } } }
For source builds:
{
"mcpServers": { "imessage": { "command": "/path/to/imessage-max/swift/.build/release/imessage-max" } } }
If your client uses a different config format, point it at the same binary path.
After saving the config, reconnect or restart your MCP client. The server should appear in the available tools, and you can verify the connection with diagnose.
Find chats by participants, name, or recent content.
By default, chats Messages.app has filtered into Unknown Senders or Junk are hidden. The response carries filtered_hidden, the number of chats the filter removed from this view; pass include_filtered=True to see them.
find_chat(participants=["Contact A"]) # Find a direct chat
find_chat(participants=["Contact A", "Contact B"]) # Find a group with both find_chat(name="Project Group") # Find by chat name find_chat(contains_recent="latest draft") # Find by recent content find_chat(name="Project Group", include_filtered=True) # Also search junk / unknown-sender chats
Inspect a known thread without opening the full conversation.
get_chat_details(chat_id="chat123") # Participants, handles, state, last message
get_chat_details(chat_id="chat123", include_shared_summary=false) # Skip recent shared summary
Retrieve messages with flexible filtering. Returns metadata for media. Explicit chat_id lookups are never filtered.
get_messages(chat_id="chat123", limit=50) # Recent messages
get_messages(chat_id="chat123", since="24h") # Last 24 hours get_messages(chat_id="chat123", from_person="Contact A") # From specific person get_messages(chat_id="chat123", has="links") # Messages that contain a URL
has filters by content type (links, attachments, images). links includes link messages Messages stores as URL preview balloons (the common case on macOS 26).
Group system messages (renames, members added or removed, someone leaving) come back with text: null and an event object: {"type": "rename", "title": "Trip"}, {"type": "participant_added", "participant": "Alice"}, {"type": "participant_removed", ...}, {"type": "left"}, or {"type": "other", "item_type": N} for event kinds the server does not name. Chat previews describe the same events in words ("renamed the group to Trip").
Reactions, replies, edits: each message may include reactions (["❤️ alice"] for standard tapbacks; custom emoji show the emoji itself; sticker reactions use the token 🩵 sticker), reply_to (msg_ of the originator), reply_count, and edited: true. Removed tapbacks are omitted. All four fields are optional and omitted when empty. search and get_context carry the same four fields. These are read-only; diagnose still reports tapbacks and edit_unsend as unsupported because the server cannot send them.
New messages across all chats after a ROWID cursor, in arrival order. Pass the returned next_rowid back as since_rowid to page or poll. next_rowid may be larger than the last returned message's rowid because consumed rows (reactions, filtered chats, orphans) advance it. Omit since_rowid to get only the current cursor. Cursors are only valid against this Mac's chat.db.
get_messages_since() # Current cursor only
get_messages_since(since_rowid=234000) # Messages after that row get_messages_since(since_rowid=234000, limit=50) get_messages_since(since_rowid=234000, chat_id="chat123") get_messages_since(since_rowid=234000, include_filtered=True)
| Parameter | Type | Default | Meaning |
|---|---|---|---|
since_rowid | integer | omitted | Exclusive ROWID cursor. Omit or pass -1 for the current cursor only. |
chat_id | string | omitted | Restrict to one chat (chat123 or 123) |
limit | integer | 100 | Maximum messages to return (1–500) |
include_filtered | boolean | false | Include junk / unknown-sender chats |
include_reactions | boolean | true | Attach reaction strings to returned messages |
Example response:
{
"since_rowid": 234000, "messages": [ { "id": "msg_234001", "rowid": 234001, "chat": {"id": "chat12", "name": "Alice Smith"}, "from": "Alice Smith", "text": "on my way", "ts": "2026-09-02T15:00:00Z" }, { "id": "msg_234010", "rowid": 234010, "chat": {"id": "chat40", "name": "Weekend"}, "from": "me", "text": "see you there", "ts": "2026-09-02T15:01:00Z" } ], "next_rowid": 234050, "has_more": false, "curren
冒頭だけを表示しています。続きはリポジトリで読めます