WTS-bupt-unOfficial-mcp
WTS-bupt-unOfficial-mcp
非公式の北郵(BUPT)モバイル教务 MCP(Model Context Protocol)サービス:今日の空き教室、時間割、および両者の複合検索を提供します。
サービスリクエストは、オープンソースプロジェクト where_to_study を参考に移植されています。
⚠️ 本プロジェクトは非公式サービスであり、学習・交流目的のみでご利用ください。アカウントリスクは自己責任で承諾したものとみなします。
機能(MCP Tools)
Tool | 説明 |
| キャンパス情報(西土城 01 / 沙河 04)および主要な校舎 |
| 今日の空き教室を検索。 |
| 時間割を検索。デフォルトは今週。 |
| 複合検索:今日の授業 + 各時限の空き教室数 + 現在の時限の空き教室 + 終日の空き教室 |
Related MCP server: mydy-lms
クイックスタート
1. クローンとインストール
git clone https://github.com/Nemoyuzx/WTS-bupt-unOfficial-mcp.git
cd WTS-bupt-unOfficial-mcp
npm install
npm run build2. 環境変数の設定
export BUPT_USER_NO=你的学号
export BUPT_PWD=你的移动教务密码
export BUPT_CAMPUS_ID=01 # 可选,默认 01=西土城;04=沙河
export BUPT_TERM_START_DATE= # 可选,学期开学日 YYYY-MM-DD(无法从接口推断时兜底)3. 直接実行
node dist/index.js4. Claude Desktop / Cursor などの MCP クライアントに接続
MCP クライアントの設定に追加(stdio 方式):
{
"mcpServers": {
"wts-bupt": {
"command": "node",
"args": ["/绝对路径/WTS-bupt-unOfficial-mcp/dist/index.js"],
"env": {
"BUPT_USER_NO": "你的学号",
"BUPT_PWD": "你的密码",
"BUPT_CAMPUS_ID": "01"
}
}
}
}使用例
MCP クライアントに質問:
「今日の沙河キャンパス3限の空き教室を調べて」
「今週の授業は?」
「今空いている教室は?」(複合検索:
get_today_overview)
開発とテスト
npm test # 使用 where_to_study 的原始响应样例做解析器单测
npm run build # 编译到 dist/ディレクトリ構成
src/
├── index.ts # MCP 服务入口(4 个工具)
├── api.ts # 移动教务 HTTP 客户端(登录/课表/空教室)
├── date.ts # 北京时区日期/周次/节次工具
├── parsers/
│ ├── classrooms.ts # 空教室响应解析(移植 SJDClassroomParser)
│ └── schedule.ts # 课表响应解析(移植 SJDScheduleParser + ScheduleLogic)
└── types.ts # 数据模型(Course / Classroom / 节次时刻表)
test/
└── run-tests.ts # 单元测试(含参考项目原始响应样例)ライセンス
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server for the Bakaláři v3 API that provides access to the popular Czech school management system. It enables users to retrieve schedules, permanent timetables, absence records, and grades through a standardized interface.3MIT
- Flicense-qualityCmaintenanceAn MCP server for interacting with the MyDy (Moodle-based) LMS, enabling attendance viewing, course browsing, assignment and grade checking, announcement reading, and material downloading.7
- Flicense-qualityBmaintenanceMCP server for NTUT iSchool+ that enables AI to query course schedules, syllabi, files, bulletins, and more through natural language.
- Flicense-qualityBmaintenanceMCP server that aggregates department notices and provides structured answers to queries about courses, schedules, and academic dates via tool calling.
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
An MCP server for deep research or task groups
MCP server for Zooza — class scheduling, attendance, and booking for activity businesses.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nemoyuzx/WTS-bupt-unOfficial-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server