Skip to content
MCP server

Server Ops MCP

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.3
Listing updated
6 days ago

About Server Ops MCP

Server Ops MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add server-ops-mcp --env OPS_PROJECT_ROOT='<OPS_PROJECT_ROOT>' --env OPS_SSH_PASSWORD='<OPS_SSH_PASSWORD>' --env OPS_SSH_PASSPHRASE='<OPS_SSH_PASSPHRASE>' -- npx -y server-ops-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "server-ops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "server-ops-mcp"
      ],
      "env": {
        "OPS_PROJECT_ROOT": "<OPS_PROJECT_ROOT>",
        "OPS_SSH_PASSWORD": "<OPS_SSH_PASSWORD>",
        "OPS_SSH_PASSPHRASE": "<OPS_SSH_PASSPHRASE>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "server-ops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "server-ops-mcp"
      ],
      "env": {
        "OPS_PROJECT_ROOT": "<OPS_PROJECT_ROOT>",
        "OPS_SSH_PASSWORD": "<OPS_SSH_PASSWORD>",
        "OPS_SSH_PASSPHRASE": "<OPS_SSH_PASSPHRASE>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "server-ops-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "server-ops-mcp"
      ],
      "env": {
        "OPS_PROJECT_ROOT": "<OPS_PROJECT_ROOT>",
        "OPS_SSH_PASSWORD": "<OPS_SSH_PASSWORD>",
        "OPS_SSH_PASSPHRASE": "<OPS_SSH_PASSPHRASE>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "server-ops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "server-ops-mcp"
      ],
      "env": {
        "OPS_PROJECT_ROOT": "<OPS_PROJECT_ROOT>",
        "OPS_SSH_PASSWORD": "<OPS_SSH_PASSWORD>",
        "OPS_SSH_PASSPHRASE": "<OPS_SSH_PASSPHRASE>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "server-ops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "server-ops-mcp"
      ],
      "env": {
        "OPS_PROJECT_ROOT": "<OPS_PROJECT_ROOT>",
        "OPS_SSH_PASSWORD": "<OPS_SSH_PASSWORD>",
        "OPS_SSH_PASSPHRASE": "<OPS_SSH_PASSPHRASE>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • OPS_PROJECT_ROOTProject root path; all file operations are sandboxed hereRequired
  • OPS_SSH_HOSTRemote server IP / domain; leave empty to run locally
  • OPS_SSH_PORTSSH port, default 22
  • OPS_SSH_USERSSH username
  • OPS_SSH_KEYPath to SSH private key (choose either key or password)
  • OPS_SSH_PASSWORDSSH password (choose either key or password)
  • OPS_SSH_PASSPHRASEPrivate key passphrase
  • OPS_CONFIG_PATHPath to an extra config file (see config.example.json)

Pricing

Open source

Server Ops MCP FAQ

Is Server Ops MCP free?

Yes. Server Ops MCP is open source, so you can use and self-host it for free.

How do I add Server Ops MCP to Claude Code?

Run this command in your terminal: claude mcp add server-ops-mcp --env OPS_PROJECT_ROOT='<OPS_PROJECT_ROOT>' --env OPS_SSH_PASSWORD='<OPS_SSH_PASSWORD>' --env OPS_SSH_PASSPHRASE='<OPS_SSH_PASSPHRASE>' -- npx -y server-ops-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers