rancher-mcp
Exposes MCP tools for interacting with a Rancher instance, including forwarding authorization and managing Rancher resources.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rancher-mcplist all clusters"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rancher-mcp
A polished TypeScript MCP server for Rancher workflows.
It exposes the Rancher tool surface as a standalone MCP service, forwards caller identity when available, and falls back to configured Rancher credentials when needed. The repo includes tests, a documentation site, and GitHub Pages publishing.
Live docs
GitHub Pages site:
https://jasonrve.github.io/rancher-mcp/Docs source:
docs/Brand assets:
docs/public/
Related MCP server: thalovant-mcp
Why this exists
Rancher users often need the tool surface without the surrounding operator/runtime package. rancher-mcp keeps the useful Rancher and Fleet actions, but packages them as a focused MCP server that is easier to run locally, automate, and connect to agent clients.
What it does
exposes Rancher cluster, project, namespace, access-control, and Fleet tools
supports HTTP and stdio transports
forwards the incoming
Authorizationheader to Rancherfalls back to configured Rancher credentials when no header is present
includes Vitest coverage for the tool catalog, auth, executor, and health route
ships a documentation site with client setup examples
Tool groups
Group | Examples | What it is for |
Rancher core |
| Everyday cluster, project, and namespace workflows |
Access control |
| Finding principals and binding them to projects |
Fleet |
| GitOps repo and sync management |
Quick start
npm install
npm test
npm run build
npm run devBeta publishing and install
This repository is set up for a beta release channel on npm.
publish workflow:
.github/workflows/publish-beta.ymlnpm dist-tag:
betalocal run via npx after publishing:
npx -y rancher-mcp@betaConfiguration
Variable | Purpose |
| Base Rancher URL |
| Fallback bearer token |
| Fallback basic-auth username |
| Fallback basic-auth password |
|
|
| HTTP route for MCP traffic |
| HTTP listen port |
Client examples and docs
Development commands
Command | Description |
| Start the server |
| Run Vitest |
| Compile TypeScript |
| Start the docs site |
| Build the docs site |
| Preview the docs site |
Project layout
.
├── src/
├── tests/
├── docs/
├── dist/
├── package.json
└── README.mdSource project
This repository mirrors the Rancher-side MCP surface from the original C# implementation.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Host your MCP tool over streamable HTTP in one command.
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
- SupabaseOAuthcom.supabase
MCP server for interacting with the Supabase platform
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceSelf-hosted MCP proxy and aggregation platform. Register multiple upstream MCP servers and expose them through a single unified endpoint with namespace routing, multi-transport support (HTTP/SSE, stdio, OpenAPI→MCP), per-tool overrides, and a web admin UI.17MIT

thalovant-mcpofficial
AlicenseNot gradedqualityAmaintenanceMCP server for Thalovant control-plane and hub runtime APIs, supporting local stdio and remote Streamable HTTP with authentication and per-principal credentials.1,119 npmMIT- FlicenseNot gradedqualityCmaintenanceA universal MCP server for registering internal, external, and OpenAPI-based APIs as MCP tools. It exposes them to MCP clients via Streamable HTTP and provides admin portal, RBAC/session auth, credential injection, and audit logging.-
- AlicenseNot gradedqualityAmaintenanceMCP sidecar server that exposes Dockhand's container, image, volume, network, and stack management as MCP tools over Streamable HTTP, enabling MCP clients to manage Docker resources through Dockhand's REST API.MIT