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

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 issue01
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
- Ask the person who manages your Moodle site to install this plugin once for the site.
- Ask them to create a separate, limited MoodlIA service account and token for the work you need.
- Keep the Moodle address and token private; do not share an administrator password.
Try one small thing
- Start with a small task in a copied or test course.
- Use it through a companion tool such as MoodlIA CLI or an approved AI assistant.
- Review each proposed Moodle change before confirming it.
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.Download the plugin
Open the plugin project and download its ZIP file. Extract it so the folder is named moodlia.
Download the MoodlIA pluginPut 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.phpCreate 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.
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