MCP Servers Nix

by natsukium

272 stars
270 downloads
Not rated
GitHub

About

A Nix-based configuration framework for deploying MCP servers with ready-to-use packages, supporting modular and reproducible builds.

Details

Author
natsukium
GitHub stars
272
Downloads
270
Categories
Developer Tools, Infrastructure, Other

- Modular configuration with consistent interface
- Reproducible builds via Nix
- Pre-configured modules for popular MCP server types
- Security-focused credential handling through envFile and passwordCommand
- Integration with Flakes, flake-parts, devenv, and Home Manager

You can run an MCP server directly with nix run github:natsukium/mcp-servers-nix#mcp-server-fetch or generate a configuration file using the mkConfig function within a Nix expression. The output format adapts to a chosen flavor (e.g., claude, vscode, codex). Examples for Claude Desktop, VS Code, Codex CLI, and others are provided in the examples directory.

A Nix-based configuration framework for deploying MCP servers with ready-to-use packages, supporting modular and reproducible builds.

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

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.

- 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 throughenvFileandpasswordCommand, with pinned server versions
- Framework Support: Integrates withFlakes,flake-parts,devenv, andHome Manager

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

Generate a configuration file withmkConfig:

# 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 theflavoroption — seeSupported Flavorsbelow.

- clickup
-
codex
-
context7
-
deepl
-
esa
-
everything
-
fetch
-
filesystem
-
freee
-
git
-
github
-
grafana
-
home-assistant
-
mastra
-
memory
-
netdata
-
nixos
-
notion
-
playwright
-
sequential-thinking
-
serena
-
slite
-
tavily
-
terraform
-
textlint
-
time

Check theexamplesdirectory for complete configuration examples:

- claude-desktop.nix: Basic configuration for Claude Desktop
-
vscode.nix: VS Code integration setup
-
librechat.nix: Configuration for LibreChat integration
-
codex.nix: Codex CLI integration with MCP servers
-
opencode.nix: OpenCode CLI integration with MCP servers
-
vscode-workspace: VS Code workspace configuration example
-
flake-parts-module: Flake-parts module integration with multi-flavor support
-
devenv: devenv integration usingclaude.code.mcpServers
-
home-manager: Home Manager integration withprograms.mcp.servers

Check outGitHub search resultsfor examples of how others are using mcp-servers-nix in their projects.

- Module Usage Guide— How to configure MCP servers with Nix (classic, npins, flakes, flake-parts)
-
Configuration Reference— Security, credential handling, and flake-parts options
-
Module Options Reference— Auto-generated list of all module options
-
Packages Guide— Using standalone MCP server packages
-
Contributing Guide— Adding new packages and modules

This project is licensed under the Apache License 2.0 - see theLICENSE filefor details.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

The Railway MCP Server enables natural language interaction with your Railway projects and infrastructure. Ask your IDE or AI assistant to create projects, deploy templates, manage environments, pull variables, redeploy services, and more.

The Shipyard CLI provides an MCP server for agents to manage Shipyard environments directly: by pulling logs, comparing branches, running tests, and stopping/starting environments..

Paid remote MCP for Skybridge, structured receipts, usage logs, and audit-ready JSON evidence.

All Azure MCP tools in a single server. The Azure MCP Server implements the MCP specification to create a seamless connection between AI agents and Azure services. Azure MCP Server can be used alone or with the GitHub Copilot for Azure extension in VS Code.

Access and interact with Harness platform data, including pipelines, repositories, logs, and artifact registries.

An SSE-based MCP server that allows LLM-powered applications to interact with OCI registries. It provides tools for retrieving information about container images, listing tags, and more.

The Octopus MCP Server provides your AI assistant with powerful tools that allow it to inspect, query, and diagnose problems within your Octopus instance, transforming it into your ultimate DevOps wingmate.

Secure virtual machines for agents hosted by Superserve

HashiCorp Terraform MCP server for Infrastructure as Code workflows, including provider and module discovery through the Terraform Registry.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.