DietBox

io.github.mcp-dir由 GitHub 账号 mcp-dir 发布v0.1.0更新于 Oct 24, 2026

Patient, prescription, anthropometry, scheduling, chat and food diary management for dietitians.

已验证Streamable HTTP可网页运行效率与工作流金融沟通与协作

概览

AI 生成的概览

让助手读写 DietBox 中的营养师业务数据:患者、病历、问诊、人体测量、膳食计划、处方、日程、聊天和饮食日记。

可以做什么
这是一个托管型 MCP 服务器,为营养师的 DietBox 账户提供 36 个工具。可读写患者资料、临床记录(prontuario)、问诊问卷、人体测量评估、补充剂处方、日程预约、聊天消息、目标、饮食日记条目和财务交易。由于上游 API 未提供写入接口,膳食计划只能读取。可在调用时选择多个已关联账户。
适用场景
适合已在使用 DietBox 的营养师或诊所,希望助手查询患者数据、起草问诊或临床记录、录入测量数据、安排预约、给患者发消息,或汇总当天日程与财务情况。
运行要求
远程 MCP over HTTP 端点,无需本地运行时或软件包。适用于任何支持 HTTP 传输的 MCP 客户端。通过服务商的连接器流程使用 magic-link 登录(无密码);未声明 API 密钥或环境变量。
安装前请注意
工具会写入和删除:患者创建/更新/删除、问诊与人体测量删除、临床记录更新、处方、日程事件以及发送给患者的聊天消息;删除被说明为不可逆。涉及敏感健康数据,返回的数据会发送给所使用的 LLM 主机,README 将其列为服务商无法控制的子处理方。

安装

在 SourceWeft 中

  1. 打开 控制台中的 DietBox,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.mcp-dir%2Fdietbox-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "dietbox": {
      "type": "http",
      "url": "https://api.mcp.ai/p_dietbox"
    }
  }
}

README

该仓库没有 README。

工具

42

dietbox_list_accounts

List all Dietbox accounts linked to this install. Returns each account's id, email, label, and an "is_default" flag (true when only one is linked — no need to pass `account` in other tools). When multiple accounts are linked, every other dietbox_* tool accepts an optional `account` parameter; pass id, email, or label (full or partial).

输入参数account

dietbox_get_profile

Get the nutritionist's Dietbox profile (perfil): name, email, subscription plan, features.

输入参数account

dietbox_get_nutritionist

Get the nutritionist's professional profile in Dietbox: CRN, specialties, signature, subscription details.

输入参数account

dietbox_patient_list

Read patients in Dietbox. Actions: list (paginated, search by name), get (full detail). [Flattened action: list] Bulk support: accepts patient_ids for batched execution.

输入参数skiptakeordersearchaccountis_activepatient_idpatient_ids

dietbox_patient_get

Read patients in Dietbox. Actions: list (paginated, search by name), get (full detail). [Flattened action: get] Bulk support: accepts patient_ids for batched execution.

输入参数skiptakeordersearchaccountis_activepatient_idpatient_ids

dietbox_patient_write_create

Create or update patients in Dietbox. Actions: create (Name required, uses POST), update (partial fields, uses PATCH — no need to send all fields). Gender: Masculino or Feminino (converted to boolean for the API). Observation field for notes. Endereço, dados civis e de acesso (Address, Number, Complement, Neighborhood, State, City, Cep, MaritalStatus, Occupancy, Expire) são suportados em create e update — use os mesmos nomes de campo retornados pelo dietbox_patient (get); o adapter mapeia internamente a divergência de nomes do endpoint de update. Phone / MobilePhone são normalizados automaticamente para E.164 em create e update (o endpoint update/PATCH /patients rejeita HTTP 400 "'Body Mobile Phone Value' is not in format 'E.164'" quando recebe número sem prefixo internacional). Envie "67991234567", "(67) 99123-4567" ou "+5567991234567" indistintamente — o adapter ajusta para "+5567991234567" antes de chamar a API. Para números não-brasileiros, envie já com "+{código}". For destructive removal use dietbox_patient_delete. [Flattened action: create] Bulk support: accepts patient_ids for batched execution.

