Accesses FHIR data in Azure Health Data Services from an MCP server.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add azure-fhir --env LOG_LEVEL='<LOG_LEVEL>' -- uvx azure-fhir-mcp-server~/.codex/config.toml
[mcp_servers.azure-fhir]
command = "uvx"
args = ["azure-fhir-mcp-server"]
env = { LOG_LEVEL = "<LOG_LEVEL>" }
# codex mcp add azure-fhir --env LOG_LEVEL='<LOG_LEVEL>' -- uvx azure-fhir-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"azure-fhir": {
"command": "uvx",
"args": [
"azure-fhir-mcp-server"
],
"env": {
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"azure-fhir": {
"type": "stdio",
"command": "uvx",
"args": [
"azure-fhir-mcp-server"
],
"env": {
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"azure-fhir": {
"command": "uvx",
"args": [
"azure-fhir-mcp-server"
],
"env": {
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"azure-fhir": {
"command": "uvx",
"args": [
"azure-fhir-mcp-server"
],
"env": {
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"azure-fhir": {
"command": "uvx",
"args": [
"azure-fhir-mcp-server"
],
"env": {
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}需要的环境变量
LOG_LEVEL
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。