# LibreLink Up B2B (CGM clínica) — MCP server on mcp.ai > Para equipas que acompanham vários pacientes (clínica, familiar): lista os pacientes com partilha ativa e lê glicemia, gráfico, logbook e estatísticas (apenas leitura). Credenciais encriptadas no servidor; ligação segura. By: mcp.ai · official Page: https://mcp.ai/librelink_business ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_librelink_business?ms=1781045820000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/librelink_business/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/librelink_business/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/librelink_business/skill.md Postman collection (v2.1): https://mcp.ai/librelink_business/postman.json ## Tools - librelink_business_get_current_glucose(patient_id: string, patient_ids?: string[]) — Latest glucose reading for a patient (value, trend, flags). For history use librelink_business_get_glucose_graph. Read-only CGM data — clinic/follower account; not for medical decisions without clinic - librelink_business_get_glucose_graph(patient_id: string, patient_ids?: string[]) — ~12h high-resolution glucose graph (graphData). Read-only CGM data — clinic/follower account; not for medical decisions without clinician review. - librelink_business_get_glucose_logbook(patient_id: string, patient_ids?: string[]) — Manual-scan logbook (~14 days). For continuous graph use librelink_business_get_glucose_graph. Read-only CGM data — clinic/follower account; not for medical decisions without clinician review. - librelink_business_get_glucose_stats(patient_id: string, target_low?: number, target_high?: number, patient_ids?: string[]) — Time-in-range, avg, min/max from current graph window (~12h). Default target 70–180 mg/dL. Read-only CGM data — clinic/follower account; not for medical decisions without clinician review. - librelink_business_get_last_hours(patient_id: string, hours?: integer, patient_ids?: string[]) — Last N hours of normalized points from the current graph window (max ~12h available). Read-only CGM data — clinic/follower account; not for medical decisions without clinician review. - librelink_business_get_latest_reading(patient_id: string, patient_ids?: string[]) — Normalized latest reading: { mg_dl, trend_arrow, timestamp, minutes_ago, has_active_sensor }. Read-only CGM data — clinic/follower account; not for medical decisions without clinician review. - librelink_business_get_patient(patient_id: string, patient_ids?: string[]) — Get one connection by patient_id (target range, sensor, latest glucose envelope). Read-only CGM data — clinic/follower account; not for medical decisions without clinician review. - librelink_business_get_today_summary(patient_id: string, timezone?: string, target_low?: number, target_high?: number, patient_ids?: string[]) — Like glucose stats but filtered to "today" in an IANA timezone; includes hypo/hyper event counts. Read-only CGM data — clinic/follower account; not for medical decisions without clinician review. - librelink_business_list_patients() — List all patients whose CGM data is visible to this LibreLink Up follower account (same as /llu/connections). Use patientId from each row for other tools. Read-only CGM data — clinic/follower account; ## Example prompts - "Liste meus pacientes com partilha ativa e a glicose atual" - "Quem está fora do alvo nas últimas 24 horas?" - "Mostre o tempo no alvo dos últimos 7 dias do paciente X" ## Links Docs: https://mcp.ai/docs/mcps/librelink_business Website: https://mcp.ai/mcps/librelink_business