Skip to content
VS Code

LearnWorlds for VS Code

io.github.ohneben/learnworlds-mcp

All 94 LearnWorlds LMS API endpoints as safety-categorized MCP tools (read/write/destructive).

client:VS Code transport:stdio runtime:oci

Install LearnWorlds in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-transport",
      "description": "MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "learnworlds-base-url",
      "description": "LEARNWORLDS_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "learnworlds-api-token",
      "description": "LEARNWORLDS_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "learnworlds-client-id",
      "description": "LEARNWORLDS_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-auth-token",
      "description": "MCP_AUTH_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "learnworlds-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ohneben/learnworlds-mcp:1.1.2"
      ],
      "env": {
        "MCP_TRANSPORT": "${input:mcp-transport}",
        "LEARNWORLDS_BASE_URL": "${input:learnworlds-base-url}",
        "LEARNWORLDS_API_TOKEN": "${input:learnworlds-api-token}",
        "LEARNWORLDS_CLIENT_ID": "${input:learnworlds-client-id}",
        "MCP_AUTH_TOKEN": "${input:mcp-auth-token}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

LearnWorlds in other clients