Get the plugin
WP MCP/Integrations/Learning

Learning integration

Tutor LMS AI agent tool reference

Tutor LMS keeps a course as a courses post, its topics as posts under the course, and lessons, quizzes and assignments as their own post types under each topic, ordered by menu order the way Tutor LMS's own curriculum sorter writes it. WP MCP Pro reads the whole course tree, its quiz questions and its enrollments, then builds and rearranges that tree: create a course, add topics (sections), lessons and quizzes, update a node's title, content, excerpt or status, and move or reorder nodes within the same course. Every node a write creates or touches is snapshotted post by post, and one call is one session, so rollback undoes all of it; a created node's undo is the trash and nothing is hard-deleted. Reads and writes go through Tutor LMS's own storage, so a post that is not linked back to a Tutor course, or belongs to another LMS that shares the lesson type, is refused rather than mixed in. Enrollments are personal data and read-only here: list a course's enrolled students with their status and date.

plugin-data-readplugin-data-write

In practice

How Tutor LMS work goes with an agent.

Tutor LMS keeps its curriculum in a plain post hierarchy: a courses post, topics as child posts of the course, and lessons, quizzes and assignments as child posts of each topic, ordered by menu_order from 1. Quiz questions are rows in a separate table, and a student enrollment is a tutor_enrolled post owned by the student. WP MCP Pro works against that structure, so an agent can lay out a whole course in one session and reorder it the way Tutor's own curriculum sorter does. Enrollments are exposed read-only because they are personal data.

Draft a new course called Photography Basics with three topics: Camera, Light and Editing.

Runs tutor-create-course (status defaults to draft), then tutor-add-section three times, one per topic, in order. Each call snapshots what it touches. Rolling back the session trashes the created posts, and nothing is hard-deleted.

Under the Light topic add lessons on golden hour and flash, and a short quiz at the end.

Runs tutor-add-lesson twice and tutor-add-quiz with the topic as parent_id, with positions that renumber the siblings after them. Quiz questions are not authored here, since they live in a Tutor table and are written in Tutor LMS.

Move Composition above Exposure, and unpublish the Editing topic until the videos are ready.

Runs tutor-move-item with a new position, writing menu_order the way Tutor's sorter does, then tutor-update-item with status draft. Every post whose order or status changes is snapshotted, so rollback-operation restores the previous curriculum.

Who is enrolled in course 88, and who is still pending?

Runs tutor-list-enrollments with a status filter. It returns user id, display name, email, status (enrolled, pending, cancelled) and date, needs list_users, and is read only.

What your AI can do

Real Tutor LMS operations, every write reversible.

  • Read a course's tree of topics, lessons, quizzes and assignments
  • Read quiz questions and a course's enrollment list
  • Create a course and add topics, lessons and quizzes at a position
  • Update a node's title, content, excerpt or status
  • Move and reorder nodes within the same course, snapshotted post by post
  • Roll back any course-tree write exactly, per operation or per session

Example prompts

Example Tutor LMS prompts.

Show me the structure of the Photography Basics course.

Add a topic called "Lighting" with two lessons after the intro topic.

Move the "Composition" lesson above "Exposure" in the same course.

Under the hood

The Tutor LMS calls, under the hood.

wpmcp, tutor-lms

plugin-data-read({ integration: "tutor", operation: "tutor-get-course", args: { id: 88, questions: true } }), the full course tree

plugin-data-write({ integration: "tutor", operation: "tutor-add-lesson", args: { parent_id: 90, title: "Lighting" } }), Pro; post snapshot, reversible

Safety and access

What can be undone on Tutor LMS, and what costs what.

Recoverable on Tutor LMS

  • Every created or changed node is snapshotted post by post, and one tool call is one session.
  • rollback-session undoes a whole course build, and rollback-operation undoes a single title, content, status or order change.
  • A created course, topic, lesson or quiz is undone by moving it to the trash.
  • Reordering restores the previous menu_order values on every post that moved.

Tutor LMS limits and opt-ins

  • Enrollments are read only. Enrolling, unenrolling or resetting a student is not offered.
  • Nothing is hard-deleted. update-item can set a node to draft instead.
  • Quiz questions can be read with tutor-get-course but are authored in Tutor LMS, not through these operations.
  • A post that is not linked back to a Tutor course, or that belongs to another LMS sharing the lesson post type, is refused.

Free or Pro: Every Tutor LMS operation is Pro. They are tutor-* operations on the plugin-data read and write pair, so they add no tools to the top-level list. The free plugin does not expose Tutor LMS. There is no separate opt-in for the course tree writes, which are on once Pro is active, while the read of enrollments stays gated by list_users.

Part of WP MCP Pro

The Tutor LMS integration is part of WP MCP Pro.

One Pro licence unlocks the Tutor LMS 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

Tutor LMS MCP: questions, answered.

Does the Tutor LMS integration change learner enrollments?

No. Enrollments are personal data and read-only here: you can list a course's students with their status and date, but enrolling, unenrolling and resetting progress are not part of this integration. The course-tree writes are what it builds.

Can the Tutor LMS integration break the curriculum order?

No. Order changes write Tutor LMS's own menu order the way its curriculum sorter does, and every post whose parent or order changes is snapshotted, so a rollback puts the ordering back exactly.

Can the Tutor LMS integration build a full course from an outline in one go?

Yes, as a series of calls. tutor-create-course makes a draft, tutor-add-section adds topics, and tutor-add-lesson and tutor-add-quiz add content under a topic at a chosen position. Each call is its own session, and rollback-session undoes what it created. Page content for lessons goes in as ordinary post content.

What does Tutor LMS do when a course is trashed?

Tutor answers a trashed course with a redirect and exit meant for the admin list. That would cut off an MCP request mid-response, so WP MCP removes that redirect for the rest of the request only. The undo of a created course, which trashes it, therefore completes cleanly.

With Tutor LMS, can the agent move a lesson into another course?

No. tutor-move-item moves a topic within its course, or a lesson, quiz or assignment between topics of the same course. A target in another course is refused. That keeps a lesson from ending up linked to the wrong curriculum.

Does the Tutor LMS integration read quiz questions?

Yes. tutor-get-course returns quiz questions with id, title, type and points unless you pass questions:false. They come from Tutor's question table in order. Writing questions is not part of this integration, so the agent can audit a quiz but not author one.

Is there an AI agent for Tutor LMS?

Yes, through WP MCP rather than Tutor LMS itself. An agent you choose, such as Claude or Cursor, can read a course's tree of topics, lessons, quizzes and assignments. WP MCP is a separate plugin, not a built-in AI feature of Tutor LMS. On the undo side: Every created or changed node is snapshotted post by post, and one tool call is one session.

Point your AI at Tutor LMS.