Best NixOS MCP Servers
NixOS is a Linux distribution built on top of the Nix package manager that emphasizes declarative configuration and reliable system upgrades.
Why this server?
Provides tools for inspecting local NixOS configuration files and applying patch sets to modify and rebuild NixOS or Home Manager configurations via nixos-rebuild or home-manager commands.
AlicenseAqualityAmaintenanceA local MCP server for trusted NixOS automation that enables inspecting files, applying patch sets, and validating/switching NixOS or Home Manager configurations.716MITWhy this server?
Provides real-time access to NixOS packages and system options via the Elasticsearch API, allowing AI assistants to search and retrieve accurate information about available packages, their metadata, and system configuration options across multiple NixOS channels.
AlicenseAqualityAmaintenanceMCP-NixOS is a Model Context Protocol server that provides real-time, accurate information about NixOS packages, options, Home Manager, and nix-darwin configurations, preventing AI assistants from hallucinating about NixOS resources and enabling them to deliver factual system configuration guidance.2813MITWhy this server?
Enables searching for NixOS configuration options to retrieve details such as option names, types, default values, and descriptions from the official NixOS search API.
FlicenseBqualityFmaintenanceEnables searching and retrieving NixOS configuration options using the official NixOS search API. It provides detailed metadata including option types, default values, and descriptions with full support for paginated results.21Why this server?
Provides tools for searching and exploring the Nix ecosystem, including package search in Nixpkgs, NixOS configuration options, Home Manager options, Nixvim and nix-darwin configurations, and package version tracking through NixHub. Enables reading Nix source code for derivations and module declarations.
Why this server?
Allows executing commands in ephemeral containers with any combination of Nix packages from the NixOS/nixpkgs repository.
AlicenseNot gradedqualityCmaintenanceExecute commands in ephemeral containers with any combination of Nix packages.1MITWhy this server?
Provides a safety gate for NixOS configuration changes by grading security-relevant option deltas, attesting closures for vulnerabilities via vulnix and CISA KEV, and recording auditable human decisions.
AlicenseNot gradedqualityBmaintenanceA safety gate for agent-proposed NixOS configuration changes, grading security-relevant option deltas, attesting closures for vulnerabilities, and requiring human approval with a tamper-evident audit ledger.MITWhy this server?
Provides tools for debugging Nix packages, managing flakes, analyzing builds, and generating Nix expressions.
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with NixOS development tools, manage builds, and optimize workflows through natural language.Apache 2.0Why this server?
Provides read-only observation of the NixOS deployment itself, including its configuration and deployment state.
AlicenseNot gradedqualityBmaintenanceRead-only MCP server for observing Linux hosts (systemd, ZFS, Docker, VMs, network, hardware, NixOS) as a graph of objects with provenance. Provides seven tools to list hosts, get status, collections, objects, evidence, lookup, and changes.1GPL 3.0Why this server?
Provides a reproducible development environment using Nix with flakes for consistent tooling and dependencies
AlicenseNot gradedqualityDmaintenanceAn intelligent server that provides semantic code search, domain-driven analysis, and advanced code understanding for large codebases using LLMs and vector embeddings.11MIT