Token导航 LogoToken导航TokenDH.com
OPS MCP Server logo
安全风控stdio官方级别未说明来源级核验

OPS MCP Server

MCP Server

一个融合LLM和MCP架构的AI驱动IT运维平台,提供智能监控、异常检测和自然语言交互功能,具备企业级安全性和可扩展性。

工具数

0

提示词数

0

GitHub Stars

50

资源数

0
Python人工智能容器管理

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

Heht571

提供方

Heht571

最后核验

2026/5/17 20:52

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install -r requirements.txt

详细介绍


ops-mcp-server

![中文](README_zh.md)

ops-mcp-server: an AI-driven IT operations platform that fuses LLMs and MCP architecture to enable intelligent monitoring, anomaly detection, and natural human-infrastructure interaction with enterprise-grade security and scalability.


📖 Table of Contents


🚀 Project Overview

ops-mcp-server is an IT operations management solution for the AI era. It achieves intelligent IT operations through the seamless integration of the Model Context Protocol (MCP) and Large Language Models (LLMs). By leveraging the power of LLMs and MCP's distributed architecture, it transforms traditional IT operations into an AI-driven experience, enabling automated server monitoring, intelligent anomaly detection, and context-aware troubleshooting. The system acts as a bridge between human operators and complex IT infrastructure, providing natural language interaction for tasks ranging from routine maintenance to complex problem diagnosis, while maintaining enterprise-grade security and scalability.


🌟 Key Features

🖥️ Server Monitoring

  • Real-time CPU, memory, disk inspections.
  • System load and process monitoring.
  • Service and network interface checks.
  • Log analysis and configuration backup.
  • Security vulnerability scans (SSH login, firewall status).
  • Detailed OS information retrieval.

📦 Container Management (Docker)

  • Container, image, and volume management.
  • Container resource usage monitoring.
  • Log retrieval and health checks.

🌐 Network Device Management

  • Multi-vendor support (Cisco, Huawei, H3C).
  • Switch port, VLAN, and router route checks.
  • ACL security configuration analysis.
  • Optical module and device performance monitoring.

➕ Additional Capabilities

  • Extensible plugin architecture.
  • Batch operations across multiple devices.
  • Tool listing and descriptive commands.

🎬 Demo Videos

📌 Project Demo

_On Cherry Studio_

Demo Animation

📌 Interactive Client Demo

_On Terminal_

Client Demo Animation


⚙️ Installation

Ensure you have Python 3.10+ installed. This project uses uv for dependency and environment management.

1. Install UV

curl -LsSf https://astral.sh/uv/install.sh | sh

2. Set Up Virtual Environment

uv venv .venv

# Activate the environment
source .venv/bin/activate      # Linux/macOS
.\.venv\Scripts\activate       # Windows

3. Install Dependencies

uv pip install -r requirements.txt
Dependencies are managed via pyproject.toml.

🚧 Deployment

📡 SSE Remote Deployment (UV)

cd server_monitor_sse

# Install dependencies
pip install -r requirements.txt

# Start service
cd ..
uv run server_monitor_sse --transport sse --port 8000

🐳 SSE Remote Deployment (Docker Compose)

Ensure Docker and Docker Compose are installed.

cd server_monitor_sse
docker compose up -d

# Check status
docker compose ps

# Logs monitoring
docker compose logs -f

🛠️ Local MCP Server Configuration (Stdio)

Add this configuration to your MCP settings:

{
  "ops-mcp-server": {
    "command": "uv",
    "args": [
      "--directory", "YOUR_PROJECT_PATH_HERE",
      "run", "server_monitor.py"
    ],
    "env": {},
    "disabled": true,
    "autoApprove": ["list_available_tools"]
  },
  "network_tools": {
    "command": "uv",
    "args": [
      "--directory", "YOUR_PROJECT_PATH_HERE",
      "run", "network_tools.py"
    ],
    "env": {},
    "disabled": false,
    "autoApprove": []
  },
}
Note: Replace YOUR_PROJECT_PATH_HERE with your project's actual path.

💬 Interactive Client Usage

An interactive client (client.py) allows you to interact with MCP services using natural language.

1. Install Client Dependencies

uv pip install openai rich

2. Configure Client

Edit these configurations within client.py:

# Initialize OpenAI client
self.client = AsyncOpenAI(
    base_url="https://your-api-endpoint",
    api_key="YOUR_API_KEY"
)

# Set model
self.model = "your-preferred-model"

3. Run the Client

uv run client.py [path/to/server.py]

Example:

uv run client.py ./server_monitor.py

Client Commands

  • help - Display help.
  • quit - Exit client.
  • clear - Clear conversation history.
  • model - Switch models.

📄 License

This project is licensed under the MIT License.


📌 Notes

  • Ensure remote SSH access is properly configured.
  • Adjust tool parameters based on actual deployment conditions.
  • This project is under active development; feedback and contributions are welcome.

目录标签

目录标签

Python人工智能容器管理IT运维本地部署服务器监控网络设备管理

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

session

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiosession部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP