mydy-lms
Allows AI assistants to interact with the MyDy LMS (Moodle-based) to view attendance, browse courses, check assignments and grades, read announcements, and download course materials.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mydy-lmsshow my attendance summary"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MyDy LMS Helper
A terminal UI application and MCP server for interacting with the MyDy (Moodle-based) LMS at D.Y. Patil institutions. View attendance, browse courses, check assignments and grades, read announcements, and download course materials.
Screenshots
Related MCP server: canvas-lms
Features
Dashboard — Attendance summary + current semester courses at a glance
Course Detail — Tabbed view with Content, Assignments, Grades, and Announcements
Download Materials — Download from a single course or bulk download from multiple
Login Screen — Auto-login from
.envor manual login via the UIMCP Server — Let AI assistants interact with your LMS
Setup
1. Clone and install
git clone https://github.com/your-username/mydy-lms-helper.git
cd mydy-lms-helper
python -m venv .venv
source .venv/bin/activate # Linux/Mac
# .venv\Scripts\activate # Windows
uv pip install -r requirements.txt
# or: pip install -r requirements.txt2. Configure credentials (optional)
Create a .env file:
MYDY_USERNAME="your_email@dypatil.edu"
MYDY_PASSWORD="your_password"If no .env is present, the app will show a login screen on startup.
3. Run the TUI
python __main__.pyNavigation
Key / Action | What it does |
Click sidebar items | Switch between Dashboard, All Courses, Bulk Download |
Click a course | Open course detail page with tabs |
| Return to previous view |
| Download all files from the current course |
| Quit |
MCP Server
The project also includes an MCP (Model Context Protocol) server for AI assistants like Claude Code.
Quick Setup with Claude Code
claude mcp add mydy-lms -e MYDY_USERNAME=your_email@dypatil.edu -e MYDY_PASSWORD=your_password -- python /path/to/mcp_server.pyManual Config
{
"mcpServers": {
"mydy-lms": {
"command": "python",
"args": ["/path/to/mcp_server.py"],
"env": {
"MYDY_USERNAME": "your_email@dypatil.edu",
"MYDY_PASSWORD": "your_password"
}
}
}
}Available MCP Tools
Tool | Description |
| Authenticate with the LMS portal |
| List all enrolled courses |
| List sections and activities in a course |
| View assignments with due dates and submission status |
| Fetch grade report for a course |
| Read course announcements |
| View attendance summary for current semester |
| Download materials from specific or all courses |
Project Structure
mydy-lms-helper/
├── __main__.py # Entry point
├── app.py # Textual TUI application
├── client.py # HTTP client (shared by TUI and MCP server)
├── mcp_server.py # MCP server for AI assistants
├── requirements.txt # Dependencies
└── .env # Credentials (gitignored)Requirements
Python 3.10+
Internet connection
Valid MyDy LMS account
License
MIT License. Use at your own risk.
Disclaimer
This tool is for educational purposes only. Respect your institution's terms of service and use responsibly. Only download content you have legitimate access to. This project is unofficial and made for personal/educational use. DY Patil or MyDY is not associated with this project.
Use responsibly. The author is not responsible for misuse, data loss, or violations of institutional policies.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server providing attendance data queries via the CloudTime API.
MCP server for the Inistate platform: module discovery, entry management, and activity submission.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that automates login to PAUSD Schoology via ClassLink and provides tools to fetch grades, upcoming assignments, and recent posts.4MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Canvas LMS with automatic OAuth authentication. Enables interaction with courses, assignments, grades, modules, discussions, quizzes, files, calendar, messaging, and more without manual API token management.59 npmMIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects AI assistants to university D2L Brightspace and Piazza, enabling query of courses, grades, assignments, deadlines, files, and Piazza posts.7MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that provides tools to interact with SNU eTL (Canvas LMS), including viewing courses, assignments, announcements, grades, downloading and organizing course files, with persistent local storage and automatic sync.MIT