mcp-servers-nix

by natsukium

基于 Nix 的 Model Control Protocol (MCP) 服务器配置框架,提供现成的包。支持模块化配置、可重现的构建以及通过 envFile 和 passwordCommand 环境变量安全管理凭据。

Developer toolsstdioCommunity

Repository-wide counts · Cached 2026-03-07

Overview

The mcp-servers-nix MCP server is a publicly available project. Review the upstream repository for installation instructions, supported tools, compatibility, permissions, and current maintenance status.

Configuration

Configuration, transport, authentication, and runtime requirements vary by project. Open the repository before connecting and use the smallest set of credentials and permissions required.

Open the mcp-servers-nix repository to read the latest documentation.

KEEP EXPLORING

Compare source, connection, and authentication details before choosing an implementation.

View the complete category

模型上下文协议服务器

modelcontextprotocol

Community

一组用于模型上下文协议(MCP)的参考实现,展示了对大型语言模型(LLM)工具和数据源的安全且受控的访问方式。

Context7 Platform - Up-to-date Code Docs For Any Prompt

upstash

Community

Context7 MCP server providing up-to-date, version-specific documentation and code examples for libraries, enabling coding agents to fetch accurate docs and code snippets. Requires an API key for higher rate limits, passed via CONTEXT7_API_KEY header.

Playwright MCP

Microsoft Corporation

Community

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. Enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

AIHawk

feder-cr

Community

AIHawk is an anti detect browser and web browsing agent, open source, with an MCP server for coding agents: undetected, no captchas, no blocks. It requires an OpenRouter API key for the standalone web UI mode, which can be provided via the --openrouter-key flag or the OPENROUTER_API_KEY environment variable or a .env file in the running directory.

FROM THE SOURCE

Repository README

Build-time snapshot · Retrieved 2026-10-05

View original

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.