Overview
MCP-NixOS v1.0.3 fixes encoding errors when parsing Home Manager and nix-darwin documentation, ensuring robust operation with various HTML encodings from CDN edge servers.
Highlights
- 🔧 Fixed HTML Encoding Errors: Resolves intermittent "unknown encoding: windows-1252" errors
- 🌐 Enhanced CDN Resilience: Better handling of documentation served from different edge servers
- ✅ Comprehensive Testing: Added encoding tests for windows-1252, ISO-8859-1, and UTF-8 with BOM
What Changed
The MCP server now uses resp.content instead of resp.text when parsing HTML documentation, allowing BeautifulSoup to automatically detect and handle various encodings. This prevents failures when CDN edge servers serve content with different encoding declarations.
Installation
# Install with pip
pip install mcp-nixos==1.0.3
# Install with uv
uv pip install mcp-nixos==1.0.3
# Install with uvx
uvx mcp-nixos==1.0.3Docker Images
# Docker Hub
docker pull utensils/mcp-nixos:1.0.3
# GitHub Container Registry
docker pull ghcr.io/utensils/mcp-nixos:1.0.3See RELEASE_NOTES.md for complete details.