-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Whattup friend.
While working on my configuration, I've noticed that the agent frequently searches GitHub or other repository locations for information about flake inputs (like home-manager, flake-parts, etc.). However, all of these inputs are already present in the local Nix store after they've been added to my flake.
Proposed Enhancement:
Add an MCP tool that can access and query these flake inputs directly from the filesystem/Nix store. This would provide several benefits:
- Faster responses - No need to download or fetch from web APIs
- More accurate results - Reading directly from the exact versions pinned in the flake lock file
- Fewer external dependencies - Reduced reliance on search APIs and network requests
- Better offline support - Works without internet connectivity once inputs are fetched
The tool could leverage the fact that flake inputs are stored in /nix/store and are accessible locally, providing immediate access to the actual source code and documentation of the dependencies already in use.
Is this something that could be added to the mcp-nixos server?
Metadata
Metadata
Assignees
Labels
No labels