MCP Dependencies Installer logo

MCP Dependencies Installer

by Xeonice

A cross-platform dependency installation script for Node.js, npx, and uv. It simplifies the process of setting up these essential tools on various operating systems.

View on GitHub

Last updated: N/A

What is MCP Dependencies Installer?

MCP Dependencies Installer is a script designed to automate the installation of Node.js, npx, and uv on Linux, macOS, and Windows operating systems. It streamlines the setup process, ensuring that all necessary dependencies are correctly installed and configured.

How to use MCP Dependencies Installer?

To use the installer, download the installation script using curl, make it executable with chmod +x install_dependencies.sh, and then run it using ./install_dependencies.sh. Follow the on-screen prompts and ensure you have the necessary prerequisites installed, such as curl and sudo on Linux, Homebrew on macOS, and Windows Package Manager on Windows.

Key features of MCP Dependencies Installer

  • Cross-platform compatibility (Linux, macOS, Windows)

  • Automated installation of Node.js, npx, and uv

  • Supports multiple Linux distributions (Ubuntu, AlmaLinux/CentOS, Alpine)

  • Automatic Homebrew installation on macOS (if not present)

  • Simplified setup process

  • Test script for verifying installation

Use cases of MCP Dependencies Installer

  • Setting up a new development environment

  • Quickly installing Node.js and related tools on multiple machines

  • Ensuring consistent dependency versions across different platforms

  • Automating the setup process for CI/CD pipelines

  • Simplifying the installation process for new developers

FAQ from MCP Dependencies Installer

What operating systems are supported?

The script supports Linux (Ubuntu, AlmaLinux/CentOS, Alpine), macOS, and Windows.

What dependencies are installed?

The script installs Node.js (v22.x LTS), npx (v10.x), and uv (v0.6.x).

Do I need sudo privileges on Linux?

Yes, the script requires sudo privileges on Linux systems.

What if I don't have Homebrew on macOS?

The script will automatically install Homebrew if it's not already present.

What if the PATH changes don't take effect?

After installation, you may need to restart your terminal for PATH changes to take effect.