# GT-dinuo/server-ops-mcp [Health: Active]

**Category:** 📊 Monitoring  
**Repository:** https://github.com/GT-dinuo/server-ops-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 259  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gt-dinuo-server-ops-mcp

## Description
Server ops via AI: log troubleshooting, CPU/memory/disk monitoring, code edit, Nginx & certificate management. Local or SSH-remote with two-step confirmation, command whitelist, and secret redaction. Install: npx -y server-ops-mcp.

## Tools
Capabilities this server exposes over MCP:

- **system_info** — CPU / memory / disk / load / processes
- **memory_analysis** — Memory usage analysis
- **disk_analysis** — Disk usage analysis
- **service_status** — Service status
- **log_search_system** — Search system logs
- **nginx_config_test** — Test Nginx config
- **nginx_config_read** — Read Nginx config
- **nginx_reload** — Reload Nginx (requires confirmation)
- **certbot_install** — Install certificate (requires confirmation)
- **certbot_renew** — Renew certificate (requires confirmation)
- **log_list** — List project logs
- **log_read** — Read a log
- **log_search** — Search logs
- **file_read** — Read a file
- **file_list** — List a directory
- **file_search** — Search code
- **file_write** — Write a file (requires confirmation)
- **file_patch** — Patch a file (requires confirmation)
- **file_delete** — Delete a file (requires confirmation)
- **command_exec** — Run whitelisted commands
- **project_overview** — Project overview
- **config_audit** — Audit config (auto-redacted)
- **confirm_execute** — Confirm and run a pending action

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "server-ops-mcp": {
    "command": "npx",
    "args": ["-y","server-ops-mcp"],
    "env": {
      "OPS_PROJECT_ROOT": ""
    }
  }
}
```

**Requires environment variables:** `OPS_PROJECT_ROOT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What GT-dinuo/server-ops-mcp does

GT-dinuo/server-ops-mcp provides MCP tools for inspecting and maintaining a project environment. It can report CPU, memory, disk, load, processes, and service status; search system and project logs; inspect project files; and search code. It also supports Nginx configuration checks and reads, Nginx reloads, and Certbot installation or renewal.

The server supports two operating modes. In local mode, operations run against the configured project root. In remote mode, the server uses SSH credentials to work with another host. The project root remains the boundary for file operations, and configuration audits redact detected secrets.

## How it works

An MCP client starts the published package with `npx -y server-ops-mcp`, then sends natural-language requests that the client maps to the available tools. Read-only tools such as `system_info`, `memory_analysis`, `disk_analysis`, `service_status`, log readers, file readers, and configuration inspection can run without an approval step.

Changes follow a two-stage process. Tools such as `file_write`, `file_patch`, `file_delete`, `command_exec`, `nginx_reload`, and certificate actions first return a pending action and confirmation identifier. The action runs only when `confirm_execute` receives confirmation. Command execution is limited by a whitelist, and path traversal outside the project root is blocked.

## Setup and configuration

GT-dinuo/server-ops-mcp requires Node.js 18 or newer. Add an MCP server entry to the project’s `.mcp.json`, using `npx` and setting `OPS_PROJECT_ROOT` to the project directory. For SSH access, configure the host, port, user, and either a private key or password. A private-key passphrase can also be supplied.

The default SSH port is 22. Source builds are also supported: clone the repository, install dependencies, build the project, and start `dist/index.js` with Node.js. An optional `OPS_CONFIG_PATH` points to a custom JSON configuration file. That file can define log channels, read limits, and direct or confirmation-required command lists.

Keep SSH private keys restricted, such as with file mode 600. Do not commit `.mcp.json` or custom configuration files that contain passwords.

## Tools and capabilities

The tool set covers four main areas:

- System inspection: resource summaries, memory and disk analysis, service status, and system-log searches.
- Project diagnostics: log listing, reading, and searching; project overviews; configuration audits; and code searches.
- File access: directory listing, file reading, writing, patching, and deletion within the project root.
- Web-server operations: Nginx configuration reading and testing, reloads, and Certbot installation or renewal.

GT-dinuo/server-ops-mcp is suited to tasks such as investigating high memory use, locating recent errors, checking disk consumption, reviewing configuration for exposed secrets, or finding code references. It is also useful for controlled maintenance where an operator wants the AI to prepare a change but explicitly approve execution.

## Limitations and notes

Remote work depends on SSH connectivity and correctly configured credentials. The README recommends a read-only account or a narrowly scoped command whitelist when giving an AI access to a remote system. Whitelisting and confirmation reduce risk but do not replace review of the proposed action.

File tools are restricted to `OPS_PROJECT_ROOT`; they cannot freely access arbitrary paths. Commands outside the configured whitelist are rejected, including examples such as recursive removal, `sudo`, and piping into a shell. Secret redaction applies to supported environment files and logs, so sensitive output should still be reviewed before being shared.

GT-dinuo/server-ops-mcp does not document client-specific setup beyond standard MCP configuration through `.mcp.json`; the client must support launching a stdio MCP server.

_Full upstream README: https://allmcps.com/mcp/gt-dinuo-server-ops-mcp/readme_

