Dynatrace MCP增强服务器

一个增强的Dynatrace MCP服务器,具有Redis缓存、现代聊天界面和Ollama集成功能,适用于实时可观测性数据访问和智能查询处理。

  • by bin04
  • JavaScript
  • 本地部署
  • 更新于
在 GitHub 查看 bin04/dynatrace-mcp-enhanced

使用说明

🚀 Dynatrace MCP增强型

具有Redis缓存、现代聊天UI和Ollama集成的超级Dynatrace MCP服务器。


✨ 特性

🔍 增强的Dynatrace集成

  • 基于OAuth的Dynatrace身份验证
  • Redis智能查询缓存
  • 自然语言到DQL的转换
  • 实时可观察性数据访问

💬 现代聊天界面

  • 干净、响应迅速的深色主题web UI
  • 跨对话的会话管理
  • 实时连接状态指示器
  • 移动友好的响应式设计

🧠 多模态AI支持

  • Olama集成:本地LLM支持一般查询
  • 知识库:一般可观察性和故障排除指南
  • 智能路由:自动将查询路由到最佳处理程序

📦 企业就绪

  • Redis缓存以提高性能
  • 会话持久性和管理
  • 全面的日志记录和监控
  • 优雅的错误处理和回退

🛠️ 快速开始

先决条件

  • Node.js 18+
  • Redis服务器
  • 带有OAuth客户端的Dynatrace环境

安装

git clone https://github.com/yourusername/dynatrace-mcp-enhanced.git
cd dynatrace-mcp-enhanced
npm install
cp .env.example .env
# Edit .env with your Dynatrace OAuth credentials
./start.sh

/
cat > README.md << 'EOF'
# 🚀 Dynatrace MCP Enhanced

**A supercharged Dynatrace MCP server with Redis caching, modern chat UI, and Ollama integration.**

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Node.js](https://img.shields.io/badge/Node.js-18%2B-green.svg)](https://nodejs.org/)
[![Redis](https://img.shields.io/badge/Redis-6%2B-red.svg)](https://redis.io/)

---

## ✨ Features

### 🔍 **Enhanced Dynatrace Integration**
- OAuth-based Dynatrace authentication
- Intelligent query caching with Redis
- Natural language to DQL conversion
- Real-time observability data access

### 💬 **Modern Chat Interface**
- Clean, responsive web UI with dark theme
- Session management across conversations
- Real-time connection status indicators
- Mobile-friendly responsive design

### 🧠 **Multi-Modal AI Support**
- **Ollama Integration**: Local LLM support for general queries
- **Knowledge Base**: General observability and troubleshooting guidance
- **Smart Routing**: Automatically routes queries to best handler

### 📦 **Enterprise Ready**
- Redis caching for performance
- Session persistence and management
- Comprehensive logging and monitoring
- Graceful error handling and fallbacks

---

## 🛠️ Quick Start

### Prerequisites
- Node.js 18+
- Redis Server
- Dynatrace environment with OAuth client

### Installation
```bash
git clone https://github.com/yourusername/dynatrace-mcp-enhanced.git
cd dynatrace-mcp-enhanced
npm install
cp .env.example .env
# Edit .env with your Dynatrace OAuth credentials
./start.sh