# MCP Nixos (MCP server)

> MCP Nixos is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP-NixOS - Model Context Protocol Server for NixOS resources. It has 864 GitHub stars, is released under the MIT license and runs locally with docker run -i --rm ghcr.io/utensils/mcp-nixos.

🚨 No Nix/NixOS Required! Works on any system - Windows, macOS, Linux. You're just querying APIs. Your AI now has access to real NixOS data instead of making things up. You're welcome.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/utensils/mcp-nixos |
| GitHub stars | 864 |
| License | MIT |
| Language | Python |
| Transport | stdio |
| Packages | docker: ghcr.io/utensils/mcp-nixos |
| Remote URL | none |
| Needs API key | no |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Cloud & DevOps |
| Latest release | v3.1.0 (Sep 5, 2026) |
| Last commit | Oct 26, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-nixos": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/utensils/mcp-nixos"
      ]
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --transport stdio mcp-nixos -- docker run -i --rm ghcr.io/utensils/mcp-nixos
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-nixos": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/utensils/mcp-nixos"
      ]
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-nixos": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/utensils/mcp-nixos"
      ]
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Similar MCP servers

- [Kubectl MCP Server](https://appsgit.com/mcp-servers/kubectl-mcp-server): Published in CNCF Landscape: A MCP server for Kubernetes. (964 stars, MIT)
- [Golf](https://appsgit.com/mcp-servers/golf): Production-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents. (841 stars, Apache-2.0)
- [StackQL MCP Server](https://appsgit.com/mcp-servers/stackql-mcp-server): SQL-native query and provisioning engine for cloud infrastructure, served over MCP. (1,068 stars, MIT, official)
- [SSH — policy-gated remote access](https://appsgit.com/mcp-servers/ssh-policy-gated-remote-access): Policy-gated, audited SSH for Linux and Windows hosts: roles, approvals, and an audit log. (831 stars, MIT, needs API key)
- [Search2ai](https://appsgit.com/mcp-servers/search2ai): Self-hosted search gateway for AI agents. (1,282 stars, MIT, needs API key)
- [Flux Operator](https://appsgit.com/mcp-servers/flux-operator): The Flux Operator is a Kubernetes CRD controller that manages the lifecycle of CNCF Flux CD and the ControlPlane enterprise distribution. (779 stars, AGPL-3.0, official)

---

Canonical page: https://appsgit.com/mcp-servers/mcp-nixos
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
