N

Nix

Query the Nix package set and evaluate expressions.

·No reviews yet
Repo
Share:

About

Auto-generated

Nix is a Model Context Protocol server in the Developer Tools category. It lets AI assistants that speak MCP call its tools and read its resources over STDIO.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP

Screenshots

No screenshots yet.

Frequently Asked Questions

Common questions about Nix.

What is the Nix MCP and what does it do?
The Nix MCP allows users to query the Nix package set and evaluate Nix expressions. It provides a programmatic interface for interacting with the Nix ecosystem to manage software packages.
How can I install the Nix MCP in a client like Cline?
Installation in a client like Cline typically involves adding the MCP's slug ('nix') to your client's configuration or using a client-specific command to fetch and enable community MCPs. Refer to your MCP client's documentation for exact steps.
Does the Nix MCP require any API keys or authentication?
No, the Nix MCP uses the 'none' authentication type, signifying that it does not require API keys, OAuth, or other credentials for its operation. It connects directly via standard I/O (stdio).
What specific capabilities does the Nix MCP expose?
The Nix MCP's primary capabilities are querying the extensive Nix package set and evaluating Nix expressions. This enables users to programmatically interact with Nix for package management and system configuration tasks.
Is there a cost associated with using the Nix MCP or its underlying services?
The Nix MCP itself is provided by the Community and is open-source, implying no direct cost for its use. The underlying Nix package manager and its ecosystem are also open-source and free to use.
Are there any known limitations or prerequisites for using the Nix MCP?
A prerequisite for effective use is a working Nix installation on the system where the MCP client is running, as the MCP interacts with the local Nix environment. Performance may depend on your local Nix setup and network access to Nix channels.

Install Nix

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "nix": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nix"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "nix": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nix"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "nix": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nix"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.