
hannesrudolph/imessage-query-fastmcp-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
hannesrudolph/imessage-query-fastmcp-mcp-serverは[https://github.com/hannesrudolph/imessage-query-fastmcp-mcp-server.からインポートされたMCPサーバー候補です
概要
hannesrudolph/imessage-query-fastmcp-mcp-serverは[https://github.com/hannesrudolph/imessage-query-fastmcp-mcp-server.からインポートされたMCPサーバー候補です
概要(AI 翻訳)
モデルコンテキストプロトコル(MCP)を介して、iMessageデータベースへの安全なアクセスを提供するMCPサーバー。 このサーバーは、FastMCP フレームワークと imessagedb ライブラリで構築され、LLM が適切な電話番号の検証と添付処理で iMessage の会話を照会および分析できるようにします。
受託サービス
- macOS(iMessageデータベースアクセスに必須)
- Python 3.6 +
タスク
必要なすべての依存関係をインストールします。
必須パッケージ
- fastmcp:モデルコンテキストプロトコルサーバーの構築フレームワーク
- imessagedb: macOS Messagesデータベースにアクセスし、クエリするためのPythonライブラリ
- 電話番号*: Googleの電話番号の処理ライブラリは、適切な番号の検証とフォーマットのためのものです
すべての依存関係は[requirements.txt]で簡単にインストールできます。
コンテンツのテーブル
- システム要件
- 依存関係
- MCPツール
- 始める
- インストールオプション
- クロードデスクトップ
- Cline VSCodeプラグイン
- 安全特徴
- 開発文書
- 環境変数
️️ MCP ツール
サーバは、LM に次のツールを公開します。
get chat transcript の一覧
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
iMessage Query MCP Server
An MCP server that provides safe access to your iMessage database through Model Context Protocol (MCP). This server is built with the FastMCP framework and the imessagedb library, enabling LLMs to query and analyze iMessage conversations with proper phone number validation and attachment handling.
📋 System Requirements
- macOS (required for iMessage database access)
- Python 3.6+
📦 Dependencies
Install all required dependencies:
# Using pip
pip install -r requirements.txt
Required Packages
- fastmcp: Framework for building Model Context Protocol servers
- imessagedb: Python library for accessing and querying the macOS Messages database
- phonenumbers: Google’s phone number handling library for proper number validation and formatting
All dependencies are specified in requirements.txt for easy installation.
📑 Table of Contents
- System Requirements
- Dependencies
- MCP Tools
- Getting Started
- Installation Options
- Safety Features
- Development Documentation
- Environment Variables
🛠️ MCP Tools
The server exposes the following tools to LLMs:
get_chat_transcript
Retrieve message history for a specific phone number with optional date filtering. Includes:
- Message text and timestamps
- Attachment information (if any)
- Proper phone number validation
- Date range filtering
🚀 Getting Started
Clone the repository:
git clone https://github.com/hannesrudolph/imessage-query-fastmcp-mcp-server.git
cd imessage-query-fastmcp-mcp-server
📦 Installation Options
You can install this MCP server in either Claude Desktop or the Cline VSCode plugin. Choose the option that best suits your needs.
Option 1: Install for Claude Desktop
Install using FastMCP:
fastmcp install imessage-query-server.py --name "iMessage Query"
Option 2: Install for Cline VSCode Plugin
To use this server with the Cline VSCode plugin:
- In VSCode, click the server icon (☰) in the Cline plugin sidebar
- Click the “Edit MCP Settings” button (✎)
- Add the following configuration to the settings file:
{
"imessage-query": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"fastmcp",
"run",
"/path/to/repo/imessage-query-server.py"
]
}
}
Replace /path/to/repo with the full path to where you cloned this repository (e.g., /Users/username/Projects/imessage-query-fastmcp-mcp-server)
🔒 Safety Features
- Read-only access to the iMessage database
- Phone number validation using the phonenumbers library
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →