プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Server Ops MCP

作者:GT-dinuoバージョン 1.0.3i★ –iパソコンで動く
レジストリ名io.github.GT-dinuo/server-ops-mcp

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: 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

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.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": "your-value",
        "OPS_SSH_HOST": "your-value",
        "OPS_SSH_PORT": "your-value",
        "OPS_SSH_USER": "your-value",
        "OPS_SSH_KEY": "your-value",
        "OPS_SSH_PASSWORD": "your-value",
        "OPS_SSH_PASSPHRASE": "your-value",
        "OPS_CONFIG_PATH": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add server-ops --env OPS_PROJECT_ROOT=your-value --env OPS_SSH_HOST=your-value --env OPS_SSH_PORT=your-value --env OPS_SSH_USER=your-value --env OPS_SSH_KEY=your-value --env OPS_SSH_PASSWORD=your-value --env OPS_SSH_PASSPHRASE=your-value --env OPS_CONFIG_PATH=your-value -- 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": "your-value",
        "OPS_SSH_HOST": "your-value",
        "OPS_SSH_PORT": "your-value",
        "OPS_SSH_USER": "your-value",
        "OPS_SSH_KEY": "your-value",
        "OPS_SSH_PASSWORD": "your-value",
        "OPS_SSH_PASSPHRASE": "your-value",
        "OPS_CONFIG_PATH": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "server-ops": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "server-ops-mcp"
      ],
      "env": {
        "OPS_PROJECT_ROOT": "your-value",
        "OPS_SSH_HOST": "your-value",
        "OPS_SSH_PORT": "your-value",
        "OPS_SSH_USER": "your-value",
        "OPS_SSH_KEY": "your-value",
        "OPS_SSH_PASSWORD": "your-value",
        "OPS_SSH_PASSPHRASE": "your-value",
        "OPS_CONFIG_PATH": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • 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)

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント GT-dinuo で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの1395件のうち0%よりスターが多い
  • このカテゴリのほかの1395件のうち32%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1395件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Server Ops MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:OPS_PROJECT_ROOT, OPS_SSH_PASSWORD, OPS_SSH_PASSPHRASE

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.3)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

パソコンでもクラウドでも★ 34,245MIT4 日前更新
インストール

Desktop Commander

作者:wonderwhy-er

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

パソコンで動く★ 10,225MIT16 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。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に聞く