Virtual Patient MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Virtual Patient MCP App • OSCE Clinical Simulation Suite
A full-stack Model Context Protocol (MCP) Application designed for medical students and doctors to practice clinical consultations in an emergency / ward setting.
Architecture Overview
+---------------------------------------------------------------------------------------+
| HOST PLATFORM (e.g., Enterprise Agent Chat / McpAppContainer) |
| • Renders <McpAppContainer resourceUri="http://localhost:5174" /> |
| • Listens to postMessage events (JSON-RPC 2.0 tools/call) |
+-------------------------------------------|-------------------------------------------+
|
postMessage (JSON-RPC 2.0)
|
+-------------------------------------------v-------------------------------------------+
| CLIENT: THE MCP APP (http://localhost:5174) |
| • Real-time Animated HTML5 Canvas ECG Monitor (Sinus Tachycardia / STEMI rhythm) |
| • History Taking Chat (Anamnesis) with rapid clinical chips & custom inquiries |
| • Targeted Physical Examination Suite (Mitral Apex, JVP, Lung Bases, Chest Wall) |
| • Diagnostic Lab Center (12-Lead ECG strip, Troponin I STAT, CXR, CBC, BMP) |
| • Resuscitation & Rx Pad (Aspirin chewable, Sublingual Nitroglycerin, Oxygen) |
| • Official OSCE Scorecard (Letter grade, competency checklist, professor debrief) |
+-------------------------------------------|-------------------------------------------+
|
REST / SSE / stdio Transports
|
+-------------------------------------------v-------------------------------------------+
| SERVER: VIRTUAL PATIENT MCP SERVER (http://localhost:3001) |
| • Model Context Protocol Server (@modelcontextprotocol/sdk) |
| • Tools: converse_patient, examine_patient, order_investigation, |
| administer_medication, submit_consultation, switch_case |
| • Resources: patient://vitals, patient://chart |
| • Medical Cases Engine: loads cases from /cases/*.json |
+---------------------------------------------------------------------------------------+Related MCP server: Konsilium
Getting Started
1. Run the Entire Suite (Server + Client)
npm run devMCP Server:
http://localhost:3001(SSE:/sse, REST:/api/state)Interactive MCP App:
http://localhost:5174
2. Embedding inside McpAppContainer
In your agent chat interface, pass:
<McpAppContainer
resourceUri="http://localhost:5174"
minHeight={650}
onToolCallRequested={(call) => {
console.log("MCP Tool Call from Virtual Patient UI:", call);
}}
/>MCP Tools Reference
Tool Name | Parameters | Description |
|
| Conducts history-taking. Patient responds with emotional fidelity without leaking diagnosis. |
|
| Elicits physiological examination findings (auscultation sounds, palpation tenderness). |
|
| Releases laboratory panels and imaging reports (12-lead ECG, Troponin I, CXR). |
|
| Gives emergency pharmacotherapy and triggers immediate telemetry & pain updates. |
|
| Concludes encounter and generates the comprehensive OSCE scorecard. |
|
| Switches between clinical cases (e.g. STEMI vs. Community-Acquired Pneumonia). |
Included Clinical Cases
case_01_stemi.json— 58-year-old male with acute retrosternal crushing chest pain radiating to left arm/jaw (Acute STEMI).case_02_pneumonia.json— 42-year-old female with high fever, rigors, rusty sputum, and pleuritic chest pain (Community-Acquired Pneumonia).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Telehealth support for Claude, Codex and Cursor: investigate cases and connect your tools.
Healthcare staffing simulator — ED, walk-in clinic, and appointment office DES tools.
Physician-reviewed medical opinions and prescriptions for AI agents.
Licensed US telehealth — GLP-1 medications, intake, consents, Stripe ACP. HIPAA-compliant, 30 tools.
Related MCP Servers
FlicenseNot gradedqualityDmaintenanceEnables AI agents to manage virtual clinic data including patients, visits, diagnoses, treatments, lab/radiology orders, and search medical literature and internal knowledge base.-- AlicenseNot gradedqualityDmaintenanceEnables privacy-first medical document analysis with multi-perspective AI review. Ingest documents, run consilium reviews, generate doctor letters, and search patient memory—all through natural language.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables emergency medical coordination with tools for triage, medication guidance, blood donor outreach, mass casualty simulation, and emergency plan generation.MIT
- AlicenseNot gradedqualityBmaintenanceEnables scenario-based clinical communication practice through MCP tools for discovering scenarios, starting sessions, sending practitioner turns, and receiving evidence-linked evaluation feedback.MIT