/ 디렉터리 / 플레이그라운드 / mcp-nixos
● 커뮤니티 utensils ⚡ 바로 사용

mcp-nixos

제작: utensils · utensils/mcp-nixos

Look up any NixOS package, module option, or Home Manager setting from chat — 130k packages + 23k options, no setup.

mcp-nixos queries NixOS packages, system options, Home Manager, nix-darwin, Nixvim, and related registries through two tools. No auth, no local Nix install required — it proxies to public search APIs. Ideal for answering 'is there a package for X?' and 'what's the option for Y?' without hunting through docs.

왜 쓰나요

핵심 기능

라이브 데모

실제 사용 모습

nixos.replay ▶ 준비됨
0/0

설치

클라이언트 선택

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "nixos": {
      "command": "uvx",
      "args": [
        "mcp-nixos"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config 열기. 저장 후 앱 재시작.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "nixos": {
      "command": "uvx",
      "args": [
        "mcp-nixos"
      ],
      "_inferred": true
    }
  }
}

Cursor는 Claude Desktop과 동일한 mcpServers 스키마 사용. 프로젝트 설정이 전역보다 우선.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "nixos": {
      "command": "uvx",
      "args": [
        "mcp-nixos"
      ],
      "_inferred": true
    }
  }
}

Cline 사이드바의 MCP Servers 아이콘 클릭 후 "Edit Configuration" 선택.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "nixos": {
      "command": "uvx",
      "args": [
        "mcp-nixos"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop과 같은 형식. Windsurf 재시작 후 적용.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "nixos",
      "command": "uvx",
      "args": [
        "mcp-nixos"
      ]
    }
  ]
}

Continue는 맵이 아닌 서버 오브젝트 배열 사용.

~/.config/zed/settings.json
{
  "context_servers": {
    "nixos": {
      "command": {
        "path": "uvx",
        "args": [
          "mcp-nixos"
        ]
      }
    }
  }
}

context_servers에 추가. 저장 시 Zed가 핫 리로드.

claude mcp add nixos -- uvx mcp-nixos

한 줄 명령. claude mcp list로 확인, claude mcp remove로 제거.

사용 사례

실전 활용법: mcp-nixos

Find a NixOS package by fuzzy name or purpose

👤 NixOS users, flake authors ⏱ ~5 min beginner

언제 쓸까: You remember roughly what the package does but not its nix attribute name.

흐름
  1. Search
    Find NixOS packages matching 'ocr command line tool'.✓ 복사됨
    → Ranked list of candidates with descriptions
  2. Get details on the best fit
    For tesseract, show me the attribute path, version in unstable vs 24.11, and which meta.platforms are supported.✓ 복사됨
    → Detail card with attr, versions, platforms

결과: The exact attribute to drop into your configuration.nix or flake.

함정
  • Channel mismatch — package only exists in unstable, not your stable channel — Ask explicitly about the channel you're on
함께 쓰기: filesystem

Look up a NixOS module option with its type and default

👤 People writing NixOS modules ⏱ ~5 min beginner

언제 쓸까: You know there's an option 'somewhere' for enabling zswap and you don't want to grep nixpkgs.

흐름
  1. Query options
    Is there a NixOS option for enabling zswap? Show its type, default, and description.✓ 복사됨
    → Full option card
  2. Get an example
    Give me a minimal configuration.nix snippet that enables zswap with z3fold and 20% memory.✓ 복사됨
    → Copy-paste Nix snippet

결과: A correct option usage ready to paste in.

Pin nixpkgs to an old version of a package

👤 Users needing a specific older version ⏱ ~10 min intermediate

언제 쓸까: A newer version broke something and you want the last known-good commit.

흐름
  1. Find historical versions
    Show me past versions of nodejs_20 in nixpkgs with commit hashes.✓ 복사됨
    → Version→commit table
  2. Generate a flake input
    Generate the flake input pinning nodejs_20 20.15.0 from that commit.✓ 복사됨
    → Ready-to-paste flake.nix snippet

결과: A reproducibly pinned input for rollback.

함께 쓰기: filesystem

Discover Home Manager options for a program

👤 Anyone using Home Manager ⏱ ~10 min beginner

언제 쓸까: You want to manage a program declaratively but aren't sure what options exist.

흐름
  1. List program options
    List every Home Manager option under programs.neovim.✓ 복사됨
    → Categorized option list
  2. Build a minimal block
    Give me a minimal programs.neovim block enabling Telescope and LSP for TS/Python.✓ 복사됨
    → Working HM snippet

결과: A working Home Manager config without reading the full manual.

조합

다른 MCP와 조합해 10배 효율

nixos + filesystem

Find the option and write it into your config file

Find the NixOS option to enable flatpak, then add it to ~/nixos/configuration.nix with a comment.✓ 복사됨
nixos + github

Raise an issue when a package is missing

Is package foo-cli in nixpkgs? If not, open a github issue on our fork requesting it.✓ 복사됨

도구

이 MCP가 노출하는 것

도구입력언제 호출비용
nix action: search|info|stats|options|channels|flake-inputs|cache, args: ... Any query over packages, options, channels 1 upstream API call
nix_versions package: str Need an older version / nixpkgs pin 1 upstream call

비용 및 제한

운영 비용

API 쿼터
Public APIs; generous limits but not infinite — don't hammer
호출당 토큰
Options with descriptions: 500-2000 tokens. Lists can be larger.
금액
Free
Prefer info on one package over search returning 50.

보안

권한, 시크릿, 파급범위

자격 증명 저장: None
데이터 외부 송신: Calls to search.nixos.org and related public APIs

문제 해결

자주 발생하는 오류와 해결

uvx not found

Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh, then re-add the MCP.

확인: uvx --version
No results for a package I know exists

Spelling varies in attribute names — try a looser query or search by description.

확인: Retry with partial keyword
Stale version info

The MCP caches briefly; re-query in 5 minutes or pass action=cache to refresh.

대안

mcp-nixos 다른 것과 비교

대안언제 쓰나단점/장점
search.nixos.org directlyYou're fine with a browser tabNo AI in the loop
nix-search CLIYou want local fast search and have Nix installedNeeds local Nix + an up-to-date channel

더 보기

리소스

📖 GitHub에서 공식 README 읽기

🐙 열린 이슈 보기

🔍 400+ MCP 서버 및 Skills 전체 보기