message-container
message-container
Docker-Container-Monorepo, das macOS Messages(chat.db) liest und eine Abfrage-API, ein Web-Dashboard und MCP bereitstellt.
apps/server— Bun + Hono + Drizzle API-Server. Mountet~/Library/Messagesread-only und synchronisiert inkrementell in eine eigene DB (standardmäßig MySQL · SQLite · PostgreSQL). Nur Abfrage (kein Senden möglich)apps/web— Next.js(App Router) + shadcn + Tailwind v4 Web-Dashboard. Rendert Daten durch Server-Prefetch + Hydration ab dem ersten Paint und wendet das flunti-otel-Designsystem an (eckig · flach · 1px-Linien)Sicherheit: Sobald im Web ein initiales Passwort festgelegt wird, stellt der Server einen
msg_-API-Schlüssel aus; das Web speichert ihn in einem httpOnly-Cookie und ruft die API nur über den Proxy aufMCP: AI-Clients verbinden sich über denselben API-Schlüssel mit
/mcp(Streamable HTTP)
Schnellstart
./scripts/smoke-test.sh # docker compose 기동 + 상태 확인 (docker 만 있으면 됨)
open http://localhost:32000 # 웹에서 초기 패스워드 설정 → 대시보드Zuerst muss Docker Desktop/OrbStack Full Disk Access gewährt werden, um die echte chat.db lesen zu können. Details siehe docs/setup.md, API-Spezifikation docs/api.md, MCP-Anleitung docs/mcp.md, Architektur docs/architecture.md.
Related MCP server: iMessage MCP
Entwicklung
bun install
bun run typecheck # 전체 워크스페이스
bun run test # 전체 워크스페이스
(cd apps/server && bun run dev) # API :33000
(cd apps/web && MESSAGE_API_URL=http://localhost:33000 bun run dev) # 웹 :32000This server cannot be deployed
Maintenance
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
Explore your Messages SQLite database to browse tables and inspect schemas with ease. Run flexible…
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables reading, searching, and sending iMessages directly from MCP-compatible clients by accessing the local macOS iMessage database, supporting conversations, attachments, and both individual and group chats.836 npm10MIT
- AlicenseNot gradedqualityDmaintenanceRead-only MCP server for local macOS Messages database, enabling querying of chats, messages, attachments, and metadata.836 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to read the entire Apple Messages (iMessage/SMS) history on a Mac through a read-only, batched tool that supports listing chats, retrieving transcripts, polling recent messages, and searching message bodies via REST or streamable HTTP MCP.MIT
- AlicenseAqualityCmaintenanceEnables an agent to read the user's local Messages.app database on macOS, listing chats and threads and searching iMessage/SMS history entirely on localhost, with optional AppleScript sending gated behind an explicit flag. Access is read-only and scoped-shut by default, and replies can be optionally sent when send mode is enabled.4MIT