MCP Server for kubernetes management commands
1.6K
MCP Server for kubernetes management commands
| Image Source | Community Image |
| Author | Flux159 |
| Repository | https://github.com/Flux159/mcp-server-kubernetes |
| Dockerfile | https://github.com/Flux159/mcp-server-kubernetes/blob/main/Dockerfile |
| Docker Image built by | Docker Inc. |
| Licence | MIT License |
cleanup: Cleanup all managed resourcescreate_configmap: Create a new Kubernetes ConfigMapcreate_cronjob: Create a new Kubernetes CronJobcreate_deployment: Create a new Kubernetes deploymentcreate_namespace: Create a new Kubernetes namespacecreate_pod: Create a new Kubernetes poddelete_cronjob: Delete a Kubernetes CronJobdelete_deployment: Delete a Kubernetes deploymentdelete_namespace: Delete a Kubernetes namespacedelete_pod: Delete a Kubernetes poddescribe_cronjob: Get detailed information about a Kubernetes CronJob including recent job historydescribe_deployment: Get details about a Kubernetes deploymentdescribe_pod: Describe a Kubernetes pod (read details like status, containers, etc.)explain_resource: Get documentation for a Kubernetes resource or fieldget_events: Get Kubernetes events from the clusterget_job_logs: Get logs from Pods created by a specific Jobget_logs: Get logs from pods, deployments, jobs, or resources matching a label selectorinstall_helm_chart: Install a Helm chartlist_api_resources: List the API resources available in the clusterlist_cronjobs: List CronJobs in a namespacelist_deployments: List deployments in a namespacelist_jobs: List Jobs in a namespace, optionally filtered by a CronJob parentlist_namespaces: List all namespaceslist_nodes: List all nodes in the clusterlist_pods: List pods in a namespacelist_services: List services in a namespaceport_forward: Forward a local port to a port on a Kubernetes resourcescale_deployment: Scale a Kubernetes deploymentstop_port_forward: Stop a port-forward processuninstall_helm_chart: Uninstall a Helm releaseupgrade_helm_chart: Upgrade a Helm releasecleanupCleanup all managed resources
create_configmapCreate a new Kubernetes ConfigMap
| Parameter | Type | Description |
|---|---|---|
data | object | |
name | string | |
namespace | string |
create_cronjobCreate a new Kubernetes CronJob
| Parameter | Type | Description |
|---|---|---|
image | string | |
name | string | |
namespace | string | |
schedule | string | |
command | array optional | |
suspend | boolean optional |
create_deploymentCreate a new Kubernetes deployment
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespace | string | |
template | string | |
customConfig | object optional | |
ports | array optional | |
replicas | number optional |
create_namespaceCreate a new Kubernetes namespace
| Parameter | Type | Description |
|---|---|---|
name | string |
create_podCreate a new Kubernetes pod
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespace | string | |
template | string | |
command | array optional | |
customConfig | object optional |
delete_cronjobDelete a Kubernetes CronJob
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespace | string |
delete_deploymentDelete a Kubernetes deployment
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespace | string | |
ignoreNotFound | boolean optional |
delete_namespaceDelete a Kubernetes namespace
| Parameter | Type | Description |
|---|---|---|
name | string | |
ignoreNotFound | boolean optional |
delete_podDelete a Kubernetes pod
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespace | string | |
ignoreNotFound | boolean optional |
describe_cronjobGet detailed information about a Kubernetes CronJob including recent job history
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespace | string |
describe_deploymentGet details about a Kubernetes deployment
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespace | string |
describe_podDescribe a Kubernetes pod (read details like status, containers, etc.)
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespace | string |
explain_resourceGet documentation for a Kubernetes resource or field
| Parameter | Type | Description |
|---|---|---|
resource | string | Resource name or field path (e.g. 'pods' or 'pods.spec.containers') |
apiVersion | string optional | API version to use (e.g. 'apps/v1') |
output | string optional | Output format (plaintext or plaintext-openapiv2) |
recursive | boolean optional | Print the fields of fields recursively |
get_eventsGet Kubernetes events from the cluster
| Parameter | Type | Description |
|---|---|---|
fieldSelector | string optional | Field selector to filter events |
namespace | string optional | Namespace to get events from. If not specified, gets events from all namespaces |
get_job_logsGet logs from Pods created by a specific Job
| Parameter | Type | Description |
|---|---|---|
name | string | Name of the Job to get logs from |
namespace | string | |
tail | number optional | Number of lines to return from the end of the logs |
timestamps | boolean optional | Include timestamps in the logs |
get_logsGet logs from pods, deployments, jobs, or resources matching a label selector
| Parameter | Type | Description |
|---|---|---|
resourceType | string | Type of resource to get logs from |
container | string optional | Container name (required when pod has multiple containers) |
labelSelector | string optional | Label selector to filter resources |
name | string optional | Name of the resource |
namespace | string optional | Namespace of the resource |
since | number optional | Get logs since relative time in seconds |
tail | number optional | Number of lines to show from end of logs |
timestamps | boolean optional | Include timestamps in logs |
install_helm_chartInstall a Helm chart
| Parameter | Type | Description |
|---|---|---|
chart | string | Chart name |
name | string | Release name |
namespace | string | Kubernetes namespace |
repo | string | Chart repository URL |
values | object optional | Chart values |
list_api_resourcesList the API resources available in the cluster
| Parameter | Type | Description |
|---|---|---|
apiGroup | string optional | API group to filter by |
namespaced | boolean optional | If true, only show namespaced resources |
output | string optional | Output format (wide, name, or no-headers) |
verbs | array optional | List of verbs to filter by |
list_cronjobsList CronJobs in a namespace
| Parameter | Type | Description |
|---|---|---|
namespace | string |
list_deploymentsList deployments in a namespace
| Parameter | Type | Description |
|---|---|---|
namespace | string |
list_jobsList Jobs in a namespace, optionally filtered by a CronJob parent
| Parameter | Type | Description |
|---|---|---|
namespace | string | |
cronJobName | string optional | Optional: Filter jobs created by a specific CronJob |
list_namespacesList all namespaces
list_nodesList all nodes in the cluster
list_podsList pods in a namespace
| Parameter | Type | Description |
|---|---|---|
namespace | string |
list_servicesList services in a namespace
| Parameter | Type | Description |
|---|---|---|
namespace | string |
port_forwardForward a local port to a port on a Kubernetes resource
| Parameter | Type | Description |
|---|---|---|
localPort | number | |
resourceName | string | |
resourceType | string | |
targetPort | number | |
namespace | string optional |
scale_deploymentScale a Kubernetes deployment
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespace | string | |
replicas | number |
stop_port_forwardStop a port-forward process
| Parameter | Type | Description |
|---|---|---|
id | string |
uninstall_helm_chartUninstall a Helm release
| Parameter | Type | Description |
|---|---|---|
name | string | Release name |
namespace | string | Kubernetes namespace |
upgrade_helm_chartUpgrade a Helm release
| Parameter | Type | Description |
|---|---|---|
chart | string | Chart name |
name | string | Release name |
namespace | string | Kubernetes namespace |
repo | string | Chart repository URL |
values | object optional | Chart values |
{
"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?
docker build -t mcpcommunity/flux159-mcp-server-kubernetes -f Dockerfile https://github.com/Flux159/mcp-server-kubernetes.git
Content type
Image
Digest
sha256:6346e20b0…
Size
508.1 MB
Last updated
over 1 year ago
docker pull mcpcommunity/flux159-mcp-server-kubernetes