A full-stack health dashboard demonstrating React, Node.js, and Agentic AI (MCP) integration.
- Patient Dashboard: View patients and their specific biomarker data.
- AI Integration: Uses the Model Context Protocol (MCP) to analyze biomarkers and suggest monitoring priorities.
- Live Updates: Simulates real-time data changes in the UI.
- Backend: Express.js + TypeScript.
- Acts as the API Gateway.
- Manages In-memory data store.
- Connects to the MCP Server via
StdioClientTransport.
- MCP Server: TypeScript + MCP SDK.
- Runs as a separate process spawned by the Backend.
- Provides
analyze_biomarkersandsuggest_monitoring_prioritiestools.
- Frontend: React + Vite + Tailwind CSS.
- Interactive UI with Recharts for visualization.
- Polls Backend for "Live Updates" simulation.
- Node.js (v18+)
-
Build MCP Server
cd mcp-server npm install npx tsc -
Start Backend
cd backend npm install npx ts-node src/server.ts or npm run startRuns on http://localhost:3001
-
Start Frontend
cd frontend npm install npm run devRuns on http://localhost:5173 (or similar)
- Open the Frontend URL.
- Select a patient.
- Click "Get AI Insights" to trigger the MCP analysis.
- Toggle "Live Updates" to see values change in real-time.
- Monorepo-style structure for clarity.
- MCP Integration: The Backend acts as the "Agent" client, calling the MCP server tools directly. This simplifies the frontend architecture and keeps the "Agentic" logic secure on the server side.
- Data Seeding: Random data generation on startup for testing variability.