The moodle-mcp Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and A Model Context Protocol (MCP) server implementation that provides capabilities to interact with Moodle LMS. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Code/Dev Tools domain.
Once installed in Claude Desktop or Cursor, try asking your assistant:
Copy the config for your editor. Verify environment variables or setup notes in the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"moodle-mcp": {
"command": "uvx",
"args": [
"moodle-mcp"
]
}
}
}
Or install with pip: pip install moodle-mcp
> A Model Context Protocol (MCP) server implementation that provides capabilities to interact with Moodle LMS. The server exposes the following tools. | Tool | Description | | --- | --- | | get_my_courses | Get all courses the current user is enrolled in | | get_course_content | Get sections and modules for a specific course by its ID |