Cover image
Try Now
2025-04-14

服务器巡检和运维MCP工具

3 years

Works with Finder

1

Github Watches

3

Github Forks

5

Github Stars

ops-mcp-server Project

Project Overview

ops-mcp-server is a toolset for server inspection and monitoring, providing a series of tools for remote server operations including network interface checks, service status monitoring, firewall configuration inspection, and more.

Features

Server Monitoring Tools

  • Get Memory Info: Get local server memory information
  • Remote Server Inspection: Perform remote server inspection including CPU, memory, disk and other modules
  • System Load Monitoring: Get system load information
  • Process Monitoring: Monitor remote server processes, return top resource-consuming processes
  • Service Status Check: Check running status of specified services
  • Network Interface Check: Check network interfaces and connection status
  • Log Analysis: Analyze error and warning messages in server log files
  • Configuration Backup: Backup important system configuration files
  • Security Vulnerability Scan: Perform basic security vulnerability scanning
  • SSH Login Risk Check: Check SSH login risks including failed attempts and suspicious IPs
  • Firewall Configuration Check: Check firewall configuration and open ports
  • OS Details: Get detailed operating system information

Network Device Management

  • Device Identification: Identify network device types and basic information
  • Switch Port Check: Check switch port status
  • Routing Table Check: Check router routing tables
  • Network Config Backup: Backup network device configurations
  • ACL Config Check: Check security ACL configurations
  • VLAN Config Check: Check switch VLAN configurations

Additional Features

  • Tool Listing: List all available tools and their descriptions
  • Batch Operations: Support simultaneous inspection tasks across multiple devices

Installation

This project uses uv for Python dependency and virtual environment management.

1. Install uv

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

2. Create and activate virtual environment

uv venv .venv
source .venv/bin/activate  # Linux/macOS
# or
.\.venv\Scripts\activate   # Windows

3. Install project dependencies

Make sure you have Python 3.10 or higher installed, then use the following command to install project dependencies:

uv pip install -r requirements.txt

Note: Dependency information can be found in the pyproject.toml file.

MCP Server Configuration

To add this project as an MCP server, add the following configuration to your settings file:

"ops-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "YOUR_PROJECT_PATH_HERE",  // Replace with your actual project path
        "run", 
        "main.py"
      ],
      "env": {},
      "disabled": true,
      "autoApprove": [
        "list_available_tools"
      ]
    }

License

This project is licensed under the MIT License.

Notes

  • Ensure the remote server's SSH service is running properly and you have appropriate permissions.
  • Adjust parameters according to actual conditions when using tools.
  • The project is currently being improved...

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

  • KasarLabs
  • Build powerful and secure AI Agents powered by Starknet.

  • sligter
  • Lite-MCP-Client是一个基于命令行的轻量级MCP客户端工具

  • ariofarmani
  • Test repository for GitHub MCP server functionality

  • 1Panel-dev
  • 💬 MaxKB is an open-source AI assistant for enterprise. It seamlessly integrates RAG pipelines, supports robust workflows, and provides MCP tool-use capabilities.

    Reviews

    4 (1)
    Avatar
    user_OsNrYzKJ
    2025-04-17

    As a dedicated user of ops-mcp-server, I can confidently say that this tool has significantly streamlined our server management processes. The seamless integration and robust features provided by Heht571 have greatly enhanced our operational efficiency. Highly recommend checking it out!