MCP server in Python

by mccartykim

3 stars
220 downloads
Not rated
GitHub

About

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

Details

Author
mccartykim
GitHub stars
3
Downloads
220
Categories
Other

- Stub location tool for demo presentations.
- Tool to get the current time.
- Nixified Python project using uv.
- Minimal demonstration of MCP server capabilities.

Add the following entry to your Claude Desktop configuration file:

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

No manual installation or virtual environment setup is required—Nix handles everything.

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.

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.