Skip to content
Cursor

rancher mcp for Cursor

io.github.rex/rancher-mcp

Capability-aware MCP server for Rancher-managed Kubernetes: discovery, resources, workflows.

client:Cursor transport:stdio runtime:pypi

Install rancher mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "rancher-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "rancher-mcp"
      ],
      "env": {
        "RANCHER_URL": "<RANCHER_URL>",
        "RANCHER_TOKEN": "<RANCHER_TOKEN>",
        "RANCHER_VERIFY_SSL": "<RANCHER_VERIFY_SSL>",
        "RANCHER_INSTANCES_JSON": "<RANCHER_INSTANCES_JSON>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

rancher mcp in other clients