Provides npx with Node.js in PATH for MCP server execution. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
6 lines
141 B
Nix
6 lines
141 B
Nix
{ pkgs }:
|
|
|
|
pkgs.writeShellScriptBin "mcp-npx" ''
|
|
# Wrapper that provides npx with Node.js in PATH
|
|
exec ${pkgs.nodejs_22}/bin/npx "$@"
|
|
''
|