MCP-ServiceNow Integration for Healthcare Organizations
by epoisel
README.md
# MCP-ServiceNow Integration for Healthcare Organizations
A Model Context Protocol (MCP) server that integrates with ServiceNow Knowledge Base to provide AI-powered help desk support through Copilot, specifically designed for healthcare organizations with enterprise security and compliance requirements.
## š„ Healthcare-Focused Features
### **For Healthcare IT Teams**
- **Epic EMR Support**: Specialized knowledge base for Epic login issues, password resets, and system troubleshooting
- **PACS Integration**: Imaging workstation connectivity and performance issue resolution
- **Medical Device Support**: Nursing station technology, barcode scanners, and bedside computers
- **Compliance Ready**: HIPAA, SOC 2, and FDA compliance built-in
### **Enterprise Security**
- **Active Directory Integration**: Single sign-on with Azure AD and MFA
- **Role-Based Access Control**: Healthcare-specific user groups and permissions
- **Audit Logging**: Comprehensive HIPAA-compliant audit trails
- **Data Classification**: Automatic filtering based on user clearance levels
## š Quick Start for Healthcare Organizations
### Option 1: Healthcare Quick Start (Recommended)
Perfect for getting started while waiting for full ServiceNow access:
```bash
# Get started in 5 minutes with mock healthcare data
git clone https://github.com/your-org/mcp-servicenow-integration.git
cd mcp-servicenow-integration
npm install
cp .env.example .env
# Edit .env with MOCK_MODE=true
npm run dev
```
**š [Follow the complete Healthcare Quick Start Guide ā](HEALTHCARE-QUICKSTART.md)**
### Option 2: Standard Setup
For organizations with existing ServiceNow access:
```bash
git clone https://github.com/your-org/mcp-servicenow-integration.git
cd mcp-servicenow-integration
npm install
cp .env.example .env
# Configure with your ServiceNow credentials
npm start
```
## šÆ Project Overview
This project creates a bridge between AI assistants (like GitHub Copilot) and ServiceNow Knowledge Base systems, enabling healthcare help desk agents to:
- **Query Issues Naturally**: Ask questions about Epic EMR, PACS, or nursing technology in plain language
- **Access Healthcare KB**: Automatically search and retrieve relevant ServiceNow KB articles for healthcare IT
- **Get AI-Powered Solutions**: Receive contextual fixes and recommendations based on healthcare-specific content
- **Maintain Compliance**: All interactions logged and compliant with HIPAA and healthcare security requirements
## ⨠Key Features
### š Healthcare-Specific Knowledge Retrieval
- **Epic EMR Integration**: Specialized search for Epic login issues, password resets, and system errors
- **PACS Support**: Imaging workstation connectivity and DICOM troubleshooting
- **Medical Device Knowledge**: Nursing station printers, barcode scanners, and bedside computers
- **Compliance-Aware Filtering**: Automatically filter results based on HIPAA and data classification
### š¤ AI-Powered Healthcare Support
- **Clinical Context Understanding**: Recognizes healthcare-specific terminology and workflows
- **Role-Based Responses**: Tailored responses for different healthcare IT roles (L1, L2, Admin)
- **Compliance Integration**: Includes HIPAA and security considerations in all responses
- **Multi-Department Support**: Emergency, Radiology, Laboratory, Pharmacy, and Nursing
### š Healthcare Enterprise Security
- **Azure AD Integration**: Single sign-on with healthcare AD groups and MFA
- **HIPAA Compliance**: Built-in audit logging and data protection
- **Role-Based Access**: Healthcare-specific user groups (IT L1/L2, Admin, Security)
- **Data Classification**: Automatic filtering (Public, Internal, Confidential, Restricted)
### š Healthcare Operational Excellence
- **Compliance Audit Trails**: Track all queries and responses for healthcare compliance
- **Performance Monitoring**: Monitor response times for critical healthcare systems
- **Security Incident Tracking**: Automated alerts for unauthorized access attempts
- **Healthcare Metrics**: Track Epic connectivity, PACS performance, and system uptime
## šļø Architecture for Healthcare
```
āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā
ā Healthcare ā ā MCP Server ā ā ServiceNow ā
ā Help Desk ā ā ā ā Healthcare ā
ā + Copilot āāāāāŗā - AD Auth āāāāāŗā Knowledge ā
ā + Azure AD ā ā - HIPAA Log ā ā Base ā
ā ā ā - Role Filter ā ā ā
āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāā
```
### Healthcare-Specific Components
1. **Azure AD Authentication**: Healthcare organization single sign-on
2. **HIPAA Audit Logger**: Comprehensive compliance logging
3. **Healthcare Role Mapper**: Map AD groups to healthcare permissions
4. **Data Classification Engine**: Filter content based on security clearance
5. **Healthcare Knowledge Processor**: Specialized parsing for medical terminology
## š Getting Started
### Prerequisites
- Node.js 18+ or Python 3.8+
- Azure AD tenant with healthcare organization
- ServiceNow instance with Knowledge Base configured (optional for mock mode)
- MCP-compatible client (like Claude Desktop or compatible IDE)
### Healthcare Environment Setup
1. **Configure Azure AD Integration**
```bash
# Set up healthcare-specific environment
AZURE_AD_TENANT_ID=your-healthcare-tenant-id
AZURE_AD_CLIENT_ID=your-healthcare-client-id
ORGANIZATION_NAME="Your Healthcare Organization"
HIPAA_COMPLIANCE_MODE=true
```
2. **Configure Healthcare User Groups**
```bash
# Healthcare IT groups
Healthcare_IT_L1=Level 1 Help Desk
Healthcare_IT_L2=Level 2 Technicians
Healthcare_IT_Admin=IT Administrators
Healthcare_Security=Security Team
```
3. **Start with Mock Healthcare Data**
```bash
# Perfect for development and testing
MOCK_MODE=true
npm run dev
```
## š Healthcare Usage Examples
### Epic EMR Support
```
Agent: "User can't log into Epic, getting authentication failed error"
MCP Response:
Found 3 relevant Healthcare IT articles:
**KB0001001: Epic EMR Login Issues - Password Reset**
- Category: Epic EMR
- Compliance: HIPAA, SOC2
- Last Updated: 2024-01-20
**Resolution Steps:**
1. Verify user identity with employee ID and department
2. Check AD account status and group memberships
3. Reset password following healthcare security policy
4. Force Epic password sync through UserWeb
5. Test login with temporary password
**Security Notes:**
- All password resets must be logged in audit system
- Verify identity before any password reset
- Report suspicious requests to Security team
```
### PACS Imaging Support
```
Agent: "Radiology workstation can't connect to PACS server"
MCP Response:
Found 2 relevant Healthcare IT articles:
**KB0001002: PACS Imaging Workstation Connectivity**
- Category: PACS
- Compliance: HIPAA, FDA
- Department: Radiology
**Resolution Steps:**
1. Check network connectivity to PACS server
2. Verify DICOM services are running
3. Test DNS resolution for pacs.hospital.org
4. Check firewall settings for ports 104, 4242
5. Clear PACS cache and restart client
**Clinical Impact:**
- High priority - affects patient care
- Escalate to Radiology IT if multiple workstations affected
```
## š§ Configuration
### Healthcare Environment Variables
```bash
# Healthcare Organization
ORGANIZATION_NAME="Your Healthcare Organization"
ENVIRONMENT=development
HIPAA_COMPLIANCE_MODE=true
AUDIT_LEVEL=comprehensive
# Azure AD Healthcare Integration
AZURE_AD_TENANT_ID=your-healthcare-tenant-id
AZURE_AD_CLIENT_ID=your-healthcare-client-id
AZURE_AD_CLIENT_SECRET=your-healthcare-client-secret
# ServiceNow Healthcare Instance
SERVICENOW_INSTANCE=your-healthcare.service-now.com
SERVICENOW_CLIENT_ID=your-healthcare-sn-client-id
SERVICENOW_CLIENT_SECRET=your-healthcare-sn-client-secret
# Mock Mode (for development)
MOCK_MODE=true
```
### Healthcare MCP Client Configuration
```json
{
"mcpServers": {
"healthcare-servicenow": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"ORGANIZATION_NAME": "Your Healthcare Organization",
"HIPAA_COMPLIANCE_MODE": "true",
"AZURE_AD_TENANT_ID": "your-healthcare-tenant-id",
"MOCK_MODE": "true"
}
}
}
}
```
## š Healthcare Documentation
- [**Healthcare Quick Start**](HEALTHCARE-QUICKSTART.md) - Get started in 15 minutes with mock data
- [**Healthcare Deployment Guide**](docs/healthcare-deployment.md) - Complete healthcare-specific setup
- [**Architecture Guide**](docs/architecture.md) - Detailed system architecture
- [**API Reference**](docs/api-reference.md) - Complete API documentation
- [**Configuration Guide**](docs/configuration.md) - Configuration options
- [**Security Guide**](docs/security.md) - HIPAA and security best practices
- [**Troubleshooting**](docs/troubleshooting.md) - Common issues and solutions
- [**Contributing**](docs/contributing.md) - Contribution guidelines
## š„ Healthcare Compliance
### HIPAA Compliance Features
- **Audit Logging**: All data access logged with user identification
- **Data Classification**: Automatic filtering based on data sensitivity
- **Access Controls**: Role-based permissions for healthcare staff
- **Session Management**: Secure session handling with automatic timeouts
- **Encryption**: All data encrypted in transit and at rest
### Healthcare User Roles
- **Healthcare_IT_L1**: Basic help desk agents (Public, Internal access)
- **Healthcare_IT_L2**: Senior technicians (Public, Internal, Confidential)
- **Healthcare_IT_Admin**: IT administrators (All access levels)
- **Healthcare_Security**: Security team (Full access + audit capabilities)
- **Healthcare_Physicians**: Medical doctors (Clinical knowledge access)
- **Healthcare_Nurses**: Nursing staff (Nursing procedures access)
## š¤ Contributing
We welcome contributions! Please see our [Contributing Guide](docs/contributing.md) for details.
### Healthcare-Specific Contributions
- Epic EMR troubleshooting procedures
- PACS integration knowledge
- Medical device support articles
- Nursing technology procedures
- Healthcare compliance updates
## š License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## š Support
### Healthcare Support Channels
- **Internal IT**: it-support@hospital.org
- **Security Team**: security@hospital.org
- **Project Issues**: [GitHub Issues](https://github.com/your-org/mcp-servicenow-integration/issues)
- **Documentation**: [Project Wiki](https://github.com/your-org/mcp-servicenow-integration/wiki)
## š¦ Project Status
- **Current Version**: 1.0.0-beta
- **Status**: Active Development
- **Stability**: Beta - suitable for healthcare development and testing
- **Healthcare Focus**: Optimized for Epic EMR, PACS, and nursing technology
## š Healthcare Metrics
- **Epic Integration**: 99.9% uptime target
- **PACS Performance**: <2 second response time
- **Audit Compliance**: 100% HIPAA audit trail
- **User Satisfaction**: 95%+ support resolution rate
---
**Built with ā¤ļø for healthcare IT teams everywhere**
*Empowering healthcare organizations with AI-powered knowledge access while maintaining the highest standards of security and compliance.* This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues