{"id":10962,"date":"2025-10-16T17:32:00","date_gmt":"2025-10-16T21:32:00","guid":{"rendered":"https:\/\/learndash.com\/support\/?post_type=docs&#038;p=10962"},"modified":"2026-02-05T17:01:03","modified_gmt":"2026-02-05T22:01:03","password":"","slug":"mcp-overview-learndash-ai-setup","status":"publish","type":"docs","link":"https:\/\/learndash.com\/support\/kb\/learndash-mcp-server\/getting-started-with-learndash-mcp-server\/mcp-overview-learndash-ai-setup\/","title":{"rendered":"Getting Started with the LearnDash Model Context Protocol (MCP)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-what-is-the-learndash-mcp-server\"><strong>What Is the LearnDash MCP Server?<\/strong><\/h2>\n\n\n\n<p>The <strong>Model Context Protocol (MCP)<\/strong> Server acts a bridge between LearnDash and AI-powered tools such as <strong>Cursor<\/strong> and <strong>Elementor\u2019s Angie<\/strong>. The LearnDash MCP Server allows an AI agent to understand your LearnDash site and take actions through the LearnDash REST API, such as creating courses, enrolling users, or updating course settings, based on natural language prompts.<\/p>\n\n\n\n<p>The LearnDash MCP Server works in two ways:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>WordPress Hosted<\/strong> (Such as Angie by Elementor): Uses a built-in <strong>hosted MCP client<\/strong>. No setup or application password is required.<\/li>\n\n\n\n<li><strong>Cursor (and similar tools)<\/strong>: Requires setting up an <strong>external MCP server<\/strong> on a local machine. This type of connection uses a WordPress application password for secure access. Non-developer users can set this up using Cursor with natural language prompts.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p class=\"has-theme-palette-8-color has-theme-palette-2-background-color has-text-color has-background has-link-color wp-elements-9f3861288d70e76009b67a8515faaebb\"><strong>Important<\/strong>: Before using the MCP server with AI tools on your site, always create a backup and take regular backups along the way. LLMs can make mistakes, some of which they are unable to change through the API\/MCP connection.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why It Matters<\/strong><\/h2>\n\n\n\n<p>MCP support enables LearnDash users to leverage AI to reduce repetitive work, save time, and generate content directly from existing resources. Depending on the LLM connected, users can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Generate content<\/strong>: Create courses from books, transcripts, or other files.<\/li>\n\n\n\n<li><strong>Automate grading<\/strong>: Use rubrics to grade assignments quickly.<\/li>\n\n\n\n<li><strong>Simplify course management<\/strong>: Change start\/end dates or enrollment modes across multiple courses.<\/li>\n\n\n\n<li><strong>Organize content<\/strong>: Add tags, categories, or prerequisites using a single prompt.<\/li>\n\n\n\n<li><strong>Manage users and groups<\/strong>: Enroll or remove users, or create groups and assign courses.<\/li>\n<\/ul>\n\n\n\n<p>For power users, MCP connections open the door to building custom workflows, integrations, and automations on top of the LearnDash REST API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Before You Begin: Back Up Your Site<\/strong><\/h2>\n\n\n\n<p>AI tools can make real, and sometimes irreversible, changes to any LearnDash site. While prompts are executed step by step, mistakes can happen if instructions are vague or misunderstood.<\/p>\n\n\n\n<p>To stay safe:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Create a full backup<\/strong> before connecting any MCP-enabled tool.<\/li>\n\n\n\n<li><strong>Back up again<\/strong> after major changes or during long sessions.<\/li>\n\n\n\n<li>Test first in a <strong>staging environment<\/strong> when possible.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-an-mcp-connection-works-with-wordpress\"><strong>How an MCP Connection Works<\/strong> with WordPress<\/h2>\n\n\n<style>.kb-image10962_3e39ec-06 .kb-image-has-overlay:after{opacity:0.3;}<\/style>\n<div class=\"wp-block-kadence-image kb-image10962_3e39ec-06\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1736\" height=\"982\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/10\/Intro_MCP-diagram.jpg\" alt=\"A diagram shows the following information. Your website has REST APIs for WordPress core as well as your plugins, and themes, where supported(like LearnDash). In the middle, standardized Model Context Protocol (MCP) servers to open up the capabilities of the APIs on your website to your AI agents.\" class=\"kb-img wp-image-10985\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/10\/Intro_MCP-diagram.jpg 1736w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/10\/Intro_MCP-diagram-400x226.jpg 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/10\/Intro_MCP-diagram-800x453.jpg 800w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/10\/Intro_MCP-diagram-768x434.jpg 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/10\/Intro_MCP-diagram-1536x869.jpg 1536w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/10\/Intro_MCP-diagram-360x204.jpg 360w\" sizes=\"auto, (max-width: 1736px) 100vw, 1736px\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Connection<\/strong>: An MCP server connects to your site through the LearnDash REST API.<\/li>\n\n\n\n<li><strong>Authentication<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Hosted solutions, such as Angie, use automatic authentication (no application password required).<\/li>\n\n\n\n<li>External MCP servers (such as Cursor) require a WordPress <strong>application password<\/strong> for secure access.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Supported Actions<\/strong>: MCP follows REST conventions (create, read, update, delete) for courses, lessons, topics, assignments, groups, and users.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-the-learndash-mcp-server-can-and-cannot-do\"><strong>What the LearnDash MCP Server Can and Cannot Do<\/strong><\/h2>\n\n\n\n<p>The LearnDash MCP server capabilities are directly related to the REST API. So, as the REST API in LearnDash updates and expands, the actions available to AI agents will also expand.&nbsp;<\/p>\n\n\n\n<p><strong>What MCP Server Can Do<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create, read, update, or delete courses, lessons, and topics<\/li>\n\n\n\n<li>Enable and grade assignments<\/li>\n\n\n\n<li>Manage course and group enrollments<\/li>\n\n\n\n<li>Update course settings (pricing, access, start\/end dates)<\/li>\n\n\n\n<li>Add tags, categories, and prerequisites<\/li>\n<\/ul>\n\n\n\n<p><strong>What MCP Server Cannot Do<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create new WordPress users (read-only access to existing users only)<\/li>\n\n\n\n<li>Manage quizzes or quiz questions (read-only)<\/li>\n\n\n\n<li>Create or modify certificates<\/li>\n\n\n\n<li>Upload files or media<\/li>\n\n\n\n<li>Change themes, plugins, or site appearance<\/li>\n\n\n\n<li>Run database queries<\/li>\n\n\n\n<li>Perform bulk imports\/exports (all actions are single-item)<\/li>\n<\/ul>\n\n\n\n<p>While MCP connections to AI make tasks faster, <strong>all \u201cbulk\u201d actions are still performed one by one through the REST API<\/strong>. For example, enrolling 100 students means the AI performs 100 separate enrollment actions.<\/p>\n\n\n\n<p>By default, the MCP server connection may reach the WordPress REST API and be able to perform some of the actions the LearnDash REST API is unable to perform.&nbsp;<\/p>\n\n\n\n<p><strong>Real-World Examples<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Book to Course<\/strong>: An author connects AI to their site and asks it to turn a manuscript into a LearnDash course.<\/li>\n\n\n\n<li><strong>Transcript Conversion<\/strong>: A lecturer provides a transcript and prompts AI to generate a course with lessons and topics.<\/li>\n\n\n\n<li><strong>Grading with Rubrics<\/strong>: An instructor supplies a rubric and asks the AI to grade pending assignments, approving them if scores meet the threshold.<\/li>\n\n\n\n<li><strong>Bulk Enrollment via CSV<\/strong>: A course admin prompts AI to parse a CSV of users and enroll them into specific courses and groups.<\/li>\n<\/ul>\n\n\n\n<p><strong>Privacy and Data Access<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>LearnDash never sees prompts, responses, or data<\/strong> sent through MCP servers.<\/li>\n\n\n\n<li>With <strong>Cursor<\/strong> (local server), data stays on your machine except where the LLM provider requires REST API access.<\/li>\n\n\n\n<li>With hosted tools, like <strong>Angie<\/strong>, prompts flow through Elementor\u2019s hosted MCP infrastructure.<\/li>\n<\/ul>\n\n\n\n<p>For maximum privacy, run a local MCP server and connect to an open-source model such as Ollama.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What Is the LearnDash MCP Server? The Model Context Protocol (MCP) Server acts a bridge between LearnDash and AI-powered tools such as Cursor and Elementor\u2019s Angie. The LearnDash MCP Server allows an AI agent to understand your LearnDash site and take actions through the LearnDash REST API, such as creating courses, enrolling users, or updating&#8230;<\/p>\n","protected":false},"author":58,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_helpful_status":1,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"doc_category":[294],"doc_tag":[],"knowledge_base":[293],"class_list":["post-10962","docs","type-docs","status-publish","hentry","doc_category-getting-started-with-learndash-mcp-server","knowledge_base-learndash-mcp-server"],"year_month":"2026-04","word_count":747,"total_views":"2023","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"Stephanie Liy","author_link":"https:\/\/learndash.com\/support\/author\/stephaniei\/"},"doc_category_info":[{"term_name":"Getting Started with LearnDash MCP Server","term_url":"https:\/\/learndash.com\/support\/kb\/non-knowledgebase\/getting-started-with-learndash-mcp-server\/"}],"doc_tag_info":[],"taxonomy_info":{"doc_category":[{"value":294,"label":"Getting Started with LearnDash MCP Server"}],"knowledge_base":[{"value":293,"label":"LearnDash MCP Server"}]},"featured_image_src_large":false,"comment_info":0,"knowledge_base_info":[{"term_name":"LearnDash MCP Server","term_url":"https:\/\/learndash.com\/support\/kb\/learndash-mcp-server\/","term_slug":"learndash-mcp-server"}],"knowledge_base_slug":["learndash-mcp-server"],"_links":{"self":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/10962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/comments?post=10962"}],"version-history":[{"count":15,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/10962\/revisions"}],"predecessor-version":[{"id":11236,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/10962\/revisions\/11236"}],"wp:attachment":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/media?parent=10962"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_category?post=10962"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_tag?post=10962"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/knowledge_base?post=10962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}