devops-linux
20 DevOps/Linux MCP tools: Docker, systemd, seccomp, K8s, Terraform, Nginx, CI, cron, bash.
Should I use this
Quality & Safety
Findings (3)
- HIGH
- MEDIUMin dotenv_audit_and_example
- INFOin dotenv_audit_and_example
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"devops-linux": {
"url": "https://api.quickcoderhub.com/mcp/devops-linux"
}
}
}Remote endpoints
https://api.quickcoderhub.com/mcp/devops-linuxstreamable-httpWhat it can do
Tool inventory
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.
Input 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).
Input 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.
Input 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.
Input 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.
Input 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).
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input 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.
Input Schema
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}Community
Evidence