Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334#!/usr/bin/env bash# vibe code, yo
MCP_DEBUG=${MCP_DEBUG:-0}
setup() {d="$HOME/.cache/mcp-manager"
export UV_PYTHON_PREFERENCE=only-systemif [[ ! -d "$d" ]]; then nix shell nixpkgs#uv nixpkgs#python3 -c uv venv -p "$(which python3)" "$d"fi
export UV_PYTHON_PREFERENCE=only-systemsource "$d/bin/activate"
export UV_PYTHON_PREFERENCE=only-systemgit clone "https://github.com/lutzleonhardt/mcpm-aider.git" "$d/mcpm-aider"cd "$d/mcpm-aider" || exit 1git submodule initgit submodule update
export UV_PYTHON_PREFERENCE=only-systemnix shell nixpkgs#uv nixpkgs#python3 nixpkgs#pnpm nixpkgs#nodejs -c pnpm i}
if [[ $MCP_DEBUG == 0 ]]; then setup &>/dev/nullelse setupfi
nix shell nixpkgs#uv nixpkgs#python3 nixpkgs#pnpm nixpkgs#nodejs -c pnpm start "$@"