Sign inSign up

mcpcommunity/flux159-mcp-server-kubernetes

By mcpcommunity

•Updated over 1 year ago

MCP Server for kubernetes management commands

Image
Machine learning & AI
0

1.6K

mcpcommunity/flux159-mcp-server-kubernetes repository overview

⁠flux159-mcp-server-kubernetes MCP Server

MCP Server for kubernetes management commands

What is an MCP Server?⁠

Image SourceCommunity Image
AuthorFlux159⁠
Repositoryhttps://github.com/Flux159/mcp-server-kubernetes⁠
Dockerfilehttps://github.com/Flux159/mcp-server-kubernetes/blob/main/Dockerfile⁠
Docker Image built byDocker Inc.
LicenceMIT License

⁠Tools Summary

  1. cleanup: Cleanup all managed resources
  2. create_configmap: Create a new Kubernetes ConfigMap
  3. create_cronjob: Create a new Kubernetes CronJob
  4. create_deployment: Create a new Kubernetes deployment
  5. create_namespace: Create a new Kubernetes namespace
  6. create_pod: Create a new Kubernetes pod
  7. delete_cronjob: Delete a Kubernetes CronJob
  8. delete_deployment: Delete a Kubernetes deployment
  9. delete_namespace: Delete a Kubernetes namespace
  10. delete_pod: Delete a Kubernetes pod
  11. describe_cronjob: Get detailed information about a Kubernetes CronJob including recent job history
  12. describe_deployment: Get details about a Kubernetes deployment
  13. describe_pod: Describe a Kubernetes pod (read details like status, containers, etc.)
  14. explain_resource: Get documentation for a Kubernetes resource or field
  15. get_events: Get Kubernetes events from the cluster
  16. get_job_logs: Get logs from Pods created by a specific Job
  17. get_logs: Get logs from pods, deployments, jobs, or resources matching a label selector
  18. install_helm_chart: Install a Helm chart
  19. list_api_resources: List the API resources available in the cluster
  20. list_cronjobs: List CronJobs in a namespace
  21. list_deployments: List deployments in a namespace
  22. list_jobs: List Jobs in a namespace, optionally filtered by a CronJob parent
  23. list_namespaces: List all namespaces
  24. list_nodes: List all nodes in the cluster
  25. list_pods: List pods in a namespace
  26. list_services: List services in a namespace
  27. port_forward: Forward a local port to a port on a Kubernetes resource
  28. scale_deployment: Scale a Kubernetes deployment
  29. stop_port_forward: Stop a port-forward process
  30. uninstall_helm_chart: Uninstall a Helm release
  31. upgrade_helm_chart: Upgrade a Helm release

⁠Tools

⁠Tool: cleanup

Cleanup all managed resources

⁠Tool: create_configmap

Create a new Kubernetes ConfigMap

ParameterTypeDescription
dataobject
namestring
namespacestring
⁠Tool: create_cronjob

Create a new Kubernetes CronJob

ParameterTypeDescription
imagestring
namestring
namespacestring
schedulestring
commandarray optional
suspendboolean optional
⁠Tool: create_deployment

Create a new Kubernetes deployment

ParameterTypeDescription
namestring
namespacestring
templatestring
customConfigobject optional
portsarray optional
replicasnumber optional
⁠Tool: create_namespace

Create a new Kubernetes namespace

ParameterTypeDescription
namestring
⁠Tool: create_pod

Create a new Kubernetes pod

ParameterTypeDescription
namestring
namespacestring
templatestring
commandarray optional
customConfigobject optional
⁠Tool: delete_cronjob

Delete a Kubernetes CronJob

ParameterTypeDescription
namestring
namespacestring
⁠Tool: delete_deployment

Delete a Kubernetes deployment

ParameterTypeDescription
namestring
namespacestring
ignoreNotFoundboolean optional
⁠Tool: delete_namespace

Delete a Kubernetes namespace

ParameterTypeDescription
namestring
ignoreNotFoundboolean optional
⁠Tool: delete_pod

Delete a Kubernetes pod

ParameterTypeDescription
namestring
namespacestring
ignoreNotFoundboolean optional
⁠Tool: describe_cronjob

Get detailed information about a Kubernetes CronJob including recent job history

ParameterTypeDescription
namestring
namespacestring
⁠Tool: describe_deployment

Get details about a Kubernetes deployment

