mcp-servers-nix logo

mcp-servers-nix

by natsukium

A Nix-based configuration framework for Model Control Protocol (MCP) servers with ready-to-use packages. It offers a modular approach to configuring various MCP servers with a consistent interface.

View on GitHub

Last updated: N/A

What is mcp-servers-nix?

mcp-servers-nix provides both MCP server packages and a Nix framework for configuring and deploying them. It enables a modular approach to managing various MCP servers with a consistent interface, leveraging Nix for reproducible builds.

How to use mcp-servers-nix?

The repository provides instructions for quick usage without installation using nix-shell or flakes, direct package installation, and using overlays to add packages to your pkgs. It also details module usage with classic approaches, npins, and flakes, including example configuration files and build commands.

Key features of mcp-servers-nix

  • Modular Configuration

  • Reproducible Builds

  • Pre-configured Modules

  • Security-focused

Use cases of mcp-servers-nix

  • Deploying and managing MCP servers

  • Creating reproducible server setups

  • Integrating MCP servers into NixOS configurations

  • Automating server configuration with Nix

FAQ from mcp-servers-nix

How do I install MCP server packages?

You can install them directly using nix-env or nix profile, or use overlays to add them to your pkgs.

How can I use modules without flakes?

You can use the classic approach by importing the repository and using mkConfig.

What is npins and how can I use it?

npins is a dependency pinning tool that allows you to guarantee reproducible builds without using flakes. You can initialize it in your project and add mcp-servers-nix as a dependency.

How do I add custom MCP servers?

You can add your own custom MCP servers by configuring them directly in the settings.servers section.

How can I contribute new MCP servers to mcp-servers-nix?

You can extend mcp-servers-nix with new MCP servers by adding both package definitions and module configurations, following the provided structure and examples.