N
Nix MCP
Gemini CLI extension for Nix flake management and Dendritic pattern scaffolding
创建于 1/29/2026
更新于 27 days ago
README
Repository documentation and setup instructions
Nix MCP Extension
A Gemini CLI extension for managing Nix flakes and scaffolding projects.
Prerequisites
Installation
- Clone this repository.
- Link the extension to Gemini CLI:
gemini extensions link . - Restart Gemini CLI.
Tools
| Tool | Description |
| :--- | :--- |
| nix_flake_init | Initialize a new flake in a directory. |
| nix_flake_check | Run nix flake check to verify validity. |
| nix_flake_update | Update flake inputs. |
| nix_scaffold_dendritic | Scaffold a project using the Dendritic (flake-parts) pattern. |
Development
This extension is built with Python using fastmcp.
Run the server locally for testing:
uv run nix-mcp
快速设置
此服务器的安装指南
安装包 (如果需要)
uvx nix-mcp
Cursor 配置 (mcp.json)
{
"mcpServers": {
"andre-amorim-nix-mcp": {
"command": "uvx",
"args": [
"nix-mcp"
]
}
}
}