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

ComponentWindowsLinuxmacOS
Python3.10+ (testat cu 3.13)3.10+ (testat cu 3.12, Ubuntu 24.04)3.10+ (untested)
gityesyesyes
Node.js and npm18+, only for the npm variant18+, only for the npm variant18+, only for the npm variant
Browser for loginEdge or Chrome (detected automatically)Chromium, installed with the command login printsChromium (untested)
CLIs to configureclaude, codex, opencode, agyclaude, codex, opencode, agyclaude, codex, opencode, agy

Option 1: pipx

  1. Install pipx once

    pipx puts Python applications in isolated environments and adds them to PATH.

    python -m pip install --user pipx
    python -m pipx ensurepath
  2. Install upb-moodle from GitHub

    The next command brings the Python package and both commands.

    pipx install git+https://github.com/FiredMosquito831/upb-moodle-mcp.git
  3. Sign in and configure the clients

    Login opens the browser once. install writes 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.

terminal · npm
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-status
The npm install also puts the Python package in place, through pipx. npx 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).