mcp-nixos

MCP-NixOS - Model Context Protocol Server for NixOS resources

GitHub Stars

270

User Rating

Not Rated

Favorites

0

Views

33

Forks

14

Issues

7

Installation
Difficulty
Intermediate
Estimated Time
10-20 minutes

Installation

Installation

Prerequisites

Python: 3.6 or higher
uvx or Nix must be installed

Installation Steps

1. Using uvx

json
{
  "mcpServers": {
    "nixos": {
      "command": "uvx",
      "args": ["mcp-nixos"]
    }
  }
}

2. Using Nix

json
{
  "mcpServers": {
    "nixos": {
      "command": "nix",
      "args": ["run", "github:utensils/mcp-nixos", "--"]
    }
  }
}

Troubleshooting

Issue: Server won't start Solution: Ensure that uvx or Nix is installed correctly.