|
| 1 | +# MCP-NixOS: v2.1.0 Release Notes - Pure Nix Flake |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +MCP-NixOS v2.1.0 converts to a pure Nix flake build system and adds FlakeHub integration for easier installation. This release fixes build compatibility with nixpkgs-unstable and provides a proper Nix overlay for seamless integration into NixOS and Home Manager configurations. |
| 6 | + |
| 7 | +## Changes in v2.1.0 |
| 8 | + |
| 9 | +### 🚀 Pure Nix Flake Build System |
| 10 | + |
| 11 | +- **Complete Flake Rewrite**: Migrated from hybrid venv/pip approach to pure Nix |
| 12 | +- **Python 3.14 Support**: Now builds with Python 3.14 from nixpkgs |
| 13 | +- **Proper Overlay**: Exposes `overlays.default` for easy integration into NixOS/Home Manager |
| 14 | +- **flake-parts**: Refactored to use flake-parts for cleaner multi-system support |
| 15 | +- **Build Fix**: Added overlay to handle fastmcp/mcp version constraints in nixpkgs-unstable |
| 16 | + |
| 17 | +### 🌐 FlakeHub Integration |
| 18 | + |
| 19 | +- **FlakeHub Publishing**: Package now available on FlakeHub for simplified installation |
| 20 | +- **Semantic Versioning**: Proper versioning support via FlakeHub |
| 21 | + |
| 22 | +### 📦 Installation |
| 23 | + |
| 24 | +**Via FlakeHub:** |
| 25 | +```nix |
| 26 | +{ |
| 27 | + inputs.mcp-nixos.url = "https://flakehub.com/f/utensils/mcp-nixos/*.tar.gz"; |
| 28 | +} |
| 29 | +``` |
| 30 | + |
| 31 | +**Via GitHub:** |
| 32 | +```nix |
| 33 | +{ |
| 34 | + inputs.mcp-nixos.url = "github:utensils/mcp-nixos"; |
| 35 | +
|
| 36 | + # Use the overlay |
| 37 | + nixpkgs.overlays = [ mcp-nixos.overlays.default ]; |
| 38 | +
|
| 39 | + # Then add to packages |
| 40 | + environment.systemPackages = [ pkgs.mcp-nixos ]; # NixOS |
| 41 | + home.packages = [ pkgs.mcp-nixos ]; # Home Manager |
| 42 | +} |
| 43 | +``` |
| 44 | + |
| 45 | +### 🔧 Bug Fixes |
| 46 | + |
| 47 | +- **nixpkgs-unstable Compatibility**: Fixed build failure caused by fastmcp requiring `mcp<1.17.0` while nixpkgs has `mcp>=1.25.0` |
| 48 | + |
| 49 | +### 📦 Dependencies |
| 50 | + |
| 51 | +- No Python dependency changes |
| 52 | +- Build system now uses pure nixpkgs packages |
| 53 | + |
| 54 | +## Installation |
| 55 | + |
| 56 | +```bash |
| 57 | +# Install with pip |
| 58 | +pip install mcp-nixos==2.1.0 |
| 59 | + |
| 60 | +# Install with uv |
| 61 | +uv pip install mcp-nixos==2.1.0 |
| 62 | + |
| 63 | +# Run directly with nix |
| 64 | +nix run github:utensils/mcp-nixos |
| 65 | +``` |
| 66 | + |
| 67 | +## Docker Images |
| 68 | + |
| 69 | +```bash |
| 70 | +# Pull from Docker Hub |
| 71 | +docker pull utensils/mcp-nixos:2.1.0 |
| 72 | + |
| 73 | +# Pull from GitHub Container Registry |
| 74 | +docker pull ghcr.io/utensils/mcp-nixos:2.1.0 |
| 75 | +``` |
| 76 | + |
| 77 | +## Migration Notes |
| 78 | + |
| 79 | +This is a drop-in replacement for v2.0.0 with no user-facing changes to the MCP tools. The changes are entirely in the Nix build infrastructure. If you were experiencing build failures with v2.0.0 on nixpkgs-unstable, this release resolves that issue. |
| 80 | + |
| 81 | +## Contributors |
| 82 | + |
| 83 | +- James Brink (@utensils) - Nix Flake Architect |
| 84 | + |
| 85 | +--- |
| 86 | + |
1 | 87 | # MCP-NixOS: v2.0.0 Release Notes - The Great Consolidation |
2 | 88 |
|
3 | 89 | ## Overview |
|
0 commit comments