输入参数CepCpfCityNameEmailPhoneStateExpireGenderNumberAddressaccount另有 10 个

dietbox_patient_write_update

Create or update patients in Dietbox. Actions: create (Name required, uses POST), update (partial fields, uses PATCH — no need to send all fields). Gender: Masculino or Feminino (converted to boolean for the API). Observation field for notes. Endereço, dados civis e de acesso (Address, Number, Complement, Neighborhood, State, City, Cep, MaritalStatus, Occupancy, Expire) são suportados em create e update — use os mesmos nomes de campo retornados pelo dietbox_patient (get); o adapter mapeia internamente a divergência de nomes do endpoint de update. Phone / MobilePhone são normalizados automaticamente para E.164 em create e update (o endpoint update/PATCH /patients rejeita HTTP 400 "'Body Mobile Phone Value' is not in format 'E.164'" quando recebe número sem prefixo internacional). Envie "67991234567", "(67) 99123-4567" ou "+5567991234567" indistintamente — o adapter ajusta para "+5567991234567" antes de chamar a API. Para números não-brasileiros, envie já com "+{código}". For destructive removal use dietbox_patient_delete. [Flattened action: update] Bulk support: accepts patient_ids for batched execution.

输入参数CepCpfCityNameEmailPhoneStateExpireGenderNumberAddressaccount另有 10 个

dietbox_patient_delete

Permanently delete a patient from Dietbox. Irreversible. Bulk support: accepts patient_ids for batched execution.

输入参数accountpatient_id必填patient_ids

dietbox_prontuario

Get the clinical record (prontuario) for a Dietbox patient: medical history, notes. Bulk support: accepts patient_ids for batched execution.

输入参数accountpatient_id必填patient_ids

dietbox_prontuario_write

Update the clinical record (prontuario) for a Dietbox patient. Pass the text content directly (HTML supported). Returns 204 on success. Bulk support: accepts patient_ids for batched execution.

输入参数text必填accountpatient_id必填patient_ids

dietbox_anamnese_list

Read anamnesis (health history questionnaire) records in Dietbox. Actions: list (paginated), get (by ID), get_latest (most recent for patient). [Flattened action: list] Bulk support: accepts patient_ids, anamnesis_ids for batched execution.

输入参数skiptakesearchaccountpatient_idpatient_idsanamnesis_idanamnesis_ids

dietbox_anamnese_get

Read anamnesis (health history questionnaire) records in Dietbox. Actions: list (paginated), get (by ID), get_latest (most recent for patient). [Flattened action: get] Bulk support: accepts patient_ids, anamnesis_ids for batched execution.

输入参数skiptakesearchaccountpatient_idpatient_idsanamnesis_idanamnesis_ids

dietbox_anamnese_get_latest

Read anamnesis (health history questionnaire) records in Dietbox. Actions: list (paginated), get (by ID), get_latest (most recent for patient). [Flattened action: get_latest] Bulk support: accepts patient_ids, anamnesis_ids for batched execution.

输入参数skiptakesearchaccountpatient_idpatient_idsanamnesis_idanamnesis_ids

dietbox_anamnese_write_create

Create or update an anamnesis (health history questionnaire) in Dietbox. Actions: - create: cria nova anamnese. Obrigatório: patient_id. Opcional: descricao, texto_livre (HTML), tipo (1=completa default, 2=simplificada), data (ISO), overrides (map com qualquer campo extra: fuma, diabetes, medicamentos, alergias, ...). - update: atualiza uma anamnese existente. Obrigatório: anamnesis_id. Demais campos sobrescrevem os atuais. Retorna { id } da anamnese criada/atualizada. [Flattened action: create] Bulk support: accepts patient_ids, anamnesis_ids for batched execution.

输入参数datatipoaccountdescricaooverridespatient_idpatient_idstexto_livreanamnesis_idanamnesis_ids

dietbox_anamnese_write_update

Create or update an anamnesis (health history questionnaire) in Dietbox. Actions: - create: cria nova anamnese. Obrigatório: patient_id. Opcional: descricao, texto_livre (HTML), tipo (1=completa default, 2=simplificada), data (ISO), overrides (map com qualquer campo extra: fuma, diabetes, medicamentos, alergias, ...). - update: atualiza uma anamnese existente. Obrigatório: anamnesis_id. Demais campos sobrescrevem os atuais. Retorna { id } da anamnese criada/atualizada. [Flattened action: update] Bulk support: accepts patient_ids, anamnesis_ids for batched execution.

