Nix Agent
FreeNot checkedA local MCP server for trusted NixOS automation that enables inspecting files, applying patch sets, and validating/switching NixOS or Home Manager configuration
About
A local MCP server for trusted NixOS automation that enables inspecting files, applying patch sets, and validating/switching NixOS or Home Manager configurations.
README
A local MCP server that gives AI agents composable NixOS / Home Manager operations: build, diff, switch, and generations for the operational core, plus eval, locate, and check for config introspection.
It pairs with mcp-nixos. nix-agent
operates on your actual configuration, mcp-nixos handles package and option
discovery. Responses report raw vs returned bytes so token savings are
visible per call, not just claimed.
Experimental and a work in progress. Feedback and contributions welcome.
Install
Paste this to a coding agent (Codex, Claude Code, opencode, ...) and it does the install:
Read https://raw.githubusercontent.com/JEFF7712/nix-agent/main/docs/agent-install.md and follow every step to install nix-agent on this NixOS system, install the companion skills, and register nix-agent in my MCP settings for this machine.
Or do it by hand, see docs/usage.md.
Docs
- docs/usage.md: install, MCP host config, tool surface, workflow, design notes
- docs/agent-install.md: install guide for agents
- docs/privileged-automation.md: non-interactive dry-activate, switch, and rollback
- skills/nix-agent/SKILL.md: companion workflow skill
- skills/nix-agent-init/SKILL.md: repo onboarding skill
The nix-agent logo adapts the Nix snowflake from NixOS/nixos-artwork, licensed CC-BY 4.0.
Installing Nix Agent
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/JEFF7712/nix-agentFAQ
Is Nix Agent MCP free?
Yes, Nix Agent MCP is free — one-click install via Unyly at no cost.
Does Nix Agent need an API key?
No, Nix Agent runs without API keys or environment variables.
Is Nix Agent hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Nix Agent in Claude Desktop, Claude Code or Cursor?
Open Nix Agent on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Nix Agent with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
