bnbu-ispace-mcp
This MCP server lets you read iSpace/Moodle course and assignment data and download course files.
Get site information, logged-in user details, and available web-service functions.
List enrolled courses with IDs, names, and progress.
Browse a course’s sections, activities, and files.
List assignments across courses or selected courses, with due dates in the configured timezone.
Check submission and grading status for a specific assignment.
List upcoming deadlines within a configurable number of days, soonest first.
Download an iSpace file to a chosen local directory, restricted to iSpace URLs.
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., "@bnbu-ispace-mcp show my upcoming iSpace assignment deadlines"
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.
bnbu-portal-mcp
中文 · English
让 AI 助手(Claude、Cursor、Codex 等)直接读取你在 北师香港浸会大学(BNBU)iSpace 上的课程、课件和作业。提供 MCP 服务器和命令行两种用法,Windows、macOS、Linux 都能用。
非官方项目,与 BNBU 无关。只会访问你自己的 iSpace 账号能看到的内容。
功能
课程:列出你已选的所有课程
课件:查看每门课的内容和文件,并下载到本地
作业:列出作业,查看提交状态
截止日期:按时间从近到远列出即将到期的作业
MIS:查看课表、成绩和 GPA(只读)
请假(Leave Application):查看你的请假记录和审批进度,以及请假表单需要填哪些项(只读,不能代你提交)
公告和文字信息:读取老师发的公告、课程页面文字(考试时间、考试范围等)、通知和消息,并可按关键词搜索(默认搜“考试/期中/期末/exam/quiz”等)
新通知提醒:只显示你还没看过的新通知(
portal-mcp new-notices);portal-mcp watch会定时检查并弹出桌面通知(Windows / macOS / Linux),可加--deadlines 24(小时) 提醒临近的截止日期。已读记录只保存在本机配置目录教学评估(MIS):查看待评估的课程(只读;没有开放时就是空列表)
提交作业:一次上传一个或多个文件,存成同一份草稿,然后提交评分。例如
portal-mcp upload-and-save-submission 123 a.pdf b.docx(MCP 参数:assignid、file_paths)填写教学评估:对待评估课程的每道评分题选最高档(评语默认留空)并提交
Related MCP server: Moodle MCP for Students
安装
把下面这段话发给你的 AI agent,让它帮你装好:
请帮我安装 https://github.com/genshinkleenahida/bnbu-portal-mcp ,按我的系统选合适的方式安装,把它配置成我所用 AI 客户端的 MCP 服务器,然后让我运行
portal-mcp login输入自己的 iSpace 账号和密码,最后用portal-mcp upcoming-deadlines验证能正常使用。
注意
本工具不会替你写作业或答题,请遵守学校的学术诚信规定。
密码只保存在你本机的系统钥匙串里(Windows 凭据管理器 / macOS 钥匙串 / Linux Secret Service),也可用环境变量
ISPACE_USERNAME/ISPACE_PASSWORD代替;不会被打印或上传到别处。命令行:每个工具都是同名命令(下划线换成连字符),输出 JSON,例如
portal-mcp search-text。
许可证
MIT
English
Lets AI assistants (Claude, Cursor, Codex, etc.) read your courses, materials and assignments on BNBU iSpace. Works as an MCP server or a CLI on Windows, macOS and Linux.
Unofficial; not affiliated with BNBU. It only sees what your own iSpace account can see.
Features
Courses: list your enrolled courses
Materials: browse each course's contents and download files
Assignments: list assignments and check submission status
Deadlines: upcoming due dates, soonest first
MIS: class timetable, grades and GPA (read-only)
Leave Application: your leave requests with approval status, and the fields of the leave form (read-only; it never submits one for you)
Announcements & course text: read teachers' announcements, course page text (exam dates, scope, etc.), notifications and messages; search by keyword (defaults to exam / midterm / final / quiz and similar)
New-notice reminders: show only notices you haven't seen (
portal-mcp new-notices);portal-mcp watchpolls and pops up a desktop notification (Windows / macOS / Linux), and--deadlines 24(hours) also reminds you of upcoming due dates. The seen-list is kept only in your local config folderTeaching evaluation (MIS): lists the courses waiting to be evaluated (read-only; an empty list just means none is listed right now)
Submitting: upload one or more files into the same draft, then submit for grading. Example:
portal-mcp upload-and-save-submission 123 a.pdf b.docx(MCP arguments:assignid,file_paths)Filling in evaluations: submits the highest option for every rating question (comment left empty)
Install
Give this to your AI agent:
Please install https://github.com/genshinkleenahida/bnbu-portal-mcp using the right method for my OS, register it as an MCP server in the AI client I use, have me run
portal-mcp loginto enter my own iSpace username and password, then verify it works withportal-mcp upcoming-deadlines.
Notes
It will not do your homework for you; follow your school's academic integrity rules.
Your password stays in your OS keychain (Windows Credential Manager / macOS Keychain / Linux Secret Service); the
ISPACE_USERNAME/ISPACE_PASSWORDenvironment variables work instead (e.g. headless Linux). It is never printed or sent anywhere else.CLI: every tool is a command of the same name (underscores become hyphens) that prints JSON, e.g.
portal-mcp search-text.
License
MIT
Available Tools
7 toolscourse_contentsA
Sections, activities and files of a course. File URLs are token-redacted; pass them to download_file.
Inputs: courseid (required). Returns: result
download_fileA
Download an iSpace file (fileurl from course_contents / list_assignments) to dest_dir (default ~/Downloads/ispace). Returns the saved path. Only iSpace URLs are allowed.
Inputs: fileurl (required), dest_dir.
list_assignmentsA
List assignments (due dates in the configured timezone, default Asia/Shanghai). Omit courseids to cover all enrolled courses.
Inputs: courseids. Returns: result
list_coursesA
List the user's enrolled iSpace courses (id, name, progress).
Inputs: no named parameters. Returns: result
site_infoA
Moodle site info and the logged-in user (name, userid, available web-service functions).
Inputs: no named parameters.
submission_statusB
Submission/grading status of one assignment (use the assignid from list_assignments).
Inputs: assignid (required).
upcoming_deadlinesA
Assignments due within the next days days, soonest first, times in the configured timezone.
Inputs: days. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct resource or view: site info, courses, course contents, assignments, per-assignment submission status, upcoming deadlines, and file download. The only mild overlap is between list_assignments and upcoming_deadlines, but the descriptions clarify the latter is a filtered, time-window view.
All names are snake_case and predictable, though a few read as bare nouns (site_info, course_contents, submission_status) while others use verb_noun (list_courses, download_file). Still readable and consistent enough that the pattern holds.
Seven tools is well-scoped for a Moodle/iSpace client, with each tool earning its place across info, listing, detail, and download operations. No redundancy or bloat.
The read surface covers the core lifecycle: courses, contents, assignments, submission/grading status, deadlines, and file retrieval. Minor gaps exist (no grade overview across courses, no assignment submission/upload), but these are workable if the integration is intentionally read-focused.
Maintenance
Related MCP Connectors
Read your plat.plus courses, tasks, course pages, sessions, files and messages. Read-only.
Read-only access to Epivo's live course catalogue for AI agents.
Search university course materials, your flashcards, quizzes, streak and quota. All tools read-only.
Read-only access to a student's recorded classes: transcripts, notes, slides and concept map.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access Canvas LMS course content, including assignments, modules, announcements, and files, to help students manage their coursework.11 npmISC
- AlicenseAqualityBmaintenanceEnables AI apps to read a student's Moodle courses, upcoming and overdue due dates, assignment submission statuses, course grades, gradebook items and announcements. It is strictly read only, so it can never submit, edit or delete anything.17186 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to inspect enrolled courses, extract readable text from course documents, track upcoming deadlines, view announcements, and retrieve assignment details through the platform’s REST API.MIT
- AlicenseAqualityCmaintenanceEnables an AI assistant to view a student's own course enrollments, deadlines, assignments, announcements, submission status, and released grades from their learning management system through read-only, policy-gated access.10Apache 2.0