MCP, MCP server
Mcp Nixos
MCP-NixOS - Model Context Protocol Server for NixOS resources
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 6a517811658c, unchanged since the check below.
NETWORK_HOST_FROM_INPUT
Why this grade
- NETWORK_HOST_FROM_INPUT Medium
A file takes a URL or endpoint as input and has no fixed host list.
mcp_nixos/caches.py, line 178
resp = requests.get(
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command call was found in the code. This check does not read permissions an entry declares. A permission line to run shell commands was found in this repository, and it may apply to this entry.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
mcp_nixos/caches.py, line 178
resp = requests.get(
mcp_nixos/caches.py, line 216
count_resp = requests.post(
mcp_nixos/caches.py, line 339
resp = requests.get(url, timeout=30)
Show more
mcp_nixos/caches.py, line 455
response = requests.get(NVF_OPTIONS_URL, timeout=30)
mcp_nixos/caches.py, line 524
resp = requests.get(NIXDEV_SEARCH_INDEX, timeout=30)
mcp_nixos/caches.py, line 566
resp = requests.get(NOOGLE_API, timeout=60)
mcp_nixos/utils.py, line 119
resp = requests.get(url, timeout=30)
mcp_nixos/sources/base.py, line 46
resp = requests.post(
mcp_nixos/sources/base.py, line 85
resp = requests.post(f"{NIXOS_API}/{index}/_search", json=body, auth=NIXOS_AUTH, timeout=10)
mcp_nixos/sources/base.py, line 148
resp = requests.get(
mcp_nixos/sources/flakehub.py, line 15
resp = requests.get(f"{FLAKEHUB_API}/search", params={"q": query}, headers=headers, timeout=15)
mcp_nixos/sources/flakehub.py, line 64
resp = requests.get(f"{FLAKEHUB_API}/version/{org}/{project}/*", headers=headers, timeout=15)
mcp_nixos/sources/flakehub.py, line 127
resp = requests.get(f"{FLAKEHUB_API}/flakes", headers=headers, timeout=15)
mcp_nixos/sources/flakes.py, line 36
resp = requests.post(
mcp_nixos/sources/flakes.py, line 137
resp = requests.post(
mcp_nixos/sources/nixdev.py, line 155
resp = requests.get(url, timeout=15, stream=True)
mcp_nixos/sources/nixhub.py, line 52
cache_resp = requests.head(narinfo_url, timeout=5)
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
mcp_nixos/__init__.py, line 14
# pydantic-settings `Settings()`, which eagerly reads `.env` from the caller's
mcp_nixos/__init__.py, line 15
# CWD via python-dotenv. A non-UTF-8 `.env` (git-crypt ciphertext, sops-
mcp_nixos/__init__.py, line 19
# `.env`, so neutralising the lookup is safe. Respect an explicit override.
Show more
.gitignore, line 44
# Environments
.gitignore, line 45
.env
.gitignore, line 98
/website/.env*.local
RELEASE_NOTES.md, line 120
MCP-NixOS v2.4.2 fixes a startup crash when the server is launched from a working directory containing a non-UTF-8 `.env` file (e.g. git-crypt ciphertext, sops-encrypted dotenv, or
RELEASE_NOTES.md, line 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 import
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 6a517811658c. accepts a host from input, with no fixed list in this file. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 6a517811658c21f97bd7703b35546085117fc310
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.