Server Ops MCP server
io.github.GT-dinuo/server-ops-mcp·v1.0.3Server ops MCP: logs, monitoring, code edit, Nginx & certs. Local + SSH, confirmations & redaction.
0 stars56 downloads/wk
Reviews
Write oneNobody has reviewed Server Ops MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Server Ops MCP tools (23, 4 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
certbot_install为指定域名申请并安装 Let's Encrypt 证书
certbot_renew手动触发 certbot 证书续期
command_exec执行白名单内的安全命令(只读命令直接执行,非只读命令需确认)
config_audit审计项目配置文件(自动脱敏)
confirm_executewrite action确认并执行需要二次确认的操作(如 file_write、file_delete、nginx_reload 等)
disk_analysis分析磁盘占用,找出大文件和大目录
file_deletewrite action删除项目文件
file_list列出项目目录内容
file_patchwrite action对项目文件进行局部替换修改
file_read读取项目文件内容
file_search在项目文件中搜索内容
file_writewrite action写入或创建项目文件
log_list列出项目日志文件
log_read读取指定日志文件
log_search在项目日志中搜索关键词
log_search_system搜索系统日志(journalctl)
memory_analysis分析内存占用,找出占用内存最高的进程和 OOM 风险
nginx_config_read读取 Nginx 配置文件
nginx_config_test测试 Nginx 配置文件语法
nginx_reload重载 Nginx 配置
project_overview查看项目概览:技术栈、Git 状态、分支、最近提交
service_status查看指定服务状态(nginx、php-fpm、mysql、redis 等)
system_info查看系统 CPU、内存、磁盘、负载和进程信息
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- Code scan31 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 32 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Server Ops MCP compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,273 servers
- Tools
- 23
- the typical server has 7
- Tools that change things
- 17%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 56
- more than 48% of 11,915 servers with a package
What its tools let an agent do: 19 read · 4 change
Install Server Ops MCP in Claude Code, Cursor or VS Code
Runs npx -y server-ops-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add server-ops-mcp -- npx -y server-ops-mcp
What the publisher says
From the Server Ops MCP repository's README, as published. We do not edit it. Read it on GitHub
Server Ops MCP
English | 简体中文
A general-purpose server-ops MCP Server. Let AI tools like Claude Code / Cursor / Codex manage multiple projects or servers through .mcp.json — log troubleshooting, system resource inspection, code read/write, and Nginx / certificate management.
Supports local and remote (SSH) modes, with built-in two-step confirmation, command whitelisting, path-traversal protection, and automatic secret redaction.
Features
- 🔍 Log troubleshooting: list / read / search project logs, multi-channel logs & system logs
- 📊 Resource monitoring: CPU / memory / disk / load / processes / service status at a glance
- 📁 Code operations: read, write, patch, delete, and search files — all sandboxed to the project root
- 🌐 Nginx & certificates: config test & read, safe reload, certificate install & renewal
- 🔒 Secure by design: two-step confirmation for writes, command whitelist, path-traversal protection, auto redaction
Installation
Requires Node.js 18+. No clone or build needed — npx fetches and runs the published npm package on first use (see the config below).
To build from source instead (e.g. for development):
git clone https://github.com/GT-dinuo/server-ops-mcp.git
cd server-ops-mcp
npm install
npm run buildBuild output goes to dist/; the entry point is dist/index.js.
Configuration
In each project where you want to use this tool, create (or append to) .mcp.json and declare an MCP Server per environment. Local mode only needs OPSPROJECTROOT; remote mode adds the SSH variables.
{
"mcpServers": {
"myproject-server": {
"command": "npx",
"args": ["-y", "server-ops-mcp"],
"env": {
"OPS_PROJECT_ROOT": "/www/wwwroot/your-project",
"OPS_SSH_HOST": "<server-ip-or-domain>",
"OPS_SSH_PORT": "22",
"OPS_SSH_USER": "ubuntu",
"OPS_SSH_KEY": "~/.ssh/id_rsa"
}
}
}
}If you built from source, point the command at the local build instead: "command": "node", "args": ["/absolute/path/to/server-ops-mcp/dist/index.js"].
Environment Variables
Usage
Once configured, just give ops instructions in natural language in your AI tool. The AI picks and calls the right tool automatically.
Read-only operations (run directly)
Check the server's CPU, memory, and disk usage
Search for error-level logs from the last hour
List the project's log files
Read the Nginx config and check for problems
Find every place in the code that calls sendSmsWrite operations (require confirmation)
For writes, deletes, command execution, Nginx reload, certificate install, and similar, the tool first returns a confirmationId. The AI shows you exactly what will run, and it only executes after you confirm:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Server Ops MCP: common questions
- Is Server Ops MCP server safe?
- Mostly: it is graded B (75/100). Read the Server Ops MCP safety report
- How do I install Server Ops MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Server Ops MCP need an API key?
- Yes. The registry entry asks for
OPS_SSH_PASSWORD,OPS_SSH_PASSPHRASE. - Is Server Ops MCP maintained?
- The last commit was 69 days ago (2026-08-25). The latest release is v1.0.3.
- What can I use instead of Server Ops MCP?
- Servers from other publishers that do the same job: Netdata MCP server.
- How does Server Ops MCP compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,273 servers); tools 23 (the typical server has 7); tools that change things 17% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Server Ops MCP
Same job from other publishers: the closest match first, then the best rated.
- NetdataReal-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.not reviewedWidely usedA