message-container
message-container
macOS Messages(chat.db)を読み取り、照会API・Webダッシュボード・MCPを提供するDockerコンテナモノレポ。
apps/server— Bun + Hono + Drizzle APIサーバー。~/Library/Messagesをread-onlyマウントし、自前DB(MySQLデフォルト・SQLite・PostgreSQL)に増分同期。照会専用(送信不可)apps/web— Next.js(App Router) + shadcn + Tailwind v4 Webダッシュボード。サーバープリフェッチ + Hydration で最初のペイントからデータをレンダリングし、flunti-otelデザインシステム(四角・フラット・1px線)を適用セキュリティ: Webで初期パスワードを設定するとサーバーが
msg_APIキーを発行し、WebはhttpOnlyクッキーで保管してプロキシ経由でのみAPIを呼び出すMCP: AIクライアントは
/mcp(Streamable HTTP)に同じAPIキーで接続
クイックスタート
./scripts/smoke-test.sh # docker compose 기동 + 상태 확인 (docker 만 있으면 됨)
open http://localhost:32000 # 웹에서 초기 패스워드 설정 → 대시보드まずDocker Desktop/OrbStack にFull Disk Access を付与しないと実際のchat.db を読み取れない。詳細な手順は docs/setup.md、API仕様 docs/api.md、MCPガイド docs/mcp.md、構造 docs/architecture.md を参照。
Related MCP server: imessage-rich-search
開発
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.20710MIT
- AlicenseAqualityCmaintenanceEnables full-text search of macOS iMessages including link preview metadata. Works as an MCP server for Claude Desktop to search your messages locally.1MIT
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server for local macOS Messages database, enabling querying of chats, messages, attachments, and metadata.207MIT
- AlicenseAqualityCmaintenanceA read-only MCP server that lets AI search a user's own LINE Desktop chat history on macOS, providing tools to list chats, retrieve messages, and search conversations directly from the local encrypted database.5MIT
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
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/B-HS/message-container'
If you have feedback or need assistance with the MCP directory API, please join our Discord server