
Fitatu MCP Unofficial
io.github.AndekQR由 GitHub 账号 AndekQR 发布v3.0.1更新于 Oct 24, 2026
Unofficial MCP server for the Polish Fitatu app. Search foods and manage meals, recipes, and logs.
概览
非官方 MCP 服务器,让助手读取和修改你自己的 Fitatu 饮食账户:食物搜索、餐食计划、食谱和身体测量。
- 可以做什么
- 通过 stdio 或 Streamable HTTP 为个人 Fitatu 账户提供类型化工具。可查询个人资料、每日计划、营养汇总、用户设置和身体测量,并可搜索食物与食谱。写入类工具可添加、更新、替换、移动或删除餐食条目,以及创建、更新或软删除食谱。该项目与 Fitatu 无关联。
- 适用场景
- 当你希望助手在自己的 Fitatu 账户中记录或调整餐食、查询食物和条形码、查看营养与能量汇总,或管理食谱时使用。适合个人饮食记录,而非团队或多用户场景。
- 运行要求
- 作为本地 Node.js 进程运行(Node.js >= 22.18.0、npm),也可用 Docker;需要 Fitatu 账户。需设置 FITATU_EMAIL 和 FITATU_PASSWORD,通常放在 .env 文件中。可选:ngrok 以及单独的 FITATU_INTEGRATION_* 测试账户,用于隧道和集成测试流程。
安装
在 SourceWeft 中
- 打开 控制台中的 Fitatu MCP Unofficial,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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:
Set FITATU_EMAIL and FITATU_PASSWORD in .env, then start the development server:
The default MCP endpoint is http://localhost:3000/mcp.
MCP client configuration
Choose one transport with MCP_TRANSPORT:
stdio
Build the server before configuring the client:
Use absolute paths to the repository's .env and dist/index.js files:
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:
Clients with native Streamable HTTP support can connect directly to:
For a client that launches remote MCP connections through a command, use mcp-remote:
To inspect the local server interactively:
Connect the Inspector to http://localhost:3000/mcp.
Remote MCP access with ngrok
Install and authenticate ngrok. In .env, configure two different Fitatu accounts using FITATU_* and
FITATU_INTEGRATION_*, then add your assigned domain:
In any MCP client that supports remote Streamable HTTP connections, use one of these URLs without authentication:
- Personal:
https://YOUR_NGROK_DOMAIN/personal/mcp - Test:
https://YOUR_NGROK_DOMAIN/test/mcp
Available tools
Configuration
Runtime configuration is read from environment variables and validated at startup.
Do not commit .env. The mobile client profile defaults match Fitatu 4.14.4 traffic captured on 2026-07-30 and can be overridden without changing code.
Docker
The current image build requires a configured .env file:
The Dockerfile copies .env into the image. Treat the resulting image as sensitive; do not publish or share it.
Development
npm run test:ci is deterministic and does not load Fitatu credentials. Integration tests use the dedicated Fitatu test account described above and may
mutate its meal-plan, recipe, and body-measurement data.
See ARCHITECTURE.md for layer boundaries and design rules, and CONTRIBUTING.md for contribution guidelines.
License
Licensed under the MIT License.
来源:README.md,提交 e4538bb
工具
0版本历史
1- v3.0.1最新Sep 21, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分