devops-linux
20 DevOps/Linux MCP tools: Docker, systemd, seccomp, K8s, Terraform, Nginx, CI, cron, bash.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- HIGH
- MEDIUMen dotenv_audit_and_example
- INFOen dotenv_audit_and_example
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"devops-linux": {
"url": "https://api.quickcoderhub.com/mcp/devops-linux"
}
}
}Puntos de conexión remotos
https://api.quickcoderhub.com/mcp/devops-linuxstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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).
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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).
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}Comunidad
Evidencia