smart-fhir
smart-fhir
患者を捏造しないコネクタ。
インストール
stdio のみ。TypeScript ビルド後、ローカルコネクタを追加します:
name: smart-fhir
command: node
args: dist/index.jsnpm install
npm run buildそのための環境変数(デフォルト値であり、シークレットではありません):
FHIR_ISS = https://launch.smarthealthit.org/v/r4/fhir
FHIR_VERSION = R4
FHIR_AUTH_MODE = open
FHIR_WRITE = off
FHIR_AUDIT_PATH = ./audit/audit.jsonlシークレット値をリポジトリに置かないでください。公開 HTTP ポートはありません。TCP にバインドもしません。
朝のショートカット(同じ環境変数)
npx -y tsx src/index.tspackage.json の scripts(install、build、test、prove)を参照してください。
Related MCP server: smart-mcp-server
ツール
4つのツール。create / update / delete はありません。
ツール | 動作 |
| GET |
|
|
| GET |
| GET |
resourceType 許可リスト: Patient | Observation | Condition | MedicationRequest | はっと. それ以外 → { ok: false, error: "resourceType not in v1 allowlist" }。
動作の仕組み
FHIR_VERSION は R4 でなければなりません。それ以外は起動を拒否します。
対象 | URL | 扱い |
FHIR インデックス(公開ページは R5 5.0.0) | 公式インデックスのみ。未実装。 | |
FHIR R4 (v1) | FHIR Release 4、4.0.1。リソースモデル。 | |
SMART App Launch 2.2.0 (STU 2.2) | 現在公開されている SMART IG。 FHIR R4 ベース。 | |
アプリ起動+認可 | ディスカバリ、standalone / EHR 起動、PKCE、トークン。 App Launch(code+PKCE)はv1の範囲外です。 | |
Backend Services | client_credentials + 秘密鍵 JWT。実装済み。環境変数が設定されない限り未使用。 |
ISS 許可リスト(末尾のスラッシュは取り除かれる。それ以外は拒否):
許可リストに載っている別のベースを FHIR_ISS に設定すると、別の ISS を指せます。新しい ISS はまずレビューが必要です。そのレビューと実在の client_id がない状態で、本番の EHR にこれを向けないでください。
FHIR_AUTH_MODE | 動作 |
| ディスカバリしてから、Authorization を付けずに FHIR GET。open ではディスカバリの 404 は致命的ではない(ログを取って続行)。FHIR が 401 / 403 を返すと → |
| ディスカバリは同じ。Authorization Bearer トークンで FHIR GET します。 |
|
|
App Launch(code+PKCE)は対象外です。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI applications to securely search and manage healthcare data from FHIR R4-compliant servers with built-in safety validation for AI-generated clinical observations, preventing recording of physiologically impossible values.8MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely interact with FHIR R4 servers for clinical decision support workflows, including PlanDefinition execution, FHIR resource management, terminology services, and Questionnaire/StructureMap transformation via Matchbox.1
- AlicenseAqualityAmaintenanceRead-only MCP server for licensed Healthpoint HL7 FHIR API access.101Apache 2.0
- AlicenseAqualityAmaintenanceEnables read-only FHIR access to Practice Fusion EHR to search patients, appointments, conditions, medications, and lab results.13223MIT
Related MCP Connectors
Securely access and manage FHIR healthcare data stored in Medplum.
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Guardrailed FHIR access for AI agents: PHI redaction, audit trail, step-up auth, tenant isolation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/swami8791/smart-fhir-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server