ParameterTypeDescription
namestring
namespacestring
⁠Tool: describe_pod

Describe a Kubernetes pod (read details like status, containers, etc.)

ParameterTypeDescription
namestring
namespacestring
⁠Tool: explain_resource

Get documentation for a Kubernetes resource or field

ParameterTypeDescription
resourcestringResource name or field path (e.g. 'pods' or 'pods.spec.containers')
apiVersionstring optionalAPI version to use (e.g. 'apps/v1')
outputstring optionalOutput format (plaintext or plaintext-openapiv2)
recursiveboolean optionalPrint the fields of fields recursively
⁠Tool: get_events

Get Kubernetes events from the cluster

ParameterTypeDescription
fieldSelectorstring optionalField selector to filter events
namespacestring optionalNamespace to get events from. If not specified, gets events from all namespaces
⁠Tool: get_job_logs

Get logs from Pods created by a specific Job

ParameterTypeDescription
namestringName of the Job to get logs from
namespacestring
tailnumber optionalNumber of lines to return from the end of the logs
timestampsboolean optionalInclude timestamps in the logs
⁠Tool: get_logs

Get logs from pods, deployments, jobs, or resources matching a label selector

ParameterTypeDescription
resourceTypestringType of resource to get logs from
containerstring optionalContainer name (required when pod has multiple containers)
labelSelectorstring optionalLabel selector to filter resources
namestring optionalName of the resource
namespacestring optionalNamespace of the resource
sincenumber optionalGet logs since relative time in seconds
tailnumber optionalNumber of lines to show from end of logs
timestampsboolean optionalInclude timestamps in logs
⁠Tool: install_helm_chart

Install a Helm chart

ParameterTypeDescription
chartstringChart name
namestringRelease name
namespacestringKubernetes namespace
repostringChart repository URL
valuesobject optionalChart values
⁠Tool: list_api_resources

List the API resources available in the cluster

ParameterTypeDescription
apiGroupstring optionalAPI group to filter by
namespacedboolean optionalIf true, only show namespaced resources
outputstring optionalOutput format (wide, name, or no-headers)
verbsarray optionalList of verbs to filter by
⁠Tool: list_cronjobs

List CronJobs in a namespace

ParameterTypeDescription
namespacestring
⁠Tool: list_deployments

List deployments in a namespace

ParameterTypeDescription
namespacestring
⁠Tool: list_jobs

List Jobs in a namespace, optionally filtered by a CronJob parent

ParameterTypeDescription
namespacestring
cronJobNamestring optionalOptional: Filter jobs created by a specific CronJob
⁠Tool: list_namespaces

List all namespaces

⁠Tool: list_nodes

List all nodes in the cluster

⁠Tool: list_pods

List pods in a namespace

ParameterTypeDescription
namespacestring
⁠Tool: list_services

List services in a namespace

ParameterTypeDescription
namespacestring
⁠Tool: port_forward

Forward a local port to a port on a Kubernetes resource

ParameterTypeDescription
localPortnumber
resourceNamestring
resourceTypestring
targetPortnumber
namespacestring optional
⁠Tool: scale_deployment

Scale a Kubernetes deployment

ParameterTypeDescription
namestring
namespacestring
replicasnumber
⁠Tool: stop_port_forward

Stop a port-forward process

ParameterTypeDescription
idstring
⁠Tool: uninstall_helm_chart

Uninstall a Helm release

ParameterTypeDescription
namestringRelease name
namespacestringKubernetes namespace
⁠Tool: upgrade_helm_chart

Upgrade a Helm release

ParameterTypeDescription
chartstringChart name
namestringRelease name
namespacestringKubernetes namespace
repostringChart repository URL
valuesobject optionalChart values

⁠Use this MCP Server

{
  "mcpServers": {
    "flux159-mcp-server-kubernetes": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcpcommunity/flux159-mcp-server-kubernetes"
      ]
    }
  }
}

Why is it safer to run MCP Servers with Docker?⁠

⁠Rebuild this image

docker build -t mcpcommunity/flux159-mcp-server-kubernetes -f Dockerfile https://github.com/Flux159/mcp-server-kubernetes.git

Tag summary

Content type

Image

Digest

sha256:6346e20b0…

Size

508.1 MB

Last updated

over 1 year ago

docker pull mcpcommunity/flux159-mcp-server-kubernetes