{"name":"io.github.mcp-dir/dietbox-mcp","slug":"mcp-dir-dietbox-mcp","title":"DietBox","description":"Patient, prescription, anthropometry, scheduling, chat and food diary management for dietitians.","url":"https://mcp.market/server/mcp-dir-dietbox-mcp","rating":null,"grade":"B","score":83,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":20,"stars":0,"forks":0,"downloads_week":null,"last_push_at":"2026-08-30T19:38:41.000Z","license":"MIT"},"uptime":{"percent":100,"checks":28,"ok":28,"last_checked_at":"2026-11-04T07:50:32.601Z","last_ok_at":"2026-11-04T07:50:32.601Z","latency_ms":62},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/mcp-dir/dietbox-mcp","website":null,"version":"0.1.0","remotes":[{"type":"streamable-http","url":"https://api.mcp.ai/p_dietbox"}],"packages":[],"tools":[{"name":"authenticate","description":"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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"token":{"type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"connect","description":"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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_agenda_list","description":"Read schedule/agenda in Dietbox.\nActions: list (filter by date range/patient), summary (today's overview).\n\n[Flattened action: list]\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"start":{"default":"","type":"string"},"end":{"default":"","type":"string"},"timezone":{"default":-3,"type":"number"},"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_agenda_summary","description":"Read schedule/agenda in Dietbox.\nActions: list (filter by date range/patient), summary (today's overview).\n\n[Flattened action: summary]\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"start":{"default":"","type":"string"},"end":{"default":"","type":"string"},"timezone":{"default":-3,"type":"number"},"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_agenda_write","description":"Create a new event/appointment in the Dietbox agenda.\nRequires Start and End as ISO datetime strings. Timezone defaults to America/Sao_Paulo (IANA format).\nValid Tipo values: \"consulta\" (appointment), \"retorno\" (follow-up), \"bloqueio\" (block).\n\nBulk support: accepts patient_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"titulo":{"default":"","type":"string"},"tipo":{"default":"consulta","type":"string"},"start":{"type":"string"},"end":{"type":"string"},"timezone":{"default":"America/Sao_Paulo","type":"string"},"descricao":{"default":"","type":"string"},"todo_dia":{"default":false,"type":"boolean"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["start","end"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_anamnese_delete","description":"Remove uma anamnese do Dietbox. Ação irreversível.\n\nBulk support: accepts anamnesis_ids, patient_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"anamnesis_id":{"type":"string"},"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"account":{"type":"string"},"anamnesis_ids":{"type":"array","items":{"type":"string"}},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["anamnesis_id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_anamnese_get","description":"Read anamnesis (health history questionnaire) records in Dietbox.\nActions: list (paginated), get (by ID), get_latest (most recent for patient).\n\n[Flattened action: get]\n\nBulk support: accepts patient_ids, anamnesis_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"anamnesis_id":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"search":{"default":"","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"anamnesis_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_anamnese_get_latest","description":"Read anamnesis (health history questionnaire) records in Dietbox.\nActions: list (paginated), get (by ID), get_latest (most recent for patient).\n\n[Flattened action: get_latest]\n\nBulk support: accepts patient_ids, anamnesis_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"anamnesis_id":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"search":{"default":"","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"anamnesis_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_anamnese_list","description":"Read anamnesis (health history questionnaire) records in Dietbox.\nActions: list (paginated), get (by ID), get_latest (most recent for patient).\n\n[Flattened action: list]\n\nBulk support: accepts patient_ids, anamnesis_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"anamnesis_id":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"search":{"default":"","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"anamnesis_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_anamnese_write_create","description":"Create or update an anamnesis (health history questionnaire) in Dietbox.\nActions:\n- 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, ...).\n- update: atualiza uma anamnese existente. Obrigatório: anamnesis_id. Demais campos sobrescrevem os atuais.\nRetorna { id } da anamnese criada/atualizada.\n\n[Flattened action: create]\n\nBulk support: accepts patient_ids, anamnesis_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"anamnesis_id":{"default":"","type":"string"},"descricao":{"default":"","type":"string"},"texto_livre":{"default":"","type":"string"},"tipo":{"default":1,"type":"number"},"data":{"default":"","type":"string"},"overrides":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"anamnesis_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_anamnese_write_update","description":"Create or update an anamnesis (health history questionnaire) in Dietbox.\nActions:\n- 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, ...).\n- update: atualiza uma anamnese existente. Obrigatório: anamnesis_id. Demais campos sobrescrevem os atuais.\nRetorna { id } da anamnese criada/atualizada.\n\n[Flattened action: update]\n\nBulk support: accepts patient_ids, anamnesis_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"anamnesis_id":{"default":"","type":"string"},"descricao":{"default":"","type":"string"},"texto_livre":{"default":"","type":"string"},"tipo":{"default":1,"type":"number"},"data":{"default":"","type":"string"},"overrides":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"anamnesis_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_antropometria_delete","description":"Delete an anthropometric evaluation from Dietbox. This is irreversible.\n\nBulk support: accepts anthropometry_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"anthropometry_id":{"type":"string"},"account":{"type":"string"},"anthropometry_ids":{"type":"array","items":{"type":"string"}}},"required":["anthropometry_id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_antropometria_get","description":"Read anthropometric evaluations in Dietbox (weight, height, BMI, body composition).\nActions: list (paginated, filter by tipo), get (by ID), get_latest (current measurements).\n\n[Flattened action: get]\n\nBulk support: accepts patient_ids, anthropometry_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"anthropometry_id":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"tipo":{"type":"number"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"anthropometry_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_antropometria_get_latest","description":"Read anthropometric evaluations in Dietbox (weight, height, BMI, body composition).\nActions: list (paginated, filter by tipo), get (by ID), get_latest (current measurements).\n\n[Flattened action: get_latest]\n\nBulk support: accepts patient_ids, anthropometry_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"anthropometry_id":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"tipo":{"type":"number"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"anthropometry_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_antropometria_list","description":"Read anthropometric evaluations in Dietbox (weight, height, BMI, body composition).\nActions: list (paginated, filter by tipo), get (by ID), get_latest (current measurements).\n\n[Flattened action: list]\n\nBulk support: accepts patient_ids, anthropometry_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"anthropometry_id":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"tipo":{"type":"number"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"anthropometry_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_antropometria_write","description":"Create a new anthropometric evaluation in Dietbox.\nRequired: patient_id, weight (kg, 0.1-1000), height (meters, 0.1-3.0).\nType: 1=physical evaluation (default), 4=bioimpedance. All measurement fields (circumferences, skinfolds, bioimpedance) default to null.\n\nBulk support: accepts patient_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"weight":{"type":"number"},"height":{"type":"number"},"type":{"default":1,"type":"number"},"description":{"default":"","type":"string"},"date":{"default":"","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["patient_id","weight","height"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_chat_list","description":"Read chat conversations in Dietbox.\nActions: list (conversations, filter by patient/unread), messages (message history for patient).\n\n[Flattened action: list]\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"unread":{"type":"boolean"},"take":{"default":50,"type":"number"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_chat_messages","description":"Read chat conversations in Dietbox.\nActions: list (conversations, filter by patient/unread), messages (message history for patient).\n\n[Flattened action: messages]\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"unread":{"type":"boolean"},"take":{"default":50,"type":"number"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_chat_write","description":"Send a chat message to a patient in Dietbox. Pass message data as a JSON string.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"data":{"type":"string"},"account":{"type":"string"}},"required":["data"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_get_goal_progress","description":"Get goal progress for a Dietbox patient: completion percentages, streaks, recent activity.\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"timezone":{"default":-3,"type":"number"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["patient_id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_get_nutritionist","description":"Get the nutritionist's professional profile in Dietbox: CRN, specialties, signature, subscription details.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"account":{"type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_get_profile","description":"Get the nutritionist's Dietbox profile (perfil): name, email, subscription plan, features.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"account":{"type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_list_accounts","description":"List all Dietbox accounts linked to this install.\nReturns 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).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"account":{"type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_list_diario","description":"List food diary entries for a Dietbox patient on a specific date. Shows what the patient ate, meal photos, comments.\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"date":{"type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["patient_id","date"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_list_finance_transactions","description":"List financial transactions in Dietbox: payments, receivables, filtered by date and status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"start_date":{"default":"","type":"string"},"end_date":{"default":"","type":"string"},"paid":{"type":"boolean"},"category":{"default":"","type":"string"},"account":{"type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_list_goals","description":"List nutrition/health goals for a Dietbox patient: weight targets, habit goals, custom objectives.\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["patient_id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_meal_plan","description":"Get the active meal plan (plano alimentar) for a patient in Dietbox.\nReturns the full list of meals with foods, portions, schedule, and day-of-week assignments.\nEach meal has: title (e.g. \"Café da manhã\"), time, text (food items with portions), observacao, and weekday flags.\n\nNOTE: This is different from \"prescriptions\" — prescriptions in Dietbox are supplement/herbal medicine prescriptions. Use this tool for food/meal plans.\n\nREAD-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.\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["patient_id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_patient_delete","description":"Permanently delete a patient from Dietbox. Irreversible.\n\nBulk support: accepts patient_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["patient_id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_patient_get","description":"Read patients in Dietbox.\nActions: list (paginated, search by name), get (full detail).\n\n[Flattened action: get]\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"search":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"is_active":{"type":"boolean"},"order":{"default":"","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_patient_list","description":"Read patients in Dietbox.\nActions: list (paginated, search by name), get (full detail).\n\n[Flattened action: list]\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"search":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"is_active":{"type":"boolean"},"order":{"default":"","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_patient_write_create","description":"Create or update patients in Dietbox.\nActions: create (Name required, uses POST), update (partial fields, uses PATCH — no need to send all fields).\nGender: Masculino or Feminino (converted to boolean for the API). Observation field for notes.\nEndereç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.\n\nPhone / 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}\".\n\nFor destructive removal use dietbox_patient_delete.\n\n[Flattened action: create]\n\nBulk support: accepts patient_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"Name":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"MobilePhone":{"type":"string"},"Birthday":{"type":"string"},"Gender":{"type":"string","enum":["Masculino","Feminino"]},"Cpf":{"type":"string"},"Observation":{"type":"string"},"IsActive":{"type":"boolean"},"MaritalStatus":{"type":"number"},"Occupancy":{"type":"string"},"Address":{"type":"string"},"Number":{"type":"string"},"Complement":{"type":"string"},"Neighborhood":{"type":"string"},"State":{"type":"string"},"City":{"type":"string"},"Cep":{"type":"string"},"Expire":{"type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_patient_write_update","description":"Create or update patients in Dietbox.\nActions: create (Name required, uses POST), update (partial fields, uses PATCH — no need to send all fields).\nGender: Masculino or Feminino (converted to boolean for the API). Observation field for notes.\nEndereç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.\n\nPhone / 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}\".\n\nFor destructive removal use dietbox_patient_delete.\n\n[Flattened action: update]\n\nBulk support: accepts patient_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"Name":{"type":"string"},"Email":{"type":"string"},"Phone":{"type":"string"},"MobilePhone":{"type":"string"},"Birthday":{"type":"string"},"Gender":{"type":"string","enum":["Masculino","Feminino"]},"Cpf":{"type":"string"},"Observation":{"type":"string"},"IsActive":{"type":"boolean"},"MaritalStatus":{"type":"number"},"Occupancy":{"type":"string"},"Address":{"type":"string"},"Number":{"type":"string"},"Complement":{"type":"string"},"Neighborhood":{"type":"string"},"State":{"type":"string"},"City":{"type":"string"},"Cep":{"type":"string"},"Expire":{"type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_prescription_get","description":"Read supplement/herbal medicine prescriptions in Dietbox (NOT meal plans — use dietbox_meal_plan for food plans).\nActions: list (by patient), get (full detail by ID), list_models (reusable templates).\n\n[Flattened action: get]\n\nBulk support: accepts patient_ids, prescription_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"prescription_id":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"search":{"default":"","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"prescription_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_prescription_list","description":"Read supplement/herbal medicine prescriptions in Dietbox (NOT meal plans — use dietbox_meal_plan for food plans).\nActions: list (by patient), get (full detail by ID), list_models (reusable templates).\n\n[Flattened action: list]\n\nBulk support: accepts patient_ids, prescription_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"prescription_id":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"search":{"default":"","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"prescription_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_prescription_list_models","description":"Read supplement/herbal medicine prescriptions in Dietbox (NOT meal plans — use dietbox_meal_plan for food plans).\nActions: list (by patient), get (full detail by ID), list_models (reusable templates).\n\n[Flattened action: list_models]\n\nBulk support: accepts patient_ids, prescription_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"prescription_id":{"default":"","type":"string"},"skip":{"default":0,"type":"number"},"take":{"default":50,"type":"number"},"search":{"default":"","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}},"prescription_ids":{"type":"array","items":{"default":"","type":"string"}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_prescription_write","description":"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).\n\nRequired: title (nome da prescrição) and patient_id. Without title the API returns 400 \"'Title' deve ser informado / 'Title' não pode ser nulo\".\n\n\"data\" is a JSON string with the remaining prescription payload (Items, Orientations etc.); title and patient_id são mesclados automaticamente antes do POST.\n\nBulk support: accepts patient_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"title":{"type":"string"},"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"data":{"default":"{}","type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["title","patient_id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_prontuario","description":"Get the clinical record (prontuario) for a Dietbox patient: medical history, notes.\n\nBulk support: accepts patient_ids for batched execution.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["patient_id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"dietbox_prontuario_write","description":"Update the clinical record (prontuario) for a Dietbox patient. Pass the text content directly (HTML supported). Returns 204 on success.\n\nBulk support: accepts patient_ids for batched execution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"patient_id":{"anyOf":[{"type":"string"},{"type":"number"}]},"text":{"type":"string"},"account":{"type":"string"},"patient_ids":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}},"required":["patient_id","text"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"marketplace","description":"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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"action":{"default":"search","type":"string","enum":["search","describe","install","uninstall","subscribe","cancel","resume","report_bug","request_mcp","list_tools","invoke","search_prompts","get_prompt","publish_prompt"]},"query":{"default":"","type":"string"},"mcp_id":{"default":"","type":"string"},"limit":{"default":10,"type":"number"},"tier_slug":{"default":"","type":"string"},"immediate":{"default":false,"type":"boolean"},"cancel_reason":{"type":"string","enum":["too_expensive","missing_features","switched_service","unused","customer_service","too_complex","low_quality","other"]},"cancel_comment":{"default":"","type":"string"},"message":{"default":"","type":"string"},"report_context":{"default":"","type":"string"},"conversation":{"default":"[]","type":"string"},"request_name":{"default":"","type":"string"},"request_details":{"default":"","type":"string"},"tool_id":{"default":"","type":"string"},"arguments":{"default":"{}","type":"string"},"prompt_slug":{"default":"","type":"string"},"prompt_vars":{"default":"{}","type":"string"},"prompt_category":{"default":"","type":"string"},"prompt_tool":{"default":"","type":"string"},"prompt_title":{"default":"","type":"string"},"prompt_description":{"default":"","type":"string"},"prompt_body":{"default":"","type":"string"},"prompt_targets":{"default":[],"type":"array","items":{"type":"string","enum":["claude","chatgpt","cursor","lovable"]}}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"report_bug","description":"Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"message":{"type":"string"},"context":{"default":"","type":"string"},"conversation":{"default":"[]","type":"string"}},"required":["message"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"show_version","description":"Show the current MCP platform and adapter versions.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"toolkit_info","description":"Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"$schema":"http://json-schema.org/draft-07/schema#"}}],"scan":{"score":83,"grade":"B","scanned_at":"2026-09-27T05:31:29.694Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-27T05:31:29.705Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":20,"max":20,"notes":["remote reachable in 907ms"]},"poisoning":{"score":15,"max":15,"notes":["42 tool descriptions checked"]},"auth":{"score":3,"max":15,"notes":["open endpoint exposes 12 write-action tools with no auth"]},"maintenance":{"score":15,"max":15,"notes":["last push 27 days ago"]},"identity":{"score":9,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[{"id":"auth.open-write","severity":"high","component":"auth","title":"Write-action tools reachable without authentication"}],"inputs":{"probes":[{"url":"https://api.mcp.ai/p_dietbox","reachable":true,"authRequired":false,"latencyMs":907,"serverInfo":{"name":"mcp-ai","version":"0.9.351"}}],"packages":[],"repo":{"found":true,"owner":"mcp-dir","repo":"dietbox-mcp","archived":false,"pushedAt":"2026-08-30T19:38:41Z","stars":0,"forks":0,"openIssues":0,"ownerType":"Organization","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/207912538?v=4","ownerCreatedAt":"2025-04-16T18:01:51Z","license":"MIT"},"icon":{"url":null,"source":"none"},"presence":{"stars":0,"forks":0,"downloadsWeek":null,"license":"MIT","lastPushAt":"2026-08-30T19:38:41.000Z","score":20}}}},"grade_history":[],"reviews":[]}