Skip to main content
Glama

featherless

Servidor MCP FHIR R4 compatible con TypeScript SHARP-on-MCP con paneles clínicos MCP-UI. Se ejecuta en Cloudflare Workers.

Proyecto hermano de sharp-fhir-mcp (Python, FastMCP 2.x). Mismas semánticas SHARP, mismo conjunto de herramientas, mismas visualizaciones de Chart.js de MCP-UI: reimplementado en TypeScript para el edge.

Qué incluye

Núcleo

  • Transporte HTTP SHARP a través del SDK agents de Cloudflare (McpAgent, sesiones respaldadas por Durable Object)

  • Contexto basado en encabezados (X-FHIR-Server-URL, X-FHIR-Access-Token, X-Patient-ID) con respaldo de reclamación JWT SMART

  • Modos de contexto estricto y permisivo

  • Capacidad experimental.fhir_context_required inyectada en initialize

Herramientas (paridad con sharp-fhir-mcp)

  • tools/fhir.ts — búsqueda/lectura genérica de FHIR R4

  • tools/clinical.ts — Paciente / Encuentro / Cita / Alergia / Medicación / Problema

  • tools/lab-imaging.ts — Observación / Informe de diagnóstico / Referencia de documento

  • tools/clinical-context.ts — contexto de visita agregado con alertas derivadas

  • tools/memory.ts — memoria clínica respaldada por Cloudflare Vectorize + Workers AI + D1

  • tools/visualization.ts — paneles de Chart.js de MCP-UI (visualize_lab_trend, visualize_vitals, visualize_patient_dashboard)

Related MCP server: sharp-on-fhir-mcp

Primeros pasos

pnpm install
# create the Vectorize index (once)
pnpm wrangler vectorize create featherless-memory --dimensions=768 --metric=cosine
# create the D1 database (once), put the id into wrangler.jsonc
pnpm wrangler d1 create featherless-memory-meta
pnpm db:migrate:remote
# develop
pnpm dev

Contexto SHARP

Reenvíe estos encabezados en cada tools/call:

Encabezado

Propósito

X-FHIR-Server-URL

URL base de FHIR R4

X-FHIR-Access-Token

Token de acceso OAuth2/SMART (Bearer opcional)

X-Patient-ID

Opcional; recurre a la reclamación patient de JWT

Licencia

MIT.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables seamless integration with FHIR APIs for healthcare applications, allowing users to search, retrieve, create, update, and analyze clinical information through natural language interactions. Supports SMART-on-FHIR authentication and works with various healthcare systems like EPIC and HAPI FHIR servers.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    A clean-room SHARP-on-MCP compliant FHIR R4 MCP server that enables AI agents to interact with any FHIR R4 endpoint using SHARP context headers, without server-side OAuth. It provides clinical tools, lab results, imaging, and interactive MCP-UI dashboards.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI applications to query and retrieve healthcare data (patients, conditions, observations, medications) from a public FHIR R4 server via MCP tools.
    MIT