Skip to main content

Moodle MCP

io.github.av-leschinskiy/moodle-mcp

v0.2.1Updated Oct 30, 2026stdio · npm

Moodle MCP server for teachers: review assignment submissions, grade and give feedback; SSO login

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add moodle-mcp -e 'MOODLE_URL=<your-moodle-url>' -- npx -y @av-leschinskiy/[email protected]

Configuration

6 settings.

  • MOODLE_URL
    Env var· required
    Moodle site address (wwwroot), e.g. https://moodle.example.org
  • MOODLE_TOKEN
    Env var· optional· secret
    Web service token override (CI / smoke tests)
  • MOODLE_TOKEN_FILE
    Env var· optional
    Where moodle-mcp-login saves the token (path is resolved via homedir())
  • MOODLE_TIMEOUT
    Env var· optional
    Timeout of a single API request (ms)
  • MOODLE_CHROME
    Env var· optional
    Chrome/Chromium binary for moodle-mcp-login (looked up in PATH by default)
  • MOODLE_DEBUG
    Env var· optional
    1/true/yes/on enables debug output to stderr and debug level in the host log channel

Listed in the official MCP Registry since Oct 30, 2026. Mirrored daily; last checked Nov 26, 2026.