ClaudeCodeMod

All shelves / MCP servers

mcp-servers-nix

natsukium/mcp-servers-nix · 308 stars · Nix · Apache-2.0

MCP server A Nix-based configuration framework for Model Control Protocol (MCP) servers with ready-to-use packages.

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

README.md

mcp-servers-nix

A Nix-based configuration framework for Model Control Protocol (MCP) servers with ready-to-use packages.

Overview

This repository provides both MCP server packages and a Nix framework for configuring and deploying MCP servers. It offers a modular approach to configuring various MCP servers with a consistent interface.

Features

  • Modular Configuration: Define and combine multiple MCP server configurations
  • Reproducible Builds: Leverage Nix for reproducible and declarative server setups
  • Pre-configured Modules: Ready-to-use configurations for popular MCP server types
  • Security-focused: Better handling credentials and sensitive information through envFile and passwordCommand, with pinned server versions
  • Framework Support: Integrates with Flakes, flake-parts, devenv, and Home Manager

Quick Start

Run an MCP server directly:

nix run github:natsukium/mcp-servers-nix#mcp-server-fetch

Generate a configuration file with mkConfig:

# config.nix
let
  pkgs = import <nixpkgs> { };
  mcp-servers-nix = import (fetchTarball
    "https://github.com/natsukium/mcp-servers-nix/archive/main.tar.gz") { inherit pkgs; };
in
mcp-servers-nix.lib.mkConfig pkgs {
  programs.filesystem = {
    enable = true;
    args = [ "/path/to/allowed/directory" ];
  };
}
nix-build config.nix && cat result
{
  "mcpServers": {
    "filesystem": {
      "command": "/nix/store/7b4ancp3cns9lkkybd090qzr0hah5qq0-mcp-server-filesystem-2025.12.18/bin/mcp-server-filesystem",
      "args": [ "/path/to/allowed/directory" ]
    }
  }
}

The output format adapts to the flavor option — see Supported Flavors below.

Supported Flavors

Flavor Key Typical File Client
claude mcpServers claude_desktop_config.json Claude Desktop
claude-code mcpServers .mcp.json Claude Code
vscode mcp.servers settings.json VS Code
vscode-workspace servers .vscode/mcp.json VS Code (workspace)
codex mcp_servers .mcp.toml Codex CLI
opencode mcp opencode.json OpenCode
zed context_servers (varies) Zed

Available Modules

Examples

Check the examples directory for complete configuration examples:

Real World Examples

Check out GitHub search results for examples of how others are using mcp-servers-nix in their projects.

Documentation

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Facts

Kind
MCP server
Repo
natsukium/mcp-servers-nix
Group
Uncategorized
Stars
308
License
Apache-2.0
Language
Nix
Last push
2026-10-11
Forks
36
Topics
nix, mcp

More on this shelf

  1. 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
  2. 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
  3. 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
  4. 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
  5. 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
  6. 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k