mcp-fhir
Verified Safeby sdesani
Overview
The server provides a Model Context Protocol (MCP) interface for securely interacting with Oracle Millennium Platform's FHIR APIs to access patient, clinical, and administrative healthcare data.
Installation
uv run --with fastmcp fastmcp run fhir-mcp-server.pyEnvironment Variables
- FHIR_CLIENT_ID
- FHIR_CLIENT_SECRET
Security Notes
The server correctly implements OAuth 2.0 Client Credentials flow, automatically managing access tokens with refreshing. Client ID and Secret are loaded from environment variables (or .env file), preventing hardcoding. It uses HTTPS for API communication and raises errors for authentication failures. Reliance on external FHIR server security and correct credential management by the user are key considerations.
Similar Servers
mcp
This repository provides a collection of Model Context Protocol (MCP) servers to enable AI agents to interact with and manage various Oracle Cloud Infrastructure (OCI) services, Oracle Database, and MySQL databases through natural language.
example-remote-server
A reference server demonstrating all Model Context Protocol (MCP) features and OAuth 2.0 authentication patterns.
knowledgebase-mcp
A standardized Model Context Protocol (MCP) server that aggregates and provides AI systems with access to diverse biomedical knowledge bases and analysis tools.
mcp-server-playground
A playground and reference implementation for a Model Context Protocol (MCP) server, featuring streamable HTTP transport, OAuth proxy for third-party authorization servers like Auth0, and stateful session management.