输入参数datatipoaccountdescricaooverridespatient_idpatient_idstexto_livreanamnesis_idanamnesis_ids

dietbox_anamnese_delete

Remove uma anamnese do Dietbox. Ação irreversível. Bulk support: accepts anamnesis_ids, patient_ids for batched execution.

输入参数accountpatient_idpatient_idsanamnesis_id必填anamnesis_ids

dietbox_antropometria_list

Read anthropometric evaluations in Dietbox (weight, height, BMI, body composition). Actions: list (paginated, filter by tipo), get (by ID), get_latest (current measurements). [Flattened action: list] Bulk support: accepts patient_ids, anthropometry_ids for batched execution.

输入参数skiptaketipoaccountpatient_idpatient_idsanthropometry_idanthropometry_ids

dietbox_antropometria_get

Read anthropometric evaluations in Dietbox (weight, height, BMI, body composition). Actions: list (paginated, filter by tipo), get (by ID), get_latest (current measurements). [Flattened action: get] Bulk support: accepts patient_ids, anthropometry_ids for batched execution.

输入参数skiptaketipoaccountpatient_idpatient_idsanthropometry_idanthropometry_ids

dietbox_antropometria_get_latest

Read anthropometric evaluations in Dietbox (weight, height, BMI, body composition). Actions: list (paginated, filter by tipo), get (by ID), get_latest (current measurements). [Flattened action: get_latest] Bulk support: accepts patient_ids, anthropometry_ids for batched execution.

输入参数skiptaketipoaccountpatient_idpatient_idsanthropometry_idanthropometry_ids

dietbox_antropometria_write

Create a new anthropometric evaluation in Dietbox. Required: patient_id, weight (kg, 0.1-1000), height (meters, 0.1-3.0). Type: 1=physical evaluation (default), 4=bioimpedance. All measurement fields (circumferences, skinfolds, bioimpedance) default to null. Bulk support: accepts patient_ids for batched execution.

输入参数datetypeheight必填weight必填accountpatient_id必填descriptionpatient_ids

dietbox_antropometria_delete

Delete an anthropometric evaluation from Dietbox. This is irreversible. Bulk support: accepts anthropometry_ids for batched execution.

输入参数accountanthropometry_id必填anthropometry_ids

dietbox_meal_plan

Get the active meal plan (plano alimentar) for a patient in Dietbox. Returns the full list of meals with foods, portions, schedule, and day-of-week assignments. Each meal has: title (e.g. "Café da manhã"), time, text (food items with portions), observacao, and weekday flags. NOTE: This is different from "prescriptions" — prescriptions in Dietbox are supplement/herbal medicine prescriptions. Use this tool for food/meal plans. READ-ONLY (UPSTREAM LIMITATION): A API v2 do Dietbox não expõe endpoint público de criação/edição de plano alimentar — a interface web usa rotas MVC internas (dietbox.me/PlanoAlimentar/...) que exigem cookies de sessão do browser, inacessíveis programaticamente. Por isso não existe dietbox_meal_plan_write. Para criar/editar planos, use a UI web do Dietbox, ou considere webdiet_prescription_write (WebDiet) quando for opção. Caso a Dietbox venha a expor esse endpoint na API, o adapter será atualizado. Bulk support: accepts patient_ids for batched execution.

输入参数accountpatient_id必填patient_ids

dietbox_prescription_list

Read supplement/herbal medicine prescriptions in Dietbox (NOT meal plans — use dietbox_meal_plan for food plans). Actions: list (by patient), get (full detail by ID), list_models (reusable templates). [Flattened action: list] Bulk support: accepts patient_ids, prescription_ids for batched execution.

输入参数skiptakesearchaccountpatient_idpatient_idsprescription_idprescription_ids

dietbox_prescription_get

