MedFlow MCP
AI-powered Hospital Operations MCP server that enables seamless interaction with hospital databases, automated alerts, appointment scheduling, and maintenance management via Jira.
README
🏥 MedFlow MCP
MedFlow MCP is an AI-powered Hospital Operations server built with NitroStack. It serves as the "brain" for modern healthcare management, allowing AI assistants (like Claude, Cursor, and Nitro Studio) to seamlessly interact with hospital databases, trigger automated alerts, schedule appointments, and manage maintenance via Jira.
Built for the NitroStack MCP Hackathon, this project demonstrates how the Model Context Protocol (MCP) can completely revolutionize complex operational workflows in a healthcare setting.
✨ Key Features
- 🎫 Automated Jira Integration: AI can automatically detect malfunctioning hospital equipment (e.g., MRI machines, Defibrillators) from natural language and instantly generate a formatted Jira ticket for the maintenance team via the Atlassian API.
- 🎨 Glassmorphism UI Widgets: Includes rich, beautifully styled Next.js frontend widgets that pop up natively inside the AI chat interface (Patient Profiles, Doctor Dashboards, and Surgery Readiness checklists).
- 🩺 Patient & Appointment Management: Exposes AI tools for scheduling follow-ups, prioritizing critical patients, and viewing real-time doctor queues.
- 🚨 Emergency Alerting System: Tools to broadcast critical CODE emergencies directly to ER teams via Webhook (Slack/Discord).
- 🧠 Diagnostic Vision AI (Mock): A tool designed to read X-rays and MRI scan notes to provide instant clinical AI impressions.
🛠️ Tech Stack
- Framework: NitroStack (Official MCP Framework)
- Backend: Node.js, TypeScript
- Frontend (Widgets): Next.js, React, Tailwind CSS, Framer Motion
- Integrations: Atlassian Jira API v3 (REST)
🚀 How to Run Locally
1. Clone the Repository
git clone https://github.com/tsjharsha/MedFlowMCP-AI-.git
cd MedFlowMCP-AI-
2. Install Dependencies
npm install
npm --prefix src/widgets install
3. Environment Variables
Create a .env file in the root directory and add your Jira API credentials:
JIRA_DOMAIN=your-team.atlassian.net
JIRA_PROJECT_KEY=SCRUM
JIRA_EMAIL=your-email@domain.com
JIRA_API_TOKEN=your-jira-api-token
4. Start the Server
Start the development server with hot-reloading for both the backend MCP server and frontend widgets:
npm run dev
🔌 Connecting to an AI Client
Because this is an MCP Server, you don't interact with it directly through a browser. You connect an AI to it!
- Nitro Studio: Start your local server, open Nitro Studio, and connect to
http://localhost:3000/mcp. - Cursor IDE: Go to Settings -> Features -> MCP -> Add New. Select
SSE, name itMedFlow, and set the URL to your deployed NitroCloud URL orhttp://localhost:3000/mcp.
Once connected, simply talk to the AI (e.g., "Show me the dashboard for Doctor Alice" or "Report that the X-Ray in the lab is broken") and watch it use the tools and render the widgets!
Built with ❤️ for the NitroStack Hackathon.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.