MoodlIA Moodle Plugin

Gives trusted AI tools controlled access to Moodle actions and content.

Moodle local pluginOpen-source project

An educator planning a course with lesson notes and a laptop in a bright learning space
AI that supports the way you already teach

Here for one clear job.

The server-side foundation for controlled Moodle automation. It exposes explicit operations through REST and a Moodle-hosted MCP endpoint while keeping Moodle permissions and records authoritative.

Report or follow an issue

01

What it helps with

  • REST services and a Moodle-hosted MCP endpoint
  • Operations for courses, activities, question banks, enrolments, files, audits, and backups
  • Permission-aware workflows that do not bypass Moodle

02

A good fit for

  • Teams connecting AI assistants directly to Moodle
  • Administrators automating repeated course-building work
  • Developers building controlled Moodle workflows

03

What you need

  • A Moodle site where a local plugin can be installed
  • An authorised Moodle service user and token
  • Only the permissions required by the intended workflow

How installation and use work.

This is the foundation installed by a Moodle administrator. Teachers normally use it through another MoodlIA tool.

Set it up once

  1. Ask the person who manages your Moodle site to install this plugin once for the site.
  2. Ask them to create a separate, limited MoodlIA service account and token for the work you need.
  3. Keep the Moodle address and token private; do not share an administrator password.

Try one small thing

  1. Start with a small task in a copied or test course.
  2. Use it through a companion tool such as MoodlIA CLI or an approved AI assistant.
  3. Review each proposed Moodle change before confirming it.
Get help to start this tool

CONCRETE STEPS

Install MoodlIA in Moodle

This setup is completed once by a Moodle administrator. Afterwards, teachers and approved tools use their own Moodle permissions.
  1. Download the plugin

    Open the plugin project and download its ZIP file. Extract it so the folder is named moodlia.

    Download the MoodlIA plugin
  2. Put it in Moodle

    Copy that folder to local/moodlia inside the Moodle installation, then run Moodle's upgrade.

    php admin/cli/upgrade.php --non-interactive
    php admin/cli/purge_caches.php
  3. Create a limited service token

    In Site administration, enable web services, create the MoodlIA service, and give a dedicated service user only the capabilities needed. Create a token for that user; never use an administrator password.

  4. Configure an MCP client

    Use the same Moodle REST token as a Bearer token. Modern stateless MCP clients and legacy lifecycle clients can use this one endpoint.

    URL: https://YOUR-MOODLE.example/local/moodlia/mcp.php
    Authorization: Bearer YOUR_MOODLE_REST_TOKEN

Want help with MoodlIA Moodle Plugin?

Tell us what you are trying to achieve. We can help you choose, start, configure, or troubleshoot the right MoodlIA project.

Write to contact@moodlia.com