Atlas / MCP servers / utensils / Mcp-Nixos

Mcp-NixosSAFE

mcp/utensils/mcp-nixos

MCP-NixOS - Model Context Protocol Server for NixOS resources

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
1 1r · 0w · 0d
Transport
—
License
MIT
Stars
844
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://mcptoplist.com/server/glama%2Futensils%2Fmcp-nixos)

[](https://github.com/utensils/mcp-nixos/actions/workflows/ci.yml) [](https://codecov.io/gh/utensils/mcp-nixos) [](https://pypi.org/project/mcp-nixos/) [](https://flakehub.com/flake/utensils/mcp-nixos) [](https://www.python.org/downloads/) [](https://claude.ai)

Quick Start

🚨 No Nix/NixOS Required! Works on any system - Windows, macOS, Linux. You're just querying APIs.

Option 1: uvx (Recommended)

[](https://cursor.com/install-mcp?name=nixos&config=eyJjb21tYW5kIjoidXZ4IG1jcC1uaXhvcyJ9)

{
"mcpServers": {
"nixos": {
"command": "uvx",
"args": ["mcp-nixos"]
}
}
}

Option 2: Nix

[](https://cursor.com/install-mcp?name=nixos&config=eyJjb21tYW5kIjoibml4IHJ1biBnaXRodWI6dXRlbnNpbHMvbWNwLW5peG9zIC0tIn0%3D)

{
"mcpServers": {
"nixos": {
"command": "nix",
"args": ["run", "github:utensils/mcp-nixos", "--"]
}
}
}

Opti

Read from source at commit a134bac4ede4OBSERVED · 2026-09-27
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-nixos-website -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-nixos-website": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
nix_versionsreadGet package version history from NixHub.io.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (6 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (13)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
flake.nix:320
help = "start the MCP server over HTTP (http://127.0.0.1:8000/mcp)";
LOWInventory / provenance · inv.hidden_file · CWE-1104
.envrc
.envrc
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.release-please-manifest.json
.release-please-manifest.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.symlink · CWE-1104
CLAUDE.md
CLAUDE.md
Why it matters. link not followed
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_tools.py:1468
result = await nix_fn(action="info", query="../../etc/passwd", source="nix-dev")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
AGENTS.md:98
# HTTP (default endpoint: http://127.0.0.1:8000/mcp)
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:69
# Run an HTTP MCP server at http://127.0.0.1:8000/mcp
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
RELEASE_NOTES.md:422
- `MCP_NIXOS_TRANSPORT=http` enables HTTP mode (default endpoint: `http://127.0.0.1:8000/mcp`)
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
website/usage.md:131
# Start with defaults: http://127.0.0.1:8000/mcp
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
.pi/package.json
@mariozechner/pi-ai, @mariozechner/pi-coding-agent, @types/node, typescript
Why it matters. 4 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
website/package.json
@types/node, vitepress, vue, vue-tsc
Why it matters. 4 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
RELEASE_NOTES.md:126
- **Survive non-UTF-8 `.env` in CWD** (#144, #145): `mcp_nixos/__init__.py` now defaults `FASTMCP_ENV_FILE` to `os.devnull` via `os.environ.setdefault`, before any submodule imports fastmcp. mcp-nixos
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-09-27 · audit v0.4.1 · source sha a134bac4ede4full audit observations/trust-audit/mcp-server/utensils__mcp-nixos.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-09-27a134bac4ede4SAFEB89first audit
06

Questions

What is the Mcp-Nixos MCP server?

MCP-NixOS - Model Context Protocol Server for NixOS resources

What tools does Mcp-Nixos expose?

1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Mcp-Nixos safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Mcp-Nixos need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (a134bac4ede4), read on 2026-09-27. The repository is watched and re-audited when it changes.

Advertisement