devops-mcp

v2.1.1
io.github.NotHarshhaa/devops-mcp Checked 17 hours ago Published 1 month ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

k8s__apply_manifest

Apply a manifest string with server-side dry-run

ParameterTypeDescription
manifest *stringYAML or JSON manifest string
dry_runbooleanServer-side dry-run (default: true)
namespacestringNamespace to apply in (default: from manifest or "default")

k8s__delete_resource

Delete a named resource — requires confirm: true or interactive confirmation

ParameterTypeDescription
name *string
resourceType *string
confirmboolean
namespacestring

k8s__describe_resource

Full describe for any resource type

ParameterTypeDescription
name *string
resourceType *string
namespacestring

k8s__diff_resource

Compare current resource state against last-applied-configuration annotation to show drift

ParameterTypeDescription
name *stringResource name
resourceType *stringResource type: deployment, service, configmap, statefulset, daemonset
namespacestringNamespace (default: default)

k8s__get_cronjob_status

Detailed status of a specific cronjob including recent job history

ParameterTypeDescription
name *stringCronJob name
namespacestringNamespace (default: default)

k8s__get_events

Cluster or namespace events, filterable by reason

ParameterTypeDescription
namespacestring
reasonFilterstring

k8s__get_hpa

Get HorizontalPodAutoscaler details with metrics, replicas, and conditions

ParameterTypeDescription
namestringHPA name (omit to list all)
namespacestringNamespace (default: default)

k8s__get_ingresses

List ingresses with hosts, paths, backends, and TLS config

ParameterTypeDescription
namespacestringNamespace (default: default)

k8s__get_network_policies

List network policies with podSelector, ingress/egress rules

ParameterTypeDescription
namespacestringNamespace (default: default)

k8s__get_node_status

Get node status with conditions, capacity, allocatable, labels, and taints

ParameterTypeDescription
nodeNamestringNode name (omit to list all nodes)

k8s__get_pod_logs

Get logs from a pod container

ParameterTypeDescription
namespace *string
pod *string
containerstring
followboolean
tailLinesnumber

k8s__get_resource_usage

CPU/mem usage per pod via metrics-server

ParameterTypeDescription
namespacestring

k8s__list_contexts

All kubeconfig contexts and the active one

k8s__list_cronjobs

List cronjobs with schedule, suspend status, active jobs, and last run times

ParameterTypeDescription
namespacestringNamespace (default: default)

k8s__list_deployments

Deployments with replica counts and rollout health

ParameterTypeDescription
namespacestring

k8s__list_pods

List pods with status, restarts, node, and age

ParameterTypeDescription
namespacestringNamespace (default: default)

k8s__list_pvcs

List PersistentVolumeClaims with status, capacity, accessModes, and storageClass

ParameterTypeDescription
namespacestringNamespace (default: default)

k8s__list_services

List services with type, clusterIP, ports, selector, and externalIPs

ParameterTypeDescription
namespacestringNamespace (default: default)

k8s__rollout_restart

Trigger rolling restart of a deployment

ParameterTypeDescription
name *string
namespace *string
dry_runboolean

k8s__scale_deployment

Scale replicas with dry-run diff preview

ParameterTypeDescription
name *string
namespace *string
replicas *number
dry_runboolean

k8s__switch_context

Preview context selection; set K8S_CONTEXT and restart to apply safely

ParameterTypeDescription
contextName *string
dry_runbooleanPreview by default; runtime switching is disabled to prevent shared process state mutation