Skip to main content
Glama
LokiMCPUniverse

Rancher MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RANCHER_TIMEOUTNoHTTP timeout in seconds.60
RANCHER_BASE_URLNoRancher Manager base URL (no trailing slash).https://localhost
RANCHER_API_TOKENYesAPI token in `token-xxx:yyy...` format.
RANCHER_VERIFY_SSLNoVerify TLS certificates.true

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_clustersA

List all clusters managed by this Rancher server.

get_clusterA

Get detailed information about a specific Rancher cluster.

Args: cluster_id: Rancher-assigned cluster identifier (e.g. c-abcde).

list_projectsA

List Rancher projects, optionally filtered by cluster.

Args: cluster_id: Optional cluster ID used to scope the result.

list_nodesB

List nodes belonging to a Rancher-managed cluster.

Args: cluster_id: Rancher-assigned cluster identifier.

list_namespacesB

List namespaces in the Kubernetes cluster via the Rancher proxy.

Args: cluster_id: Rancher-assigned cluster identifier.

list_podsA

List pods in a cluster, optionally scoped to a namespace.

Args: cluster_id: Rancher-assigned cluster identifier. namespace: Optional namespace to filter pods.

list_deploymentsB

List Deployments in a cluster, optionally scoped to a namespace.

Args: cluster_id: Rancher-assigned cluster identifier. namespace: Optional namespace to filter deployments.

get_pod_logsA

Fetch logs from a pod via the Rancher Kubernetes proxy.

Args: cluster_id: Rancher-assigned cluster identifier. namespace: Namespace the pod lives in. pod_name: Name of the pod whose logs should be returned. tail_lines: Number of trailing lines to return (default 100).

scale_deploymentB

Scale a Kubernetes Deployment to the given replica count.

Args: cluster_id: Rancher-assigned cluster identifier. namespace: Namespace containing the deployment. name: Deployment name. replicas: Desired replica count.

list_catalog_appsB

List catalog applications installed in a Rancher cluster.

Args: cluster_id: Rancher-assigned cluster identifier.

create_kubeconfigA

Generate a kubeconfig document for the given cluster.

Args: cluster_id: Rancher-assigned cluster identifier.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LokiMCPUniverse/rancher-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server