LearnWorlds logo

LearnWorlds

Exposes all 94 LearnWorlds API endpoints as safety-labeled MCP tools over stdio or Streamable HTTP.

Install LearnWorlds

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
http://localhost:8765/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

The LearnWorlds MCP server exposes all 94 endpoints of the LearnWorlds public API as MCP tools for managing school data. It generates tools from the OpenAPI specification, labels them as read-only, write, or destructive, and sends authenticated requests to your school. Use it when an AI client needs to query or change users, courses, enrollments, payments, subscriptions, reporting, and related LearnWorlds resources. It supports local stdio connections and hosted Streamable HTTP deployments with retries, rate limiting, timeouts, Docker configuration, and optional bearer-token protection.

Use cases

  • List recently registered users
  • Create users and enroll them in bundles
  • Review payments and calculate revenue
  • Find users who have not completed a course
  • Retrieve course completion analytics

Key features

  • 94 OpenAPI-generated LearnWorlds API tools
  • Read-only, write, and destructive safety categories
  • stdio and Streamable HTTP transports
  • Retries, rate limiting, and request timeouts
  • Docker Compose deployment with health checks
  • HTTP bearer-token authentication

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

7/7 checks healthy over the last 45d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9/14/2026 via OSV.dev · http://localhost:8765/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit5d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How LearnWorlds works

What the LearnWorlds MCP server does

The LearnWorlds MCP server turns the LearnWorlds public API into 94 MCP tools. Coverage includes courses, users, enrollments, payments, subscriptions, coupons, certificates, seats, community features, and reporting. The tool set is generated from the API's OpenAPI specification rather than maintained as a hand-picked collection.

Each operation is marked according to its effect: read-only, write, or destructive. Tool descriptions identify side effects, authentication and rate-limit behavior, response shapes, error codes, and related alternatives. MCP annotations such as readOnlyHint and destructiveHint are also provided for hosts that use them when deciding whether to trust or confirm an action.

How it works

An MCP client communicates with the server, which then makes HTTPS requests to the LearnWorlds API for the configured school. The server resolves OpenAPI references and handles recursive schemas while constructing the tools. It adds the LearnWorlds bearer token and Lw-Client header to outbound requests; credentials remain in the server environment and are not passed to the model.

The LearnWorlds MCP server supports stdio for local launchers and Streamable HTTP for a hosted process. Requests use client-side throttling to stay within LearnWorlds' stated limit of 30 requests per 10 seconds. Temporary 429 and 5xx responses are retried with jittered exponential backoff, including the upstream Retry-After value when supplied. Per-request timeouts abort stalled calls before retry handling.

Setup and configuration

A LearnWorlds school with API access is required. You need an access token, client ID, and the school's API base URL. Docker and Docker Compose support the documented quick-start deployment; Node.js 18 or newer is available for running from source with stdio.

The Docker Compose example binds the service to 127.0.0.1:8765, exposes a health endpoint at /health, and serves MCP at /mcp. The project also provides a Docker health check, automatic restart configuration, and a published container image through GitHub Container Registry. When the HTTP service is reachable beyond loopback, set MCP_AUTH_TOKEN; the server refuses to start without it so the endpoint is not left unprotected. Client requests then use bearer-token authentication.

Tools and capabilities

The generated tools can support tasks such as listing recent users, creating users and enrolling them in bundles, reviewing payments and revenue, finding incomplete course work, creating subscription coupons, and retrieving course completion analytics. These examples depend on the configured LearnWorlds account and its API access.

Replacing the bundled OpenAPI YAML and rebuilding allows later specification changes to generate updated tools without manually adding endpoint code. The server also exposes a health response that reports its status and tool count.

Limitations and notes

This server requires LearnWorlds API credentials and does not replace the permissions or availability of the connected school account. Destructive and write operations can change live school data, so clients should use the safety labels and annotations where supported. HTTP deployments should be protected with MCP_AUTH_TOKEN when exposed beyond the local machine. The documented tool count is 94 and may change if the API specification is updated.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about LearnWorlds

LearnWorlds is an MCP server that connects AI assistants to the LearnWorlds public API through 94 generated tools. It supports school data operations across users, courses, enrollments, payments, subscriptions, reporting, and more, with tools labeled as read-only, write, or destructive.

Install it with Docker Compose by configuring the required LearnWorlds environment variables and running `docker compose up -d --build`. You can also run it from source with Node.js 18 or newer, or use the published GitHub Container Registry image.

Yes, LearnWorlds works with Cursor through its MCP transports. Run the server over stdio or Streamable HTTP, then configure Cursor as the MCP client using the connection details required by your deployment.

Set `MCP_AUTH_TOKEN` when the HTTP endpoint is exposed beyond loopback. The server requires this token in that situation and clients send it as a bearer token in the `Authorization` header.

The tools cover all 94 endpoints in the LearnWorlds public API, including users, courses, enrollments, payments, subscriptions, coupons, certificates, seats, community, and reporting. The available operations include reads, writes, and destructive actions.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLearnWorlds AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/learnworlds?style=directory)](https://allmcps.com/mcp/learnworlds)
HTML Embed
<a href="https://allmcps.com/mcp/learnworlds"><img src="https://allmcps.com/api/badge/learnworlds?style=directory" alt="LearnWorlds on AllMCPs" /></a>