Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Prebuilt Binaries

No Rust toolchain needed — grab the archive for your platform from the latest release:

PlatformArchive
Linux x86_64moodle-mcp-<version>-x86_64-unknown-linux-gnu.tar.gz
Linux arm64moodle-mcp-<version>-aarch64-unknown-linux-gnu.tar.gz
macOS Apple Siliconmoodle-mcp-<version>-aarch64-apple-darwin.tar.gz
macOS Intelmoodle-mcp-<version>-x86_64-apple-darwin.tar.gz
Windows x64moodle-mcp-<version>-x86_64-pc-windows-msvc.zip
tar xzf moodle-mcp-*-aarch64-apple-darwin.tar.gz
sudo mv moodle-mcp-*/moodle-mcp /usr/local/bin/   # or anywhere on PATH
# Windows (PowerShell): unpack, then add the folder to your PATH
Expand-Archive moodle-mcp-<version>-x86_64-pc-windows-msvc.zip

Each archive is around 9 MB and unpacks to a single self-contained binary (about 22 MB) plus the README and license — there are no runtime dependencies.

Tip: If macOS refuses to run a downloaded binary (“cannot be verified”), clear the quarantine flag once: xattr -d com.apple.quarantine /usr/local/bin/moodle-mcp.

One-Click Bundles (.mcpb)

Every release also ships one .mcpb bundle per platform — the MCP bundle format for one-click installs. Clients that understand it (Claude Desktop, Claude Code) install the binary without a toolchain and prompt for MOODLE_URL and MOODLE_TOKEN during setup, so the token from moodle-mcp auth is all you need.

Grab moodle-mcp-<version>-<platform>.mcpb from the releases page and open it with your client. If you install before running moodle-mcp auth, leave the token field empty and fill it in the client’s server settings afterwards.

Cargo

cargo install moodle-mcp   # needs Rust 1.88+

From Source

git clone https://github.com/G36maid/moodle-mcp
cd moodle-mcp
cargo build --release
# binary: target/release/moodle-mcp

Verify the Install

moodle-mcp with no arguments starts the MCP stdio server — it blocks waiting for a client, which is expected. Use the CLI surface to confirm the binary is on your PATH instead:

moodle-mcp --help          # version, subcommands (serve · auth · init · 22 tools)
moodle-mcp auth status     # credential state once you've logged in

When the server starts it logs starting moodle-mcp v… for … to stderr (logs go to stderr; stdout is reserved for the MCP protocol stream).

The CLI and the Agent Skill

The same binary doubles as a command-line client — moodle-mcp get-schedule --days 14, moodle-mcp fetch-file <url>, … — for shell-driven agents, cron jobs, and pipes; output is JSON. Agents that read skills discover it via:

moodle-mcp init   # installs SKILL.md into ~/.claude/skills, ~/.agents/skills

See Configuration for the credential model.

Next Steps

Continue with Getting Started to get a token and connect your client. Release notes live on the Changelog page.