pipx · npm · script · pip
Install
Install upb-moodle and you get two results: the Python package upb-moodle and the upb-moodle and upb-moodle-mcp commands in PATH. Choose pipx (recommended) or npm; the result is the same.
What you need
| Component | Windows | Linux | macOS |
|---|---|---|---|
| Python | 3.10+ (testat cu 3.13) | 3.10+ (testat cu 3.12, Ubuntu 24.04) | 3.10+ (untested) |
| git | yes | yes | yes |
| Node.js and npm | 18+, only for the npm variant | 18+, only for the npm variant | 18+, only for the npm variant |
| Browser for login | Edge or Chrome (detected automatically) | Chromium, installed with the command login prints | Chromium (untested) |
| CLIs to configure | claude, codex, opencode, agy | claude, codex, opencode, agy | claude, codex, opencode, agy |
Option 1: pipx
Install pipx once
pipx puts Python applications in isolated environments and adds them to PATH.
python -m pip install --user pipx python -m pipx ensurepathInstall upb-moodle from GitHub
The next command brings the Python package and both commands.
pipx install git+https://github.com/FiredMosquito831/upb-moodle-mcp.gitSign in and configure the clients
Login opens the browser once.
installwrites each found CLI's configuration.upb-moodle login upb-moodle install upb-moodle doctor
Option 2: npm
The npm package upb-moodle-mcp is a launcher. The code is in the Python package, which the postinstall script installs through pipx. You need Node.js 18+ and Python 3.10+.
The first install takes a few minutes, and npm does not show the script's messages until the end. For progress, use --foreground-scripts.
npm install -g upb-moodle-mcp
upb-moodle login
upb-moodle install
upb-moodle doctor
# aceleasi comenzi fara instalare globala
npx -y upb-moodle-mcp auth-statusnpx runs the CLI without a global install.Options 3-5
The script in the repo does everything from a clone: installs the package, installs Chromium on Linux and macOS, signs you in, configures the CLIs and runs doctor. On Windows: powershell -ExecutionPolicy Bypass -File scripts\bootstrap.ps1. On Linux and macOS: bash scripts/bootstrap.sh.
From a clone, step by step, for development: python -m pip install -e ., then upb-moodle login, upb-moodle install, upb-moodle doctor. With pip directly, in the global Python or a venv: python -m pip install git+https://github.com/FiredMosquito831/upb-moodle-mcp.git.
One folder only
By default the install is global: the server is available in any folder. For a single project, run upb-moodle install claude codex opencode --scope project from that folder. Antigravity stays global. Changing the scope cleans the other scope, so two servers with the same name do not coexist.
Update and uninstall
pipx upgrade does not bring new code from GitHub. Use pipx install --force git+https://github.com/FiredMosquito831/upb-moodle-mcp.git, then upb-moodle update. Restart Claude Code after an update.
Uninstalling has several steps, because the plugin and the package are installed separately: upb-moodle uninstall, upb-moodle logout --forget-browser, then npm uninstall -g upb-moodle-mcp (if you used npm) and pipx uninstall upb-moodle (if you used pipx).