Repository navigation
v0.7.1
moodle-cli 0.7.1
Fixes MCP clients receiving only counts such as "Found 5 Moodle courses" instead of the actual course data.
All eleven tools now expose their complete validated result as JSON text in content, alongside the same structuredContent. Clients that consume only text can read course names, IDs, deadlines, grades and forum data, then use those IDs in follow-up calls. File metadata is readable in text; file bytes remain in their embedded resource without duplication. Tool descriptions explain course ID handoffs and deadline timestamp units.
Managed deployment now verifies model-visible results and follows list_courses to get_course using the returned ID. A summary-only response fails deployment acceptance even if its structured data is correct. Tests cover every tool's text output, deadlines, forums, stdio, and an OAuth course-to-activity chain in real workerd.
Upgrade
npm install -g moodle-cli@0.7.1
moodle mcp deployInstalling the CLI alone does not update an existing remote Worker. Existing OAuth connections can continue using the updated tools after their Worker is upgraded; this patch does not change token or session storage formats.