Azure AHDS FHIR MCP Server
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"fhir": {
"env": {
"fhirUrl": "https://your-fhir-server.azurehealthcareapis.com/fhir",
"clientId": "your-client-id",
"tenantId": "your-tenant-id",
"clientSecret": "your-client-secret"
},
"args": [
"azure-fhir-mcp-server"
],
"type": "stdio",
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server implementation for Azure Health Data Services FHIR (Fast Healthcare Interoperability Resources). This service provides a standardized interface for interacting with Azure FHIR servers, enabling healthcare data operations through MCP tools.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Patient ResourcesAccess all Patient resources
fhir://Patient/
Patient ResourceAccess a specific Patient resource
fhir://Patient/{id}
Observation ResourcesAccess all Observation resources
fhir://Observation/
Observation ResourceAccess a specific Observation resource
fhir://Observation/{id}
Medication ResourcesAccess all Medication resources
fhir://Medication/
Medication ResourceAccess a specific Medication resource
fhir://Medication/{id}
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in cloud / health
MCP Server for GCP environment for interacting with various Observability APIs.
⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
MCP server for Datto SaaS Protection — M365/GWS backups, restores, seats.
MCP Security Weekly
Get CVE alerts and security updates for Azure Fhir Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server implementation for Azure Health Data Services FHIR (Fast Healthcare Interoperability Resources). This service provides a standardized interface for interacting with Azure FHIR servers, enabling healthcare data operations through MCP tools.
Requires Python 3.13 or higher and uv.
Install uv first.
See the FastMCP guidance on mcp.json here: https://gofastmcp.com/integrations/mcp-json-configuration
USE_FAST_MCP_OAUTH_PROXY=falseHTTP_TRANSPORT=false to use stdio transport{
"mcpServers": {
"fhir": {
"type": "stdio",
"command": "uvx",
"args": [
"azure-fhir-mcp-server"
],
"env": {
"fhirUrl": "https://your-fhir-server.azurehealthcareapis.com/fhir",
"clientId": "your-client-id",
"clientSecret": "your-client-secret",
"tenantId": "your-tenant-id"
}
}
}
}
The OAuth on-behalf-of flow requires a confidential Azure AD application that represents the MCP server.
FHIR-MCP-Server, set Supported account types to Single tenant, and leave the redirect URI unset for now.Application (client) ID and Directory (tenant) ID for later use.api://{appId}. Add a scope named user_impersonation with admin consent display/description also set to user_impersonation.FHIR-MCP-Secret-New). Copy the secret value immediately; it is required for the MCP server clientSecret setting.http://localhost:9002/auth/callback
Ensure Default client type remains No so the app stays confidential.Environment variables:
USE_FAST_MCP_OAUTH_PROXY=trueHTTP_TRANSPORT=trueStart the MCP server with:
uv pip install -e .
uv run --env-file .env azure-fhir-mcp-server
{
"mcpServers": {
"fhir": {
"type": "http",
"url": "http://localhost:9002/mcp"
}
}
}
The following is a table of available environment configuration variables:
| Variable | Description | Default | Required |
|---|---|---|---|
fhirUrl | Azure FHIR server base URL (include /fhir) | - | Yes |
clientId | Azure App registration client ID | - | Yes |
clientSecret | Azure App registration client secret | - | Yes |
tenantId | Azure AD tenant ID | - | Yes |
USE_FAST_MCP_OAUTH_PROXY | Enable FastM |