npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rancher-mcp-server

v0.9.1

Published

MCP server for the Rancher ecosystem: multi-cluster Kubernetes, Harvester HCI, Fleet GitOps, and Rancher Norman (/v3) management API

Readme

rancher-mcp-server

Model Context Protocol (MCP) server for the Rancher ecosystem: multi-cluster Kubernetes, Harvester HCI (VMs, storage, networks), and Fleet GitOps.

Install

npm install -g rancher-mcp-server

Or run directly with npx:

npx rancher-mcp-server --rancher-server-url https://rancher.example.com --rancher-token 'token-xxxxx:yyyy'

Usage with Cursor / Claude Desktop

Add to .cursor/mcp.json (or Claude Desktop config):

{
  "mcpServers": {
    "rancher": {
      "command": "npx",
      "args": [
        "-y", "rancher-mcp-server",
        "--rancher-server-url", "https://rancher.example.com",
        "--rancher-token", "token-xxxxx:yyyy",
        "--toolsets", "harvester,rancher,kubernetes,fleet"
      ]
    }
  }
}

If you prefer env vars:

{
  "mcpServers": {
    "rancher": {
      "command": "npx",
      "args": ["-y", "rancher-mcp-server"],
      "env": {
        "RANCHER_MCP_RANCHER_SERVER_URL": "https://rancher.example.com",
        "RANCHER_MCP_RANCHER_TOKEN": "token-xxxxx:yyyy",
        "RANCHER_MCP_TOOLSETS": "harvester,rancher,kubernetes,fleet"
      }
    }
  }
}

Enable write operations when needed:

{
  "mcpServers": {
    "rancher": {
      "command": "npx",
      "args": [
        "-y", "rancher-mcp-server",
        "--rancher-server-url", "https://rancher.example.com",
        "--rancher-token", "token-xxxxx:yyyy",
        "--toolsets", "harvester,rancher,kubernetes,fleet",
        "--read-only=false"
      ]
    }
  }
}

Features

  • Harvester toolset: VMs, snapshots, backups, images, volumes, networks, subnets, VPCs, hosts, addons
  • Rancher toolset: Clusters/projects/overview (Steve); Norman /v3 management API (schemas, users, tokens, auth, global role bindings, registration tokens, node drivers, cloud credentials, catalogs, cluster repos, feature flags, settings, audit when exposed); optional writes/deletes when flags allow
  • Kubernetes toolset: List/get/create/patch/delete by apiVersion/kind, plus describe/events/capacity
  • Helm toolset: List/get/history of releases; install, upgrade, rollback, uninstall; repo list
  • Fleet toolset: GitRepo list/get/create/delete/action/clone; Bundle list; Fleet cluster list; drift detection
  • Security: Read-only default, optional destructive-op guardrails, sensitive data masking (--show-sensitive-data to show Norman token/credential fields)

The main README lists every Rancher tool (Steve + Norman), write/delete gating, and notes on catalog cluster repos and unavailable responses.

Configuration

| Option | Env | Default | Description | |---|---|---|---| | --rancher-server-url | RANCHER_MCP_RANCHER_SERVER_URL | — | Rancher server URL (required) | | --rancher-token | RANCHER_MCP_RANCHER_TOKEN | — | Bearer token (required) | | --tls-insecure | RANCHER_MCP_TLS_INSECURE | false | Skip TLS verification | | --read-only | RANCHER_MCP_READ_ONLY | true | Disable write operations | | --disable-destructive | RANCHER_MCP_DISABLE_DESTRUCTIVE | false | Disable delete operations | | --show-sensitive-data | RANCHER_MCP_SHOW_SENSITIVE_DATA | false | Show Norman token/credential fields without redaction | | --toolsets | RANCHER_MCP_TOOLSETS | harvester | Toolsets: harvester, rancher, kubernetes, helm, fleet | | --transport | RANCHER_MCP_TRANSPORT | stdio | Transport: stdio or http (Streamable HTTP; default path /mcp) | | --port | RANCHER_MCP_PORT | 0 | Port for HTTP |

Supported platforms

  • macOS (Apple Silicon & Intel)
  • Linux (x64 & ARM64)
  • Windows (x64)

License

Apache-2.0

Links