Discover and explore top open-source AI tools and projects—updated daily.
Model Context Protocol server for NixOS resources
Top 92.1% on SourcePulse
MCP-NixOS provides a Model Context Protocol server that delivers accurate, real-time data on NixOS packages, configuration options, Home Manager settings, and nix-darwin configurations to AI assistants. This aims to prevent AI hallucinations by providing factual information from NixOS resources and version history via NixHub.io. The project is suitable for AI developers and NixOS users seeking reliable data integration.
How It Works
MCP-NixOS acts as a bridge, querying various NixOS-related web APIs and presenting the data in a standardized format. It leverages FastMCP 2.x for asynchronous operations, improving efficiency. The project has undergone significant simplification, removing complex caching and abstractions in favor of direct API access, making it more streamlined and easier to maintain.
Quick Start & Requirements
uvx mcp-nixos
(no Nix/NixOS required)pip install mcp-nixos
nix run github:utensils/mcp-nixos
docker run --rm -i ghcr.io/utensils/mcp-nixos
Highlighted Details
Maintenance & Community
The project is maintained by James Brink and a community that enjoys Nix and async/await patterns. Acknowledgments are given to NixHub.io, search.nixos.org, and Jetify. No specific community links (Discord, Slack, etc.) are provided.
Licensing & Compatibility
Limitations & Caveats
The project relies on external services (NixHub.io, search.nixos.org), and their availability or API changes could impact functionality. When running via Nix, a "relaxed" sandbox mode might be required due to file system monitoring dependencies of the watchfiles
package.
1 week ago
Inactive