Read supplement/herbal medicine prescriptions in Dietbox (NOT meal plans — use dietbox_meal_plan for food plans). Actions: list (by patient), get (full detail by ID), list_models (reusable templates). [Flattened action: get] Bulk support: accepts patient_ids, prescription_ids for batched execution.

输入参数skiptakesearchaccountpatient_idpatient_idsprescription_idprescription_ids

dietbox_prescription_list_models

Read supplement/herbal medicine prescriptions in Dietbox (NOT meal plans — use dietbox_meal_plan for food plans). Actions: list (by patient), get (full detail by ID), list_models (reusable templates). [Flattened action: list_models] Bulk support: accepts patient_ids, prescription_ids for batched execution.

输入参数skiptakesearchaccountpatient_idpatient_idsprescription_idprescription_ids

dietbox_prescription_write

Create a new supplement/herbal medicine prescription in Dietbox. For meal plans, use dietbox_meal_plan (read-only — Dietbox não expõe escrita via API). Required: title (nome da prescrição) and patient_id. Without title the API returns 400 "'Title' deve ser informado / 'Title' não pode ser nulo". "data" is a JSON string with the remaining prescription payload (Items, Orientations etc.); title and patient_id são mesclados automaticamente antes do POST. Bulk support: accepts patient_ids for batched execution.

输入参数datatitle必填accountpatient_id必填patient_ids

dietbox_agenda_list

Read schedule/agenda in Dietbox. Actions: list (filter by date range/patient), summary (today's overview). [Flattened action: list] Bulk support: accepts patient_ids for batched execution.

输入参数endstartaccounttimezonepatient_idpatient_ids

dietbox_agenda_summary

Read schedule/agenda in Dietbox. Actions: list (filter by date range/patient), summary (today's overview). [Flattened action: summary] Bulk support: accepts patient_ids for batched execution.

输入参数endstartaccounttimezonepatient_idpatient_ids

dietbox_agenda_write

Create a new event/appointment in the Dietbox agenda. Requires Start and End as ISO datetime strings. Timezone defaults to America/Sao_Paulo (IANA format). Valid Tipo values: "consulta" (appointment), "retorno" (follow-up), "bloqueio" (block). Bulk support: accepts patient_ids for batched execution.

输入参数end必填tipostart必填tituloaccounttimezonetodo_diadescricaopatient_idpatient_ids

dietbox_chat_list

Read chat conversations in Dietbox. Actions: list (conversations, filter by patient/unread), messages (message history for patient). [Flattened action: list] Bulk support: accepts patient_ids for batched execution.

输入参数takeunreadaccountpatient_idpatient_ids

dietbox_chat_messages

Read chat conversations in Dietbox. Actions: list (conversations, filter by patient/unread), messages (message history for patient). [Flattened action: messages] Bulk support: accepts patient_ids for batched execution.

输入参数takeunreadaccountpatient_idpatient_ids

dietbox_chat_write

Send a chat message to a patient in Dietbox. Pass message data as a JSON string.

输入参数data必填account

dietbox_list_goals

List nutrition/health goals for a Dietbox patient: weight targets, habit goals, custom objectives. Bulk support: accepts patient_ids for batched execution.

输入参数skiptakeaccountpatient_id必填patient_ids

dietbox_get_goal_progress

Get goal progress for a Dietbox patient: completion percentages, streaks, recent activity. Bulk support: accepts patient_ids for batched execution.

输入参数accounttimezonepatient_id必填patient_ids

dietbox_list_diario

List food diary entries for a Dietbox patient on a specific date. Shows what the patient ate, meal photos, comments. Bulk support: accepts patient_ids for batched execution.

输入参数date必填skiptakeaccountpatient_id必填patient_ids

dietbox_list_finance_transactions

List financial transactions in Dietbox: payments, receivables, filtered by date and status.

输入参数paidaccountcategoryend_datestart_date

show_version

Show Version

Show the current MCP platform and adapter versions.

无需输入参数。

report_bug

Report Bug

Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

输入参数contextmessage必填conversation

connect

Connection Status

Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.

无需输入参数。

toolkit_info

Toolkit Info

Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.

无需输入参数。

marketplace

Marketplace

The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.

输入参数limitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool另有 11 个

authenticate

Authenticate

MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

输入参数token

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。