elearn-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HTTPS_PROXY | No | HTTPS proxy to use if Telegram is blocked. | |
| SMS_RECEPTOR | No | SMS recipient number. Can be stored in the macOS Keychain. | Keychain |
| ELEARN_WORKERS | No | Number of worker threads for background jobs. | 3 |
| ELEARN_PASSWORD | No | Your SSO password. If unset, it is read from the macOS Keychain (service elearn-mcp, account = username). | |
| ELEARN_USERNAME | Yes | Your University of Tehran SSO username, e.g. <you>@ut.ac.ir. | |
| ELEARN_AGENT_CMD | No | Agent command to run for start_agents parts; must be on PATH. | elearn-agent |
| ELEARN_JOBS_ROOT | No | Root directory for background agent job workdirs. | ~/Desktop/myprojects/elearn-runs |
| KAVENEGAR_SENDER | No | Kavenegar SMS sender. Can be stored in the macOS Keychain. | Keychain |
| TELEGRAM_CHAT_ID | No | Telegram chat ID for notifications. Can be stored in the macOS Keychain. | Keychain |
| KAVENEGAR_API_KEY | No | Kavenegar API key for SMS. Can be stored in the macOS Keychain. | Keychain |
| ELEARN_AGENT_MODEL | No | Optional model passed to the agent command. | |
| TELEGRAM_BOT_TOKEN | No | Telegram bot token for notifications. Can be stored in the macOS Keychain. | Keychain |
| ELEARN_DOWNLOAD_DIR | No | Directory for assignment attachments. | ~/Documents/elearn/downloads |
| ELEARN_MATERIALS_DIR | No | Directory for course materials and text copies. | ~/Documents/elearn/materials |
| ELEARN_WATCH_CHANNELS | No | Comma-separated watcher notification channels, e.g. macos,telegram. | |
| ELEARN_WATCH_INTERVAL | No | Watcher interval in seconds. | 900 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_accountsA | List the student ids owned by the SSO user. |
| list_coursesC | List enrolled courses for one student id. |
| list_deadlinesC | List upcoming deadlines for one student id. |
| all_deadlinesB | List deadlines of every student id, each with an 'account' key, sorted by due. |
| course_contentsC | List the sections and items of one course. |
| download_moduleC | Download the files of a course resource or folder; returns the file paths. |
| external_linkC | Return the external URL of a course url module, or None. |
| gradesC | List the grades of one student id. |
| notificationsC | List recent notifications of one student id. |
| get_assignmentC | Fetch and parse one assignment page. |
| download_attachmentsC | Download every attachment of one assignment; returns the file paths. |
| prepare_submissionB | Check a submission without uploading; returns a token for confirm_submission. |
| confirm_submissionB | Upload a prepared submission; the token is single use. |
| remove_submissionC | Remove the submitted files of an assignment; returns the new status. |
| download_course_materialsC | Download every resource and folder of a course; returns the manifest summary. |
| list_materialsC | List the downloaded materials of a course (paths are relative to the course dir). |
| read_materialB | Read the text of one course material, paged by offset/max_chars. |
| send_notificationC | Send a notification through the given channels (default: macos). |
| watch_nowC | Run one watcher round now and notify on changes. |
| start_materials_jobC | Start a background job that downloads a course's materials; returns the job id. |
| start_agentsB | Run the parts in parallel on the free worker model; review results with job_status. |
| job_statusC | Return the state and result of a background job. |
| start_watch_roundC | Start a background watcher round; returns the job id. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 23 tools
Most tools have distinct purposes, but a few execution-mode pairs blur boundaries: watch_now vs start_watch_round and download_course_materials vs start_materials_job. Descriptions usually clarify the difference, though list_materials (downloaded materials only) vs download_course_materials is a subtle trap.
Many names follow verb_noun (list_courses, download_attachments, prepare_submission), but several are bare nouns or noun phrases (grades, notifications, course_contents, external_link, job_status). All use snake_case, so it is readable, but the convention is mixed.
23 tools is on the heavy side for a student e-learning client. Several synchronous/background pairs and niche orchestration tools (start_agents, start_watch_round) could be consolidated without losing functionality.
The surface covers the core lifecycle: accounts, courses, deadlines, grades, notifications, course contents, material downloads/reads, assignment fetching, submission preparation/confirmation/removal, and background jobs. Minor gaps remain, such as no job cancellation and no all-accounts course listing, but workarounds exist.