LearnPress Abilities
LearnPress exposes abilities for AI assistants to both read and manage your LearnPress LMS — looking up courses, lessons, quizzes, student progress, and enrollments, and now creating, updating, and deleting courses, sections, lessons, quizzes, and quiz questions, plus enrolling students and updating their enrollment records.
25
Total
8
Read
17
Write
Requires the LearnPress plugin on WordPress 6.9+ (for the Abilities API). Abilities only register when both wp_register_ability() and wp_register_ability_category() exist. MCP Integration must also be enabled under LearnPress Settings → MCP, and requests must authenticate with a valid LearnPress MCP API key belonging to a user who holds the required base capability (default 'manage_options', filterable) and whose key scope covers the ability — the original read abilities require 'read' scope, while the course/section/lesson/quiz/question write abilities and enrollment management require 'write' (or 'read_write') scope. Each write ability is additionally gated by a real WordPress capability check (e.g. 'edit_lp_courses' to create a course, the 'edit_post'/'delete_post' meta capabilities to modify or trash a specific course/lesson/quiz, or 'list_users' to manage enrollments), so a valid API key alone is not sufficient; 'manage_options' always satisfies every check.
Add Quiz Question
Writelearnpress/add-quiz-question
Create a new question with answers and attach it to a quiz.
Create Course
Writelearnpress/create-course
Create a new LearnPress course, including pricing, categories/tags, level, and FAQ metadata.
Create Lesson
Writelearnpress/create-lesson
Create a new lesson and add it to a course's curriculum section.
Create Quiz
Writelearnpress/create-quiz
Create a new quiz and add it to a course's curriculum section.
Create Section
Writelearnpress/create-section
Add a new curriculum section to a course, optionally at a specific position.
Delete Course
Destructivelearnpress/delete-course
Move a course to the WordPress trash, reversible from WP admin.
Delete Lesson
Destructivelearnpress/delete-lesson
Move a lesson to the WordPress trash and remove it from its curriculum section.
Delete Quiz
Destructivelearnpress/delete-quiz
Move a quiz to the WordPress trash and remove it from its curriculum section.
Delete Quiz Question
Destructivelearnpress/delete-quiz-question
Remove a question from a quiz while preserving the underlying question post.
Delete Section
Destructivelearnpress/delete-section
Remove a curriculum section while preserving its lessons and quizzes.
Enroll Student
Writelearnpress/enroll-student
Manually enroll a student in a course without requiring checkout.
Get Course Details
Read-onlylearnpress/get-course-details
Get full details and curriculum structure for a single course.
Get Courses
Read-onlylearnpress/get-courses
List LearnPress courses with filtering by status, category, instructor, price range, and search, with pagination.
Get Enrollments
Read-onlylearnpress/get-enrollments
List course enrollments with optional course, user, and status filters, with pagination.
Get Lesson Details
Read-onlylearnpress/get-lesson-details
Get a lesson's full content, video intro, and attached materials.
Get Quiz Details
Read-onlylearnpress/get-quiz-details
Get a quiz's duration, passing grade, question count, and grading rules.
Get Student Progress
Read-onlylearnpress/get-student-progress
Get a student's enrollment status and course completion results.
List Lessons
Read-onlylearnpress/list-lessons
List the lessons inside a course, optionally scoped to one curriculum section.
List Quizzes
Read-onlylearnpress/list-quizzes
List the quizzes inside a course with pagination.
Update Course
Writelearnpress/update-course
Update an existing course's content, pricing, taxonomy assignments, and metadata.
Update Enrollment
Writelearnpress/update-enrollment
Update a course enrollment's status, graduation, or dates.
Update Lesson
Writelearnpress/update-lesson
Update a lesson's content, settings, or its position in the curriculum.
Update Quiz
Writelearnpress/update-quiz
Update a quiz's content, grading settings, or its position in the curriculum.
Update Quiz Question
Writelearnpress/update-quiz-question
Update a quiz question's text, type, or answer set.
Update Section
Writelearnpress/update-section
Rename, redescribe, or reorder a curriculum section in a course.
More Content & Tools plugins with abilities
All Content & Tools →Use LearnPress's abilities with AI
Install Easy MCP AI on your WordPress site and any AI assistant can call these abilities in minutes.