Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

ops-mcp-server

MCP.Pizza Chef: Heht571

ops-mcp-server is an AI-powered IT operations platform integrating LLMs with MCP architecture to provide intelligent monitoring, anomaly detection, and natural language interaction with IT infrastructure. It supports enterprise-grade security and scalability, enabling efficient network device inspection and operations management in complex environments.

Use This MCP server To

Monitor network devices for real-time status updates Detect anomalies in IT infrastructure automatically Enable natural language queries for IT operations Integrate with enterprise IT systems securely Scale IT operations management across distributed environments Automate routine network device inspections Provide interactive client interfaces for IT staff

README


ops-mcp-server

中文

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 <name> - 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.

ops-mcp-server FAQ

How do I install ops-mcp-server?
Installation instructions are provided in the GitHub README, including dependencies and setup steps for local and cloud deployment.
Can ops-mcp-server handle large-scale enterprise environments?
Yes, it is designed with enterprise-grade scalability and security to support large distributed IT infrastructures.
What kind of anomaly detection does ops-mcp-server support?
It uses AI-driven models integrated with MCP to detect network and system anomalies in real time.
How does ops-mcp-server enable natural language interaction?
By leveraging LLMs within the MCP framework, it allows users to interact with IT infrastructure using natural language commands and queries.
Is ops-mcp-server compatible with existing IT monitoring tools?
It can integrate with various IT systems and tools through MCP adapters, enabling seamless interoperability.
What security measures are implemented in ops-mcp-server?
The platform includes enterprise-grade security features such as access controls, encrypted communication, and audit logging.
Can I customize ops-mcp-server for specific network devices?
Yes, the modular MCP architecture allows customization and extension for different device types and protocols.
Does ops-mcp-server support interactive client usage?
Yes, it provides interactive client interfaces for real-time monitoring and management tasks.