trackmcp
Back to directory
mccartykim

minimal-mcp-in-nix

View on GitHub

Creating a barebones MCP server around python (plus uv), encapsulated in a nix flake

3 stars NixServers & Infrastructure Updated Aug 24, 2025

Documentation

MCP server in Python

also nixified in uv

This project is derived from the template at

shell
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:

code
"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.

Frequently asked questions

What is minimal-mcp-in-nix?

minimal-mcp-in-nix is Creating a barebones MCP server around python (plus uv), encapsulated in a nix flake

How do I install minimal-mcp-in-nix?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is minimal-mcp-in-nix open source?

Yes — it is hosted on GitHub at https://github.com/mccartykim/minimal-mcp-in-nix and has 3 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP