- Server-level `instructions` surfaced via `InitializeResult` to guide LLM usage decisions
- `action=info` now performs deterministic exact‑path then pname matching with JSON disambiguation hints
- `action=channels` provides per‑channel `Revision (indexed)` for unstable and `Branch HEAD` (10‑min TTL) for release channels
Full changelog
MCP-NixOS v2.4.3 improves LLM discoverability of the server with a server-level instructions string, an INTENTS → CALLS recipe block in the nix tool, deterministic action=info matching that no longer silently substitutes packages with shared pnames, and per-channel nixpkgs HEAD revisions in action=channels.
Closes #146. Drop-in replacement for v2.4.2 — no configuration or API changes.
Highlights
- Server-level
instructionssurfaced via the MCPInitializeResultso hosts prime the model on when to reach for this server vs. Bash / web search. action=infonow matches by exact attribute path first, then exact pname, with explicit JSON-shaped disambiguation hints when multiple attrs share a pname (firefox / firefox-esr / firefox-mobile).action=channelsnow surfaces aRevision (indexed)for unstable channels (exact build commit) and aBranch HEAD(best-effort, 10-min TTL) for release channels — clearly distinguished so callers know which one to compare againstnix_versions.- 12 new unit tests; 348 total (was 336).
See RELEASE_NOTES.md for the full breakdown.
Install
pip install mcp-nixos==2.4.3
nix run github:utensils/mcp-nixos
docker pull ghcr.io/utensils/mcp-nixos:2.4.3