ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Devops MCP

โดย NotHarshhaaรุ่น 2.1.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.NotHarshhaa/devops-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Unified MCP server for Kubernetes, ArgoCD, Prometheus, PagerDuty, and Loki

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา
  • ต้องใส่ค่าเหล่านี้: ARGOCD_TOKEN, PROMETHEUS_BEARER_TOKEN, PAGERDUTY_TOKEN, LOKI_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: KUBECONFIG, K8S_CONTEXT, ARGOCD_SERVER, ARGOCD_TOKEN, PROMETHEUS_URL, PROMETHEUS_BEARER_TOKEN, PAGERDUTY_TOKEN, PAGERDUTY_USER_EMAIL, LOKI_URL, LOKI_TOKEN

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "devops": {
      "command": "npx",
      "args": [
        "-y",
        "@notharshhaa/devops-mcp"
      ],
      "env": {
        "KUBECONFIG": "ใส่ค่าของคุณ",
        "K8S_CONTEXT": "ใส่ค่าของคุณ",
        "ARGOCD_SERVER": "ใส่ค่าของคุณ",
        "ARGOCD_TOKEN": "ใส่ค่าของคุณ",
        "PROMETHEUS_URL": "ใส่ค่าของคุณ",
        "PROMETHEUS_BEARER_TOKEN": "ใส่ค่าของคุณ",
        "PAGERDUTY_TOKEN": "ใส่ค่าของคุณ",
        "PAGERDUTY_USER_EMAIL": "ใส่ค่าของคุณ",
        "LOKI_URL": "ใส่ค่าของคุณ",
        "LOKI_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add devops --env KUBECONFIG='ใส่ค่าของคุณ' --env K8S_CONTEXT='ใส่ค่าของคุณ' --env ARGOCD_SERVER='ใส่ค่าของคุณ' --env ARGOCD_TOKEN='ใส่ค่าของคุณ' --env PROMETHEUS_URL='ใส่ค่าของคุณ' --env PROMETHEUS_BEARER_TOKEN='ใส่ค่าของคุณ' --env PAGERDUTY_TOKEN='ใส่ค่าของคุณ' --env PAGERDUTY_USER_EMAIL='ใส่ค่าของคุณ' --env LOKI_URL='ใส่ค่าของคุณ' --env LOKI_TOKEN='ใส่ค่าของคุณ' -- npx -y @notharshhaa/devops-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "devops": {
      "command": "npx",
      "args": [
        "-y",
        "@notharshhaa/devops-mcp"
      ],
      "env": {
        "KUBECONFIG": "ใส่ค่าของคุณ",
        "K8S_CONTEXT": "ใส่ค่าของคุณ",
        "ARGOCD_SERVER": "ใส่ค่าของคุณ",
        "ARGOCD_TOKEN": "ใส่ค่าของคุณ",
        "PROMETHEUS_URL": "ใส่ค่าของคุณ",
        "PROMETHEUS_BEARER_TOKEN": "ใส่ค่าของคุณ",
        "PAGERDUTY_TOKEN": "ใส่ค่าของคุณ",
        "PAGERDUTY_USER_EMAIL": "ใส่ค่าของคุณ",
        "LOKI_URL": "ใส่ค่าของคุณ",
        "LOKI_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "devops": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@notharshhaa/devops-mcp"
      ],
      "env": {
        "KUBECONFIG": "ใส่ค่าของคุณ",
        "K8S_CONTEXT": "ใส่ค่าของคุณ",
        "ARGOCD_SERVER": "ใส่ค่าของคุณ",
        "ARGOCD_TOKEN": "ใส่ค่าของคุณ",
        "PROMETHEUS_URL": "ใส่ค่าของคุณ",
        "PROMETHEUS_BEARER_TOKEN": "ใส่ค่าของคุณ",
        "PAGERDUTY_TOKEN": "ใส่ค่าของคุณ",
        "PAGERDUTY_USER_EMAIL": "ใส่ค่าของคุณ",
        "LOKI_URL": "ใส่ค่าของคุณ",
        "LOKI_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • KUBECONFIG env
    Path to Kubernetes kubeconfig file
  • K8S_CONTEXT env
    Kubernetes context to use
  • ARGOCD_SERVER env
    ArgoCD server URL
  • ARGOCD_TOKEN ความลับ env
    ArgoCD authentication token
  • PROMETHEUS_URL env
    Prometheus server URL
  • PROMETHEUS_BEARER_TOKEN ความลับ env
    Prometheus bearer token
  • PAGERDUTY_TOKEN ความลับ env
    PagerDuty API token
  • PAGERDUTY_USER_EMAIL env
    PagerDuty user email for mutations requiring From header
  • LOKI_URL env
    Loki server URL
  • LOKI_TOKEN ความลับ env
    Loki authentication token

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub NotHarshhaa ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 1387 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 62% ของอีก 1387 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1387 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Devops MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: ARGOCD_TOKEN, PROMETHEUS_BEARER_TOKEN, PAGERDUTY_TOKEN, LOKI_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.1.1) เข้า registry 32 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 15 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

devops-mcp

Unified MCP server for DevOps engineers — query and manage Kubernetes, ArgoCD, Prometheus, and PagerDuty from any MCP-compatible AI agent.


What is this?

devops-mcp is an open source Model Context Protocol server that gives AI agents (Claude, etc.) real-time read and write access to your infrastructure stack — all from a single install.

Instead of copy-pasting kubectl output into a chat window, you can ask:

*"Why is the payments deployment in CrashLoopBackOff?"*

*"What changed in the last ArgoCD sync for the auth app?"*

*"Show me the p99 latency for the API gateway over the last hour."*

*"Who's on call right now and what incidents are open?"*

*"Debug the payments service - what's wrong with it?"*

...and get live answers, sourced directly from your cluster and tooling.

Providers included:

PrefixProviderTransport
k8s__*Kubernetes (via kubeconfig or in-cluster SA)client-go
argo__*ArgoCDREST API
prom__*PrometheusHTTP API (PromQL)
pd__*PagerDutyREST API v2
helm__*HelmCLI (helm binary)
devops__*Cross-provider incident debuggingAggregates all providers
logs__*LokiHTTP API (LogQL)

Quick start

Claude Desktop (stdio — recommended)

Add this to ~/.config/claude/claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

{

"mcpServers": { "devops": { "command": "npx", "args": ["-y", "@notharshhaa/devops-mcp@latest"], "env": { "KUBECONFIG": "/home/you/.kube/config", "ARGOCD_SERVER": "https://argocd.company.com", "ARGOCD_TOKEN": "your-argocd-token", "PROMETHEUS_URL": "http://prometheus.monitoring:9090", "PAGERDUTY_TOKEN": "your-pd-api-token", "PAGERDUTY_USER_EMAIL": "you@company.com", "LOKI_URL": "http://loki.monitoring:3100", "LOKI_TOKEN": "your-loki-token" } } } }

Restart Claude Desktop. The devops server will appear in the tools list.

Claude Code (CLI)
claude mcp add devops-mcp -e KUBECONFIG=$HOME/.kube/config \

-e ARGOCD_SERVER=https://argocd.company.com \ -e ARGOCD_TOKEN=... \ -e PROMETHEUS_URL=http://prometheus:9090 \ -e PAGERDUTY_TOKEN=... \ -e LOKI_URL=http://loki.monitoring:3100 \ -e LOKI_TOKEN=... \ -- npx -y @notharshhaa/devops-mcp@latest

Local dev / test

Requires Node.js 20 or newer.

npx @notharshhaa/devops-mcp

or clone and run:

git clone https://github.com/NotHarshhaa/devops-mcp cd devops-mcp npm install cp .env.example .env # fill in your values npm run dev


Configuration

All config is via environment variables. Only set the ones for providers you actually use — providers with missing config are silently skipped.

# ── Kubernetes ────────────────────────────────────────────────

KUBECONFIG=/home/user/.kube/config # omit to use in-cluster service account K8S_CONTEXT=my-prod-context # optional: pin a specific context K8S_ALLOWED_NAMESPACES=default,backend # optional: restrict namespace access

── ArgoCD ───────────────────────────────────────────────────

ARGOCD_SERVER=https://argocd.company.com ARGOCD_TOKEN=eyJhbGci... # argocd account generate-token

── Prometheus ───────────────────────────────────────────────

PROMETHEUS_URL=http://prometheus:9090 PROMETHEUS_BEARER_TOKEN= # optional: for authenticated Prometheus

── PagerDuty ────────────────────────────────────────────────

PAGERDUTY_TOKEN=your-api-v2-token PAGERDUTY_USER_EMAIL=you@company.com # required for PagerDuty incident mutations (From header)

── Loki ───────────────────────────────────────────────────

LOKI_URL=http://loki.monitoring:3100 LOKI_TOKEN=your-loki-token

── Stateless Streamable HTTP ────────────────────────────────

For stdio mode (default): no transport config needed

MCP_HTTP_HOST=127.0.0.1 # use 0.0.0.0 inside a container PORT=3000 MCP_AUTH_TOKEN=shared-secret # optional static Bearer token MCP_REQUEST_STATE_SECRET=32+-byte-secret # optional MRTR signing key shared by all replicas MCP_ALLOWED_HOSTS=localhost,127.0.0.1 # required with non-loopback binding MCP_ALLOWED_ORIGINS= # optional browser Origin hostname allowlist MCP_CACHE_TTL_MS=60000 # discovery/tools catalog TTL; 0 disables caching

── Safety ───────────────────────────────────────────────────

DEVOPS_MCP_DRY_RUN=false # true = block all mutations globally DEVOPS_MCP_AUDIT_LOG=/var/log/devops-mcp-audit.jsonl


Tool reference

All tools follow a three-tier safety model:

  • Read — safe, no side effects, no confirmation needed
  • Mutate — defaults to dry_run: true; set dry_run: false to execute
  • Destructive — requires confirm: true, or a 2026-07-28 client can complete the server's interactive MRTR confirmation
Kubernetes (k8s__*)
ToolTierDescription
k8s__list_podsreadList pods with status, restarts, node, age
k8s__get_pod_logsreadTail or stream logs from a pod container
k8s__describe_resourcereadFull describe for any resource type (pod, service, configmap, secret [values auto-redacted], deployment, statefulset, daemonset, job, cronjob)
k8s__get_eventsreadCluster or namespace events, filterable by reason
k8s__list_deploymentsreadDeployments with replica counts, rollout health, and container images
k8s__get_resource_usagereadCPU/mem usage per pod via metrics-server
k8s__get_node_statusreadNode health, conditions, capacity, allocatable resources, taints
k8s__get_network_policiesreadNetwork policies with pod selectors and ingress/egress rules
k8s__get_ingressesreadIngress resources with hosts, paths, backends, TLS config
k8s__list_cronjobsreadCronJobs with schedule, last run, active jobs, suspend status
k8s__get_cronjob_statusreadDetailed CronJob status with recent job history
k8s__diff_resourcereadCompare current resource state vs last-applied-configuration
k8s__get_hpareadHorizontalPodAutoscaler with current/target metrics and scaling status
k8s__list_pvcsreadPersistentVolumeClaims with status, capacity, storage class
k8s__list_servicesreadServices with type, ports, selectors, clusterIP, endpoints
k8s__list_contextsreadAll kubeconfig contexts and the active one
k8s__switch_contextmutatePreview a context selection; set K8S_CONTEXT and restart to apply it safely
k8s__scale_deploymentmutateScale replicas with dry-run diff preview
k8s__apply_manifestmutateApply a manifest string with server-side dry-run
k8s__rollout_restartmutateTrigger rolling restart of a deployment or statefulset
k8s__delete_resourcedestructiveDelete a named resource (pod, service, configmap, secret, deployment, statefulset, daemonset, job, cronjob) — requires direct or interactive confirmation
ArgoCD (argo__*)
ToolTierDescription
argo__list_appsreadAll apps with health, sync status, source repo
argo__get_appreadFull spec and status for one application
argo__get_app_diffreadLive diff between git and cluster state
argo__get_app_historyreadDeployment history with git SHAs and timestamps
argo__get_resource_treereadFull owned resource tree for an app
argo__sync_appmutateTrigger sync — supports dry-run, prune, force
argo__rollback_appmutatePreview rollback to a history revision; set dry_run: false to execute
argo__terminate_opmutatePreview cancellation of an in-progress sync; set dry_run: false to execute
Prometheus (prom__*)
ToolTierDescription
prom__queryreadInstant PromQL query with label + value output
prom__query_rangereadRange query with step, returns time-series data
prom__list_alertsreadAll alert rules with state (firing / pending / inactive)
prom__get_firing_alertsreadOnly currently firing alerts with duration
prom__list_targetsreadAll scrape targets with health and last scrape
prom__label_valuesreadEnumerate values for a given label name
prom__metric_metadatareadType, help text, and unit for a metric
prom__compare_periodsread📈 Compare metrics between two time windows — detect before/after deployment changes
prom__slo_statusread🎯 SLO compliance — error budget remaining, burn rate, time to exhaustion
prom__summarize_service_healthread📊 Smart summary - human-readable service health metrics including latency changes, error rate vs SLO, and traffic patterns

Example usage:

# Get a human-readable health summary

prom__summarize_service_health(service="payments", timeframeMinutes=30, sloThreshold=0.05)

What it outputs:

  • Latency: "Latency increased: 120ms → 480ms (+300%)" or "Latency stable: 125ms"
  • Error rate: "Error rate crossed SLO (5%): 7.2%" or "Error rate within SLO: 2.1%"
  • Traffic: "Traffic dropped: 500 → 350 req/s (-30%)" or "Traffic spike detected (+150%)"
  • Overall assessment: Summary of issues and positive indicators

Why this matters: Instead of raw PromQL numbers that require interpretation, this tool provides actionable insights that AI agents can use directly in responses, making monitoring data actually useful for incident investigation and communication.

Loki (logs__*)
ToolTierDescription
logs__get_recent_errorsreadGet recent error logs from Loki for debugging incidents
logs__searchreadSearch logs in Loki with custom query for root cause analysis

Example usage:

# Get recent error logs

logs__get_recent_errors(service="payments", namespace="default", minutes=30, limit=50)

Search logs with custom query

logs__search(query='{service="payments"} |= level="error"', limit=100)

Why this matters:

  • Metrics tell what: Prometheus shows you that latency increased or error rate crossed SLO
  • Logs tell why: Loki shows you the actual error messages, stack traces, and context around failures
  • Complete debugging: Without logs, you can see that something is broken but not understand the root cause

Output format:

  • Structured log entries with timestamp, message, service, namespace, and extracted log levels
  • Error count summaries and filtering
  • Raw LogQL results for detailed analysis

This makes incident investigation complete by combining the "what" (metrics) with the "why" (logs).

PagerDuty (pd__*)
ToolTierDescription
pd__list_incidentsreadOpen incidents with severity, status, assignee
pd__get_incidentreadFull detail with alerts, notes, timeline
pd__who_is_oncallreadCurrent on-call per schedule or escalation policy
pd__list_servicesreadAll services with integration keys and status
pd__get_log_entriesreadAudit log for an incident (all state changes)
pd__acknowledge_incidentmutatePreview acknowledgement; set dry_run: false to execute
pd__add_notemutatePreview appending a note; set dry_run: false to execute

| pd__escalate_incident | destructive | Escalate to a different policy — requires direct or interactive confirmation

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx