# LearnDash MCP: course drafts, step order and access settings from your AI agent

LearnDash keeps a course as a tree of lessons, topics and quizzes, and Widejoin writes that tree with the same call LearnDash's course builder makes when you save it. Each change applies at once in Direct mode as the agent's WordPress user and is recorded for restore, or waits for a person in wp-admin when the site uses Review first.

## Does Widejoin work with LearnDash?

Widejoin lets your AI agent draft LearnDash courses with lessons, topics and quizzes and change their order, tested on LearnDash 5.2.1, and each change keeps a record. These writes are in the free plugin, and hosted Pro from $99 a year adds sites, calls and history.

## Which LearnDash tools does Widejoin have?

4 tools: the course tools Tutor LMS uses too. `list-courses` lists the courses you can manage with their lesson, topic and quiz counts, `read-course` reads one course in the builder's order, `create-course-draft` creates a draft course with its steps, and `prepare-course` edits a course as one recorded change.

## What can the agent change in LearnDash?

- New draft courses with lessons, topics and quizzes, in the order you give.
- Course title and description, and step titles and content.
- Step order, under LearnDash's rules: the course holds lessons and quizzes, lessons hold topics and quizzes, topics hold quizzes.
- Access settings: access mode (open, free, buy now, recurring or closed), price, button URL and free navigation.

## What waits for an administrator?

Nothing here is for administrators only. Each step edit needs the WordPress right to edit that lesson, topic or quiz, so an author who cannot edit a step is refused. After every write, Widejoin reads the course back and fails the change if LearnDash did not keep it.

## What will it not do in LearnDash?

- Quiz questions are read, not written.
- It never reads students, enrolments, progress or quiz attempts.
- It writes only to LearnDash 5.x.

## How does restore work?

Restore returns the exact previous state. In Direct mode the agent undoes a change with one `restore-change` call, and a person can restore it from the change's page in wp-admin.

On our lab the agent drafted a course with "Lesson Alpha" holding one topic, "Lesson Beta" and a final quiz, "Final check". A reviewed change then renamed Lesson Beta and moved it to the top, and the course read back as "Lesson Beta reviewed", "Lesson Alpha", "Final check", the order a student sees. LearnDash 5.2.1 was verified on a licensed lab on 20 October 2026.

Related: the [Tutor LMS integration](/integrations/tutor-lms/), the [Gravity Forms integration](/integrations/gravity-forms/), the [WPML integration](/integrations/wpml/) and [how a change works](/how-it-works/).

## Questions

### Which LearnDash version did you test?

LearnDash 5.2.1, on our lab, in Widejoin 1.2.0.

### Can the agent write quiz questions?

No. It reads them. A question edit could not be restored reliably, so it is not offered.

### Does the agent see my students?

No. Students, enrolments, progress and quiz attempts are never read.

### Does it need the Pro add-on?

No. The LearnDash tools are in the free plugin.
