Skip to main content
Glama
Nemoyuzx
by Nemoyuzx

WTS-bupt-unOfficial-mcp

비공식 북우전(BUPT) 모바일 교무 MCP(Model Context Protocol) 서비스: 오늘의 빈 강의실, 시간표, 그리고 두 가지의 결합 조회를 지원합니다.

서비스 요청은 오픈소스 프로젝트 where_to_study를 참고하여 이식되었습니다.

⚠️ 본 프로젝트는 비공식 서비스이며, 학습 및 교류 목적으로만 제공되며 남용하지 마십시오. 사용 시 계정 위험을 감수하는 데 동의하는 것으로 간주됩니다.

기능 (MCP Tools)

Tool

설명

get_campuses

캠퍼스 정보 (시투청 01 / 사허 04) 및 주요 교사 건물

get_classrooms

오늘의 빈 강의실 조회, campus_id / slot(1-14교시) / building 필터 지원

get_schedule

시간표 조회, 기본 현재 주, week(주차) 또는 date(날짜 소속 주) 지원

get_today_overview

결합 조회: 오늘 수업 + 각 교시별 빈 강의실 수 + 현재 교시 빈 강의실 + 하루 종일 빈 강의실

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 build

2. 환경 변수 설정

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.js

4. 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             # 单元测试(含参考项目原始响应样例)

License

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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