
healthyapps/health-auto-export-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
healthapps/health-auto-export-mcp-server - кандидат на MCP-сервер, импортированный из https://github.com/healthyapps/health-auto-export-mcp-server.
Обзор
healthapps/health-auto-export-mcp-server - кандидат на MCP-сервер, импортированный из https://github.com/healthyapps/health-auto-export-mcp-server.
Обзор (машинный перевод)
В этом проекте приведены примеры работы с сервером TCP в приложении Health Auto Export для iPhone/iPad.
Вы можете делать запросы к серверу непосредственно через TCP, или проект может быть подключен к LLM, например, приложение Claude для рабочего стола, через MCP.
В этом разделе вы найдете более подробные инструкции.
Как использовать TCP-сервер
Запуск этого проекта
Предпосылки
Node.js: версия 18 или выше npm: поставляется с Node.js Приложение «Автоэкспорт здоровья»: установлено на iPhone/iPad с премиум-доступом Сетевой доступ: Ваш компьютер и мобильное устройство должны быть в одной сети Wi-Fi
##Установка
- Клон репозитория:
2.** Установить зависимости**:
- ** Настройка
.envфайла**:
Копировать .env.example файл и переименовать его в .env
Установите соответствующее значение для HAE_HOST (IP-адрес вашего устройства)
4.Создать проект:
- Run dev server:
Использование
##########################################################################################
client_example.ts представляет собой пример клиента, который подключается к серверу Health Auto Export через TCP.
1.Создать проект с использованием npm run build
2. Запуск клиента с помощью node ./dist/client_example.js
3. Расширение кода для создания собственной интеграции
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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"]
}
}
}