Get the plugin
WP MCP/Integrations/Learning

Learning integration

LifterLMS MCP

LifterLMS keeps a course as a course post, its sections and lessons as their own post types linked by the _llms_ parent meta and a 1-based order, a quiz as an llms_quiz post attached to a lesson, and its questions as llms_question posts. WP MCP Pro reads that whole tree and its enrollments, then builds and rearranges it: create a course, add sections, lessons and quizzes (attaching a quiz to its lesson), update a node's title, content, excerpt or status, and move or reorder nodes within the same course. Every post a write creates or touches is snapshotted, one session per call, so rollback undoes all of it and a created node's undo is the trash. Enrollments are read-only here: list a course's students with their status and enrol date. LifterLMS 10.1+ also registers abilities of its own (memberships, access plans, certificates, quiz grading, enrollment writes, student progress); those are not duplicated, with the ability bridge opened they run under their own permission checks, which is why the course-tree writes a site most often undoes live are the ones kept here under the snapshot guarantee.

plugin-data-readplugin-data-write

In practice

How LifterLMS work goes with an agent.

LifterLMS courses are a tree built from separate posts. A course holds sections, a section holds lessons, and each node points to its parents and its 1-based position through underscore-llms meta. A quiz is its own post attached to one lesson, and its questions are posts of another type. Enrollment sits in a separate table with a status per student. WP MCP Pro reads that whole structure and writes the course tree, so an agent can outline a course, add lessons, attach a quiz and reorder sections, with each call snapshotted.

Show the Nutrition Fundamentals course as a tree, with quiz questions.

Runs lifterlms-list-courses to find the id, then lifterlms-get-course, which returns sections and lessons in order, each lesson's quiz and its questions with id, title, type and points. Read only.

Add a section "Macros" at the top of course 140 with two lessons under it.

Runs lifterlms-add-section at position 0, which renumbers the later sections, then lifterlms-add-lesson twice. Lessons default to published unless a status is given. Each call is one snapshot session.

Attach a quiz to the Macros lesson.

Runs lifterlms-add-quiz with the lesson as parent, which links the quiz and enables it on the lesson in the same snapshot session. A lesson holds one quiz, so a second is refused with quiz_exists.

Move the Getting started section to the top.

Runs lifterlms-move-item with position 0, which renumbers its siblings. The move is self-snapshotting, so rollback-session returns every renumbered order value.

What your AI can do

Real LifterLMS operations, every write reversible.

  • Read a course's tree of sections, lessons and quizzes
  • Read quiz questions and a course's enrollment list
  • Create a course and add sections, lessons and quizzes at a position
  • Attach a quiz to its lesson, snapshotted in the same session
  • Update and reorder nodes within the same course
  • Roll back any course-tree write exactly, per operation or per session

Example prompts

Example LifterLMS prompts.

Show me the sections and lessons in the Nutrition Fundamentals course.

Add a quiz to the "Macros" lesson.

Reorder the sections so "Getting started" comes first.

Under the hood

The LifterLMS calls, under the hood.

wpmcp, lifterlms

plugin-data-read({ integration: "lifterlms", operation: "lifterlms-get-course", args: { id: 140 } }), the full course tree

plugin-data-write({ integration: "lifterlms", operation: "lifterlms-add-section", args: { course_id: 140, title: "Macros" } }), Pro; post snapshot, reversible

Safety and access

What can be undone on LifterLMS, and what costs what.

Recoverable on LifterLMS

  • Every post a write creates or touches is snapshotted, with one session per call.
  • rollback-session undoes a whole add or move, including renumbered siblings and a quiz link.
  • A created course, section, lesson or quiz is undone by moving it to the trash.
  • lifterlms-update-item is restored per operation with rollback-operation.

LifterLMS limits and opt-ins

  • Enrollments are read only. You can list students with status and date but not enrol, cancel or change progress.
  • Quiz questions cannot be created here. They are authored in LifterLMS, and the read returns their id, title, type and points.
  • Moves stay inside one course, and a lesson moves only to a section of the same course.
  • Listing enrollments is personal data and needs list_users. Lists are paged up to 50.

Free or Pro: LifterLMS support is a Pro feature, added in 0.9.0, with no equivalent in the free plugin. Once Pro is active and LifterLMS is loaded, the reads and the course-tree writes work, and they are not behind an opt-in filter the way MemberPress or helpdesk writes are. LifterLMS 10.1 and later registers its own abilities for memberships, access plans and grading, and those run under LifterLMS's checks through the ability bridge, outside the snapshot guarantee.

Part of WP MCP Pro

The LifterLMS integration is part of WP MCP Pro.

One Pro licence unlocks the LifterLMS tools and every other Pro integration on this site: Elementor deep editing, the other page builders, the forms adapter pack and more, 133 Pro tools in all. The free plugin still covers the rest of WordPress and the full snapshot and undo engine, so you can try the safety model before you buy.

Frequently asked

LifterLMS MCP: questions, answered.

Why not expose LifterLMS enrollment writes here?

LifterLMS 10.1+ registers its own abilities for enrollments, memberships, access plans and grading. With the ability bridge opened they run through execute-site-ability under their own checks. They sit outside the snapshot guarantee, so this integration keeps the course-tree writes, the ones a site most often needs to undo live, under an exact rollback.

Does it use LifterLMS's stored posts and meta?

Yes. The tree is read and written as LifterLMS's own course, section, lesson and quiz posts with their _llms_ parent and order meta, so every write is covered by a WP MCP snapshot and a rollback is exact.

What are the enrollment statuses?

enrolled, pending, cancelled and expired. lifterlms-list-enrollments returns each student's user id, display name, email, current status and the date, newest first, and can filter by status. The status is the latest row LifterLMS recorded for that student and course.

Does adding a lesson publish it?

By default, yes: lesson status defaults to publish, while a new course defaults to draft. Pass status draft on add-lesson if you want to review content first. lifterlms-update-item can change the status of a course, section, lesson or quiz later.

Can an agent edit a lesson's body?

Yes. lifterlms-update-item changes the title, content, excerpt or status of a course, section, lesson or quiz, under a post snapshot. Only the fields you pass change, and it records the previous content so the edit can be rolled back with rollback-operation.

Does this work with other LMS plugins?

The same course-tree operations exist for Tutor LMS and LearnDash, prefixed with the plugin name, and LearnDash adds learner enrollment and progress ops behind their own opt-in. This page covers the lifterlms prefix, which reads and writes LifterLMS's own post types.

Point your AI at LifterLMS.