
healthyapps/health-auto-export-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
healthyapps/health-auto-export-mcp-server は [https://github.com/healthyapps/health-auto-export-mcp-server. からインポートされた MCP サーバーの候補です
概要
healthyapps/health-auto-export-mcp-server は [https://github.com/healthyapps/health-auto-export-mcp-server. からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
このプロジェクトでは、iPhone / iPad用の Health Auto ExportアプリでTCPサーバーと連携する方法の例を説明します。
TCP 経由でサーバーに直接問い合わせたり、MCP 経由で Claude アプリなどの LLM に接続したりできます。
[/docs]フォルダでは、より詳細な手順が表示されます。
- TCPサーバーの使い方
このプロジェクトを実行する
前提条件
-Node.js:バージョン18以上
- npm:Node.js に付属
- 自動輸出アプリ:プレミアムアクセスでiPhone / iPadにインストール -ネットワークアクセス:コンピュータとモバイルデバイスは、同じWi-Fiネットワーク上にある必要があります
インストール
- リポジトリのクローン:
2.依存関係のインストール:
3.[[.env]ファイルの設定:
- [[
.env.example]ファイルをコピーして[[.env]に名前を変更します。 - [
HAE_HOSTの適切な値を設定(デバイスIPアドレス)
4.プロジェクトを構築する:
- Run dev server:
使用法
###TCPの
[client_example.ts は、TCP 上で Health Auto Export サーバに接続するクライアントの例を提供します。
- [
npm run buildを使ってプロジェクトをビルドする - [
node ./dist/client_example.jsを使用してクライアントを実行します - コードを拡大して、独自の統合を構築
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
Health Auto Export
This project provides examples of how to work with the TCP server in Health Auto Export app for iPhone/iPad.
You can make queries to the server directly over TCP, or the project can be connected to LLMs, such as Claude app for desktop, via MCP.
In the /docs folder you will find more detailed instructions.
Running This Project
Prerequisites
- Node.js: Version 18 or higher
- npm: Comes with Node.js
- Health Auto Export app: Installed on iPhone/iPad with Premium access
- Network access: Your computer and mobile device must be on the same Wi-Fi network
Installation
-
Clone the repository:
git clone cd health-auto-export-mcp-server -
Install dependencies:
npm install -
Configure
.envfile:- Copy the
.env.examplefile and rename it to.env - Set the appropriate value for
HAE_HOST(your device IP address)
- Copy the
-
Build the project:
npm run build -
Run dev server:
npm run dev
Usage
TCP
client_example.ts provides an example of a client that connects to the Health Auto Export server over TCP.
- Build the project using
npm run build - Run the client using
node ./dist/client_example.js - Expand on the code to build your own integration
Configure Claude MCP
For MCP tool names and breaking changes in 1.0.0, see CHANGELOG.md. Implementation lives in src/server.ts.
-
Build the project using
npm run build -
Navigate to
Settings -> Developer -> Edit Config -
This should open
claude_desktop_config.json -
Add the MCP server details as shown below, pointing to the correct path on disk where you have set up this project:
{ "mcpServers": { "health_auto_export": { "command": "node", "args": ["/Users/username/Desktop/hae-mcp/dist/server.js"] } } } -
Restart Claude Desktop
-
Keep in mind Claude’s context window limitations when using MCP. This means data may need to be aggregated appropriately in order to process requests.
-
Further information on Claude Desktop MCP configuration
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"health_auto_export": {
"command": "node",
"args": ["/Users/username/Desktop/hae-mcp/dist/server.js"]
}
}
}