MCP ExplorerExplorer

Minimal Mcp In Nix

@mccartykimon 10 months ago
1 MIT
FreeCommunity
AI Systems
Creating a barebones MCP server around python (plus uv), encapsulated in a nix flake

Overview

What is Minimal Mcp In Nix

minimal-mcp-in-nix is a minimalistic MCP server built using Python and uv, encapsulated within a Nix flake. It serves as a demonstration of creating a basic server environment with Nix.

Use cases

Use cases include educational demonstrations, rapid prototyping of Python applications, and testing server configurations in a controlled environment.

How to use

To use minimal-mcp-in-nix, you can add it to your Claude configuration by specifying the command and arguments to run the server using Nix. The command is ‘nix run github:mccartykim/minimal-mcp-in-nix’.

Key features

Key features include a simple demo server that provides a stub location for presentations and a tool to retrieve the current time.

Where to use

minimal-mcp-in-nix can be used in development environments where quick server setups are needed, particularly for Python applications and demonstrations.

Content

MCP server in Python

also nixified in uv

This project is derived from the template at

nix flake init --template "github:nulladmin1/nix-flake-templates#uv"

And I am very thankful he figured out making python happy with nix.

To add to your Claude config:

"minimal-mcp-in-nix": {
  "command": "nix",
  "args": [
    "run",
    "github:mccartykim/minimal-mcp-in-nix",
  ]
}

This is a very simple MPC demo that offers a stub location that just says where I’m presenting my demo for the time being, plus a tool to get the current time.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers