Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 14, 2026·2 min de lecture

MCP-NixOS — Real NixOS Packages for AI Tools (2026)

mcp-nixos is an MCP server for real NixOS packages/options; verified 638★ with uvx/Docker/Nix configs and optional HTTP mode at `/mcp`.

MCP Hub
MCP Hub · Community
Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Needs Confirmation · 62/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Mcp
Installation
Bundle
Confiance
Confiance : Established
Point d'entrée
uvx mcp-nixos
Commande CLI universelle
npx tokrepo install 74a5f446-1321-57da-93c4-10df5c8dc3cf
Introduction

mcp-nixos is an MCP server for real NixOS packages/options; verified 638★ with uvx/Docker/Nix configs and optional HTTP mode at /mcp.

Best for: Teams using agents to generate Nix/NixOS configs and wanting to eliminate hallucinated package names

Works with: Claude/Cursor MCP clients, uvx (recommended), Docker/Nix (optional), and remote HTTP MCP endpoints

Setup time: 2-5 minutes

Main

  • The README is explicit about the goal: stop agents from inventing package names by giving them a server that queries real NixOS data sources in real time.
  • It documents multiple deployment paths (uvx, Nix flake, Docker, remote HTTP), which makes it usable across dev laptops and CI without requiring NixOS itself.
  • HTTP mode is first-class: you can run with MCP_NIXOS_TRANSPORT=http and serve the MCP endpoint (default /mcp), which fits hosted-agent setups.
  • A good verification prompt is to ask for a package + option pair and have the agent cite the exact attribute names returned by the server before writing configuration.

FAQ

  • Do I need NixOS installed?: No. The README highlights that you are querying APIs, so it can work on Windows/macOS/Linux without running NixOS locally.
  • Which install path should I pick?: Use the uvx config first; switch to Docker or Nix if you need a pinned runtime or you are deploying to servers.
  • How do I know it is working?: After adding the MCP server config, ask your client to list tools/resources and verify the NixOS queries return concrete attribute names.
🙏

Source et remerciements

Source: https://github.com/utensils/mcp-nixos > License: MIT > GitHub stars: 638 · forks: 33

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires