mcp-nixos
MCP-NixOS is a Model Context Protocol server that aims to provide accurate and real-time information for NixOS and related systems. It offers features like smart caching, rich search capabilities, and supports both NixOS and macOS configurations to enhance the accuracy of AI assistants.
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
MCP-NixOS is a Model Context Protocol server designed to provide accurate information and real-time access to NixOS packages, system options, Home Manager settings, and nix-darwin configurations. It aims to prevent AI assistants from giving inaccurate information about NixOS.
Features:
- Access to NixOS packages, system options, and Home Manager settings
- macOS configurations with nix-darwin
- Smart caching for reduced network requests
- In-memory search engine for fast queries
Installation:
You can install via pip, uv, directly from GitHub, or as a Nix package. Configuration involves setting up MCP configuration files to connect your AI assistants with the server.
Resources & Tools:
- NixOS resources and tools for package and option search
- Home Manager tools for user configuration
- nix-darwin for macOS configuration options
Development:
Comes with tools for testing, native NixOS packaging, and uses an Elasticsearch API for real-time data fetching.