install-x
by DuinoDu
Overview
Automates library installation across multiple programming languages (Python, JavaScript, Rust, C, C++) for AI assistants, supporting complex dependencies like CUDA and ML frameworks.
Installation
npx @wong2/mcp-cli python3 src/install_x/mcp_server.pyEnvironment Variables
- INSTALL_X_CACHE
- FORCE_CUDA_VERSION
- FORCE_INSTALL_TORCH
- HF_TOKEN
- QNN_SDK_ROOT
- BL_HOME
- CC
- CXX
Security Notes
The server executes dynamically named shell scripts (e.g., `library_name.sh`) based on user input for `install(library_name)`. While the `is_supported` check attempts to validate `library_name`, the execution of arbitrary shell scripts in `src/install_x/install/` remains a significant risk if the naming convention is exploited or if a malicious package is registered on PyPI/npm/crates.io with a name matching a local trusted script. Many installation scripts utilize `sudo apt install` and `wget` without explicit content hash verification, `git clone` from external repositories, and `pip install` from direct GitHub links, leading to high exposure to supply chain attacks and privilege escalation if external sources are compromised. The implementation of `_install_python_package` incorrectly attempts to execute a shell script for *any* detected Python package, even simple PyPI libraries like 'numpy' that do not have corresponding `.sh` scripts, which is a functional bug, but also slightly mitigates arbitrary script execution for non-existent `.sh` files.
Similar Servers
package-registry-mcp
Enables AI assistants and agents to search various package registries (NPM, Cargo, NuGet, PyPI, Go) and retrieve up-to-date package information.
athena-protocol
An intelligent MCP server that acts as an AI tech lead for coding agents, providing expert validation, impact analysis, and strategic guidance before code changes are made.
Hatch
Hatch is a package manager for Model Context Protocol (MCP) servers, providing environment isolation, multi-type dependency resolution (system, Python, Docker, other Hatch packages), and multi-host deployment to various AI tools and IDEs.
ultrascript-tools-mcp
An expert developer tool for comprehensive code analysis, semantic search, refactoring, code modification, and automated documentation. It leverages AI and specialized runtime environments (Node.js/Bun) for high performance, featuring deep Git integration for branch-aware indexing and merge conflict resolution across multiple programming languages.