devops-linux

20 DevOps/Linux MCP tools: Docker, systemd, seccomp, K8s, Terraform, Nginx, CI, cron, bash.

我該用這個嗎

品質與安全性

B
說明品質
99%
結構描述完整度
74%
命名品質
80%
汙染風險
80%
權限相符程度
100%
協定合規性
100%

發現項目(3)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool 'dotenv_audit_and_example' description contains placeholder text在 dotenv_audit_and_example 中
  • INFOTool description contains placeholder or incomplete text在 dotenv_audit_and_example 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,618Token(工具定義)
~439 B典型回應大小
中等的注意力影響(128k 上下文的 1.26%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "devops-linux": {
      "url": "https://api.quickcoderhub.com/mcp/devops-linux"
    }
  }
}

遠端端點

https://api.quickcoderhub.com/mcp/devops-linuxstreamable-http

它能做什麼

工具清單

工具(20)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪docker_to_systemd(filePath, text, outputFormat, serviceName, rootless)

Translate docker run CLI commands or docker-compose.yml files into hardened Linux systemd .service or Podman Quadlet .container units.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string",
      "description": "docker run command or docker-compose.yml content."
    },
    "outputFormat": {
      "type": "string",
      "enum": [
        "hardened",
        "docker",
        "quadlet"
      ],
      "default": "hardened"
    },
    "serviceName": {
      "type": "string"
    },
    "rootless": {
      "type": "boolean",
      "default": false
    }
  }
}
🟢systemd_security_audit(filePath, text)

Audit a Linux systemd .service unit against 10 kernel sandboxing controls and compute its security exposure score (0.1 to 10.0).

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string",
      "description": "systemd .service unit content."
    }
  }
}
⚪seccomp_apparmor_generate(filePath, text, runtime, arch)

Generate an OCI seccomp.json syscall allowlist and AppArmor MAC confinement profile from a systemd .service unit.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string",
      "description": "systemd .service unit content."
    },
    "runtime": {
      "type": "string",
      "enum": [
        "auto",
        "node",
        "python",
        "nginx",
        "go",
        "postgres"
      ],
      "default": "auto"
    },
    "arch": {
      "type": "string",
      "enum": [
        "x86_64",
        "aarch64",
        "both"
      ],
      "default": "x86_64"
    }
  }
}
🟢server_log_analyze(filePath, text, topLimit)

Analyze Nginx and Apache Combined access logs for HTTP status distribution, error rates, bandwidth, top IPs/endpoints, and suspicious traversal/injection requests.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string",
      "description": "Raw Nginx or Apache access.log lines."
    },
    "topLimit": {
      "type": "integer",
      "default": 10
    }
  }
}
⚪docker_run_to_compose(text)

Translate a docker run command into a clean docker-compose.yml service definition preserving ports, volumes, env vars, restart policy, and networks.

輸入結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "docker run command line."
    }
  }
}
🟡dockerfile_lint(filePath, text)

Lint a Dockerfile against security and build-cache best practices (latest tags, root USER, apt cache cleanup, ADD vs COPY, HEALTHCHECK, exposed secrets).

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
🟢docker_image_manifest_inspect(filePath, text)

Inspect OCI / Docker image manifest.json or config JSON to report layer digests, total size, entrypoint, exposed ports, and env keys.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
⚪k8s_manifest_audit(filePath, text)

Audit Kubernetes YAML/JSON manifests for missing resource limits, privileged securityContext, :latest tags, root containers, and probe readiness.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
🟢k8s_resource_estimate(replicas, cpuRequest, cpuLimit, memoryRequest, memoryLimit, ...)

Compute total Kubernetes cluster CPU (millicores), memory (MiB/GiB), and replica footprint from deployment specs or YAML requests/limits.

輸入結構描述

{
  "type": "object",
  "properties": {
    "replicas": {
      "type": "integer",
      "default": 3
    },
    "cpuRequest": {
      "type": "string",
      "default": "250m"
    },
    "cpuLimit": {
      "type": "string",
      "default": "1000m"
    },
    "memoryRequest": {
      "type": "string",
      "default": "256Mi"
    },
    "memoryLimit": {
      "type": "string",
      "default": "512Mi"
    },
    "text": {
      "type": "string"
    }
  }
}
🟢terraform_plan_inspect(filePath, text)

Inspect Terraform `terraform show -json` plan output or HCL plan text to count create/update/destroy/replace actions and highlight destructive changes.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
⚪hcl_format_and_validate(filePath, text)

Format Terraform/Packer HCL blocks with standard 2-space indentation, aligned = assignments, and balanced-brace syntax validation.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
⚪nginx_config_audit(filePath, text)

Audit nginx.conf directives for TLS 1.0/1.1 weak protocols, missing server_tokens off, missing HSTS/security headers, and brace balance.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
⚪apache_config_audit(filePath, text)

Audit Apache httpd / .htaccess virtual hosts for Indexes directory listing leaks, weak ServerSignature, TraceEnable On, and RewriteRule flags.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
🟢github_actions_audit(filePath, text)

Parse GitHub Actions workflow YAML to extract jobs, triggers, matrix/needs DAG, unpinned third-party actions, and pull_request_target injection risks.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
⚪github_actions_expression_eval(expression, context, text)

Evaluate GitHub Actions ${{ ... }} conditional expressions against simulated github/env/inputs contexts with contains(), startsWith(), success(), and boolean logic.

輸入結構描述

{
  "type": "object",
  "properties": {
    "expression": {
      "type": "string",
      "description": "e.g. \"${{ github.ref == 'refs/heads/main' && !github.event.pull_request }}\""
    },
    "context": {
      "type": "object",
      "description": "Simulated context object { github: {...}, env: {...}, inputs: {...} }."
    },
    "text": {
      "type": "string"
    }
  }
}
🟢gitlab_ci_audit(filePath, text)

Parse .gitlab-ci.yml stages, job dependencies (needs), cache/artifact usage, and deprecated only/except directives into a pipeline summary.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
⚪dotenv_audit_and_example(filePath, text)

Audit .env files for duplicate keys, unquoted spaces, weak placeholders, and high-entropy secrets, and generate a safe sanitized .env.example.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}
🟢cron_explain_and_schedule(expression, count, text)

Validate a 5-field POSIX cron expression, translate it into human English, and compute its next N UTC firing timestamps.

輸入結構描述

{
  "type": "object",
  "properties": {
    "expression": {
      "type": "string",
      "description": "e.g. \"*/15 * * * *\""
    },
    "count": {
      "type": "integer",
      "default": 5
    },
    "text": {
      "type": "string"
    }
  }
}
⚪gitignore_generate(stacks, text)

Generate a deduplicated .gitignore file tailored for stacks like node, python, rust, go, c++, embedded, docker, and vscode/macos.

輸入結構描述

{
  "type": "object",
  "properties": {
    "stacks": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "e.g. [\"node\", \"python\", \"env\", \"macos\"]"
    },
    "text": {
      "type": "string"
    }
  }
}
🟡bash_script_lint(filePath, text)

Static-analyze POSIX/Bash shell scripts for missing set -euo pipefail, unquoted variable expansions, backticks, and unsafe rm -rf targets.

輸入結構描述

{
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string"
    },
    "text": {
      "type": "string"
    }
  }
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本20 個工具