# Moodle MCP for AI Agents AI Agent Connect

> Moodle lets you manage your entire e-learning platform through a chat interface. This Connector connects your Moodle instance to your AI client so you can handle course creation, student enrollment, and grade tracking without clicking through endless admin menus. It is built for anyone who needs to manage large-scale educational data without the usual manual overhead of a complex LMS dashboard.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_JzJs9unxuDPDphGtMx1BIzfYXyEU2rSxsTy6idR7/ai-agent-connect
- **Tags:** e-learning, course-management, student-tracking, lms, academic-administration, grade-management

## Description

Managing a learning management system usually feels like a full-time job of jumping between tabs and filling out repetitive forms. You have to hunt for specific student records, manually enroll dozens of people into the right categories, and constantly check where everyone stands with their assignments. This Connector changes that by letting you talk to your platform instead of navigating its menus. You can just tell your agent to find a student, check their progress, or set up a new course section, and it handles the heavy lifting. Because Vinkius hosts this connector, you can get your Moodle instance connected to any compatible client in minutes. Instead of copy-pasting data between your spreadsheet and your dashboard, you just ask your agent to do it for you. It turns your LMS into a conversational workspace where you spend less time on data entry and more time actually teaching or designing content. You can move from one task to the next without the friction of complex navigation. Whether you need to audit your file structure or update a batch of student enrollments, the information you need is always just one request away. It makes the technical side of education management feel like a conversation rather than a chore.

## Tools

### create_users
Register new learners by providing their name, email, and login details. This handles bulk registrations.

### enrol_users
Add a specific student into a course with the correct role. This removes the need for manual enrollment clicks.

### get_course_contents
View the specific modules and sections inside a course. Use this to see how your content is organized.

### get_enrolled_users
See a list of everyone currently signed up for a specific course. This helps with quick headcounts.

### get_user_grades
Pull specific grades for a student within a particular course. Use this to check individual progress.

### list_assignments
See all current assignments assigned to specific courses. This helps you track what students owe.

### create_courses
Build a new course by providing a name, shortname, and category ID. This automates the setup process.

### list_categories
View the different organizational categories of your courses. Use this to structure your curriculum.

### list_courses
See a full list of every course available on your site. This provides a quick overview of your catalog.

### list_files
Find files that are attached to specific course modules or areas. Use this to audit your materials.

### list_users
Search for learners by username or email to find specific profiles. This saves you from hunting through lists.

### get_site_info
Get basic metadata about your Moodle instance. This helps you confirm your connection is active.

## Prompt Examples

**Prompt:** 
```
Who is enrolled in the Intro to Python course?
```

**Response:** 
```
### Enrolled Students: Intro to Python

| Student Name | Role |
| :--- | :--- |
| Alex Rivera | Student |
| Sam Chen | Student |
| Jordan Smith | Student |

**Total Enrolled:** 3
```

**Prompt:** 
```
What's the grade for student 42 in the Python course?
```

**Response:** 
```
### Grades for Student #42
**Course:** Intro to Python

*   **Quiz 1:** 85/100
*   **Assignment 1:** 92/100
*   **Midterm Exam:** 78/100
*   **Final Project:** 95/100

**Current Average:** 87.5%
**Status:** Passing
```

**Prompt:** 
```
Create a new course called 'Data Science' in category 2.
```

**Response:** 
```
✅ **Course Created Successfully**

*   **Name:** Data Science
*   **Category:** Category 2
*   **Shortname:** data_sci_2024

I have set up the course shell for you. Let me know if you want to add any modules next.
```

## Capabilities

### Create new courses
Quickly set up a new learning path with a title and category.

### Manage student profiles
Search for and create user accounts in seconds.

### Handle course enrollments
Add students to specific classes without manual entry.

### Retrieve student grades
Pull up results for specific learners instantly.

### Browse course content
See what is inside your modules and sections.

### Manage course files
Access and list files attached to your learning materials.

## Use Cases

### Bulk enrolling a new cohort
An admin asks the agent to find all students in a list and use enrol_users to put them into the fall semester course.

### Checking student progress
A teacher asks for the grades of a specific student in a Python course using get_user_grades to see if they need extra help.

### Rapid course setup
A content creator tells the agent to create a new course and use create_courses to set up the first three modules immediately.

### Auditing course content
An auditor asks the agent to list all files in a specific area using list_files to ensure all materials are up to date.

## Benefits

- Stop manual data entry by using create_users to register large groups of students at once.
- Get instant visibility into student progress by pulling results with get_user_grades.
- Organize your curriculum faster by using list_categories to structure your content.
- Reduce admin time by using enrol_users to move students into the right classes.
- Find learning materials quickly by using list_files to see what is attached to your modules.
- Keep track of your entire catalog by using list_courses to see everything you have built.

## How It Works

The bottom line is you stop clicking and start talking to your LMS.

1. Subscribe to the Moodle MCP on Vinkius.
2. Provide your Moodle Site URL and API Token in your AI client.
3. Ask your agent to perform tasks like enrolling students or listing grades.

## Frequently Asked Questions

**Can I use Moodle MCP to manage my school's LMS?**
Yes, it connects to your Moodle instance so you can manage courses, students, and grades through a chat interface.

**How do I connect my Moodle site to my AI?**
You just need to subscribe to the Connector and provide your Moodle Site URL and API Token in your AI client.

**Can this help me with bulk student enrollment?**
Yes, it can find users and enroll them into specific courses automatically, saving you from manual data entry.

**Can I see student grades using the Moodle MCP?**
Yes, you can pull specific grades for any student in any course with a simple request to your agent.

**Does this Connector work with my existing Moodle setup?**
It works with any standard Moodle instance that provides an API, allowing you to manage your current data.

**Can I use it to organize my courses into categories?**
Yes, it can list your existing categories and help you organize your course structure more efficiently.

**Can I create courses and enrol students?**
Yes. Create courses with full metadata, then enrol users with specific role IDs (student, teacher, manager).

**How does Moodle authentication work?**
Moodle requires your **Site URL** and an **API Token** (wstoken). The token is passed as a query parameter to the Web Service REST endpoint.

**Can I retrieve student grades?**
Yes. Retrieve grade items and results for any user within a specific course using their course and user IDs.