devops-linux
20 DevOps/Linux MCP tools: Docker, systemd, seccomp, K8s, Terraform, Nginx, CI, cron, bash.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (3)
- HIGH
- MEDIUMin dotenv_audit_and_example
- INFOin dotenv_audit_and_example
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"devops-linux": {
"url": "https://api.quickcoderhub.com/mcp/devops-linux"
}
}
}Remote-Endpunkte
https://api.quickcoderhub.com/mcp/devops-linuxstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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).
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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).
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}Community
Nachweis