Skip to content
DenizAltunkapanPublic

About

MCP server for the ILIAS platform that provides authenticated course discovery and structured tool access for LLM clients. Primarily designed for the Ilias University of Stuttgart

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

ILIAS MCP

Production-oriented MCP server for ILIAS login, enrolled course listing, dashboard news, repository crawling, file downloads, and exercise submission management.

Tools

General

Repository

Lecture Videos

  • list_lecture_videos: list lecture recordings (Opencast series and ILIAS MediaCasts) of a course, folder or series
  • download_lecture_videos: download recordings by video ID, a few per call, skipping files that already exist

Exercise Submission

Team Management

Demo

ILIAS MCP tools demo

The demo shows this MCP server being used from Claude Code with authorized access to a user's own ILIAS courses. The final prompt about downloading assignment PDFs is included only as a capability demonstration; any actual use must respect copyright, course rules, and the permissions granted for the material. It must not be read as encouragement to scrape ILIAS, perform mass downloads, or create unnecessary load on university infrastructure.

Setup

python3 -m venv .venv
source .venv/bin/activate
pip install -e .
cp .env.example .env

Edit .env.example / .env and set your credentials. ILIAS_DOWNLOAD_DIR is optional and controls where download_file and download_repository_files store files locally; download_lecture_videos uses it as well.

Run

source .venv/bin/activate
ilias-mcp

Notes

  • Server keeps a session in memory while process is running.
  • On process restart, login is re-established on demand.
  • Downloads use the official ILIAS file routes used by the Stuttgart fork, including ilObjFileGUI sendfile and goto.php file download routes.
  • Start with list_courses, then call crawl_repository or download_repository_files with the course ref ID.
  • For lecture videos: call list_lecture_videos with a course ref ID, then download_lecture_videos with the video_ids you want. Recordings are large, so at most max_videos (default 5) are fetched per call; remaining says how many are left. Recordings whose download the lecturer disabled are listed with downloadable: false and are not fetched.
  • For deadlines: list_upcoming_deadlines reads ILIAS' own task list ("Aufgaben") in one request, plus one request per exercise for course and submission status (include_details=false skips those). It shows the assignments ILIAS currently reports as open; assignments that have not started yet are not included. The returned ref_id and ass_id work with the submission tools.
  • For exercise submission: use list_exercise_assignments to get ass_id values, then submit_exercise_file with the local file path.
  • For team management: use search_users to find a teammate's login name, then add_team_member.

❗ Responsible Use ❗

Use this server only for your own legitimate and authorized course access. Do not use it for denial-of-service behavior, excessive automated requests, mass downloads, high-frequency polling, or any other activity that could create unnecessary load on ILIAS, disrupt university infrastructure, or violate university rules.

Course material such as slides, exercise sheets, submissions, and other personal or copyrighted data must not be shared, republished, uploaded elsewhere, or used outside the intended course context without the required permission.

About

MCP server for the ILIAS platform that provides authenticated course discovery and structured tool access for LLM clients. Primarily designed for the Ilias University of Stuttgart

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages