
andekqr/fitatu-mcp-unofficial
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Fitatuの非公式モデルコンテキストプロトコルサーバー、食品検索とお食事プラン管理のためのツール.
概要
独自のFitatuアカウントでデータにアクセスして更新するための非公式モデルコンテキストプロトコル(MCP)サーバー。 プロファイルデータ、食事の計画、栄養の要約、食品検索、およびレシピ管理のためのタイプされたツールを提供します。 stdioまたは Streamable HTTP. このプロジェクトは、Fitatuが主催する、または提携していません。 自分のアカウントでのみ使用し、Fitatuの資格情報とアカウントデータを機密として扱います。 - プロファイル、デイプラン、および栄養要約クエリ。 - 最新または日付固有のボディ測定ルックアップと明示的なカレンダーの日付の部分的な更新。 - 変異ツールで必要な識別子で食品とレシピ検索。 - 食事項目の作成、更新、取り替え、動きおよび取り外し。 - レシピ作成、検査、更新、削除。 - ローカルstdioおよびストリーミング可能なHTTPクライアントのMCP輸送。 - ローカル開発とDockerワークフロー。 - Node.js >=22.18.0 - npm - Fitatuアカウント Docker と ngrok は、それぞれのワークフローだけに必要です.
概要(AI 翻訳)
独自のFitatuアカウントでデータにアクセスして更新するための非公式モデルコンテキストプロトコル(MCP)サーバー。 プロファイルデータ、食事のためのタイプされたツールを提供します 計画、栄養の要約、食糧調査およびstdioまたは Streamable HTTP上のレシピ管理。
【重要】 このプロジェクトは、Fitatuが主催する、または提携していません。 あなた自身のアカウントでのみ使用し、Fitatuの資格情報とアカウントデータをそのまま扱います 敏感。
##特徴
- プロファイル、デイプラン、および栄養要約クエリ。
- 最新または日付固有のボディ測定ルックアップと明示的なカレンダーの日付の部分的な更新。
- 変異ツールで必要な識別子で食品とレシピ検索。
- 食事項目の作成、更新、取り替え、動きおよび取り外し。
- レシピ作成、検査、更新、削除。
- ローカルstdioおよびストリーミング可能なHTTPクライアントのMCP輸送。
- ローカル開発とDockerワークフロー。
要件
- Node.js
>=22.18.0 - 午後
- Fitatuアカウント
Docker と [ngrok] は、それぞれのワークフローにのみオプションで必要です。
クイックスタート
依存関係をインストールし、ローカル設定ファイルを作成します。
[[T2] と `FITATU_PASSWORD` を ` に設定します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Fitatu MCP Unofficial
Unofficial Model Context Protocol (MCP) server for accessing and updating data in your own Fitatu account. It provides typed tools for profile data, meal plans, nutrition summaries, food search, and recipe management over stdio or Streamable HTTP.
[!IMPORTANT] This project is not affiliated with, endorsed by, or sponsored by Fitatu. Use it only with your own account and treat Fitatu credentials and account data as sensitive.
Features
- Profile, day-plan, and nutrition summary queries.
- Latest or date-specific body measurement lookup and partial updates for explicit calendar dates.
- Food and recipe search with identifiers required by mutation tools.
- Meal item creation, update, replacement, movement, and removal.
- Recipe creation, inspection, update, and deletion.
- MCP transports for local stdio and Streamable HTTP clients.
- Local development and Docker workflows.
Requirements
- Node.js
>=22.18.0 - npm
- A Fitatu account
Docker and ngrok are optional and required only for their respective workflows.
Quick start
Install dependencies and create the local configuration file:
npm install
cp .env.example .env
Set FITATU_EMAIL and FITATU_PASSWORD in .env, then start the development server:
npm run dev:server
The default MCP endpoint is http://localhost:3000/mcp.
MCP client configuration
Choose one transport with MCP_TRANSPORT:
| Transport | Best for | Process model |
|---|---|---|
stdio |
A local client that launches its own MCP server | One server process per client |
http |
A persistent server shared by one or more clients | Long-running server on /mcp |
stdio
Build the server before configuring the client:
npm run build
Use absolute paths to the repository’s .env and dist/index.js files:
{
"mcpServers": {
"fitatu": {
"command": "node",
"args": [
"--env-file=/absolute/path/to/fitatu-mcp-unofficial/.env",
"/absolute/path/to/fitatu-mcp-unofficial/dist/index.js"
],
"env": {
"MCP_TRANSPORT": "stdio"
}
}
}
}
The client starts and stops the server. In stdio mode, logs are written to stderr because stdout is reserved for the JSON-RPC stream.
Streamable HTTP
Start the server with npm run dev:server, or build and run it with:
npm run build
npm start
Clients with native Streamable HTTP support can connect directly to:
http://localhost:3000/mcp
For a client that launches remote MCP connections through a command, use mcp-remote:
{
"mcpServers": {
"fitatu": {
"command": "npx",
"args": ["mcp-remote", "http://localhost:3000/mcp"]
}
}
}
To inspect the local server interactively:
npm run inspector
Connect the Inspector to http://localhost:3000/mcp.
Remote MCP access with ngrok
インストール
npx mcp-remote http://localhost:3000/mcp設定
{
"mcpServers": {
"fitatu": {
"command": "node",
"args": [
"--env-file=/absolute/path/to/fitatu-mcp-unofficial/.env",
"/absolute/path/to/fitatu-mcp-unofficial/dist/index.js"
],
"env": {
"MCP_TRANSPORT": "stdio"
}
}
}
}