nix mcp for Claude Desktop
io.github.mrfentmen/nix-mcp
Nix MCP: 20 real tools to read, check, lint, scaffold, build and run Nix code.
client:Claude Desktop
transport:stdio
runtime:npm
Install nix mcp in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"nix-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/nix-mcp"
]
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs