ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Server Ops MCP

โดย GT-dinuoรุ่น 1.0.3i★ –iรันบนเครื่อง
ชื่อใน registryio.github.GT-dinuo/server-ops-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Server ops MCP: logs, monitoring, code edit, Nginx & certs. Local + SSH, confirmations & redaction.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา
  • ต้องใส่ค่าเหล่านี้: OPS_PROJECT_ROOT, OPS_SSH_PASSWORD, OPS_SSH_PASSPHRASE

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: OPS_PROJECT_ROOT, OPS_SSH_HOST, OPS_SSH_PORT, OPS_SSH_USER, OPS_SSH_KEY, OPS_SSH_PASSWORD, OPS_SSH_PASSPHRASE, OPS_CONFIG_PATH

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "server-ops": {
      "command": "npx",
      "args": [
        "-y",
        "server-ops-mcp"
      ],
      "env": {
        "OPS_PROJECT_ROOT": "ใส่ค่าของคุณ",
        "OPS_SSH_HOST": "ใส่ค่าของคุณ",
        "OPS_SSH_PORT": "ใส่ค่าของคุณ",
        "OPS_SSH_USER": "ใส่ค่าของคุณ",
        "OPS_SSH_KEY": "ใส่ค่าของคุณ",
        "OPS_SSH_PASSWORD": "ใส่ค่าของคุณ",
        "OPS_SSH_PASSPHRASE": "ใส่ค่าของคุณ",
        "OPS_CONFIG_PATH": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add server-ops --env OPS_PROJECT_ROOT='ใส่ค่าของคุณ' --env OPS_SSH_HOST='ใส่ค่าของคุณ' --env OPS_SSH_PORT='ใส่ค่าของคุณ' --env OPS_SSH_USER='ใส่ค่าของคุณ' --env OPS_SSH_KEY='ใส่ค่าของคุณ' --env OPS_SSH_PASSWORD='ใส่ค่าของคุณ' --env OPS_SSH_PASSPHRASE='ใส่ค่าของคุณ' --env OPS_CONFIG_PATH='ใส่ค่าของคุณ' -- npx -y server-ops-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "server-ops": {
      "command": "npx",
      "args": [
        "-y",
        "server-ops-mcp"
      ],
      "env": {
        "OPS_PROJECT_ROOT": "ใส่ค่าของคุณ",
        "OPS_SSH_HOST": "ใส่ค่าของคุณ",
        "OPS_SSH_PORT": "ใส่ค่าของคุณ",
        "OPS_SSH_USER": "ใส่ค่าของคุณ",
        "OPS_SSH_KEY": "ใส่ค่าของคุณ",
        "OPS_SSH_PASSWORD": "ใส่ค่าของคุณ",
        "OPS_SSH_PASSPHRASE": "ใส่ค่าของคุณ",
        "OPS_CONFIG_PATH": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "server-ops": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "server-ops-mcp"
      ],
      "env": {
        "OPS_PROJECT_ROOT": "ใส่ค่าของคุณ",
        "OPS_SSH_HOST": "ใส่ค่าของคุณ",
        "OPS_SSH_PORT": "ใส่ค่าของคุณ",
        "OPS_SSH_USER": "ใส่ค่าของคุณ",
        "OPS_SSH_KEY": "ใส่ค่าของคุณ",
        "OPS_SSH_PASSWORD": "ใส่ค่าของคุณ",
        "OPS_SSH_PASSPHRASE": "ใส่ค่าของคุณ",
        "OPS_CONFIG_PATH": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • OPS_PROJECT_ROOT จำเป็น env
    Project root path; all file operations are sandboxed here
  • OPS_SSH_HOST env
    Remote server IP / domain; leave empty to run locally
  • OPS_SSH_PORT env
    SSH port, default 22
  • OPS_SSH_USER env
    SSH username
  • OPS_SSH_KEY env
    Path to SSH private key (choose either key or password)
  • OPS_SSH_PASSWORD ความลับ env
    SSH password (choose either key or password)
  • OPS_SSH_PASSPHRASE ความลับ env
    Private key passphrase
  • OPS_CONFIG_PATH env
    Path to an extra config file (see config.example.json)

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub GT-dinuo ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 1395 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 32% ของอีก 1395 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1395 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Server Ops MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: OPS_PROJECT_ROOT, OPS_SSH_PASSWORD, OPS_SSH_PASSPHRASE

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.3) เข้า registry 4 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 4 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 16 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

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 build

Build 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 OPS_PROJECT_ROOT; 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": " ", "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
VariableRequiredDescription
OPS_PROJECT_ROOTYesProject root path; all file operations are sandboxed here
OPS_SSH_HOSTNoRemote server IP / domain; leave empty to run locally
OPS_SSH_PORTNoSSH port, default 22
OPS_SSH_USERNoSSH username
OPS_SSH_KEYNoPath to SSH private key (choose either key or password)
OPS_SSH_PASSWORDNoSSH password (choose either key or password)
OPS_SSH_PASSPHRASENoPrivate key passphrase
OPS_CONFIG_PATHNoPath to an extra config file — see "Custom Configuration"

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 sendSms

Write 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:

You: Reload nginx

AI: (calls nginx_reload, returns the pending action + confirmationId) About to run: nginx -s reload. Confirm? You: Confirm AI: (calls confirm_execute to run it)

file_write, file_patch, file_delete, command_exec, and similar all follow the same confirmation flow.

Typical scenarios
  • Production troubleshooting: "Why is the server memory full?" → memory_analysis + log_search working together
  • Routine inspection: "Is the disk almost full? Which directory uses the most?" → disk_analysis
  • Security audit: "Audit the project config for leaked secrets" → config_audit (output is auto-redacted)

Tool List

System Ops
ToolDescription
system_infoCPU / memory / disk / load / processes
memory_analysisMemory usage analysis
disk_analysisDisk usage analysis
service_statusService status
log_search_systemSearch system logs
nginx_config_testTest Nginx config
nginx_config_readRead Nginx config
nginx_reloadReload Nginx (requires confirmation)
certbot_installInstall certificate (requires confirmation)
certbot_renewRenew certificate (requires confirmation)
Project Code
ToolDescription
log_listList project logs
log_readRead a log
log_searchSearch logs
file_readRead a file
file_listList a directory
file_searchSearch code
file_writeWrite a file (requires confirmation)
file_patchPatch a file (requires confirmation)
file_deleteDelete a file (requires confirmation)
command_execRun whitelisted commands
project_overviewProject overview
config_auditAudit config (auto-redacted)
confirm_executeConfirm and run a pending action

Security

  1. Read-only tools run directly.
  2. Writes, command execution, Nginx reload, certificate install require two-step confirmation (confirm_execute).
  3. Command execution uses a whitelist — dangerous operations like rm -rf, sudo, and piping into a shell are rejected.
  4. File operations are sandboxed to OPS_PROJECT_ROOT; path traversal is blocked.
  5. Passwords, tokens, and other secrets in .env files and logs are automatically redacted.

Custom Configuration

Download config.example.json as config.json, then point OPS_CONFIG_PATH at it to customize log channels, the command whitelist, read limits, and more.

curl -o config.json https://raw.githubusercontent.com/GT-dinuo/server-ops-mcp/main/config.example.json

(if you cloned the repo: cp config.example.json config.json)

After editing config.json, set in the .mcp.json env:

"OPS_CONFIG_PATH": "/absolute/path/to/config.json"

Main fields of config.example.json:

  • logChannels: channel name → log directory path (relative to project root)
  • maxReadLines / maxReadBytes: per-read line / byte limits
  • commandWhitelist.direct: commands that run directly
  • commandWhitelist.confirm: commands that require confirmation

Development

npm run dev    # watch mode, recompiles on change

npm run build # build to dist/ npm run clean # remove dist/ npm start # run the built Server

Notes

  • Remote operations rely on SSH — use a read-only account or a tightly-scoped command whitelist for the AI.
  • Private key files should have permission 600 (chmod 600 ~/.ssh/id_rsa).
  • Never commit .mcp.json or config.json containing passwords to a repository.

License

MIT © 2026 server-ops-mcp

ถาม PopNx