Skip to main content

MCP server for Hansung University student services, starting with facility reservation.

Project description

Hs-MCP

한성대학교 학생 서비스용 로컬 MCP 서버입니다. MVP는 시설예약 기능부터 제공합니다.

이 프로젝트는 한성대학교 공식 서비스가 아닙니다.

MVP 범위

지원 예약 영역:

  • coding_lounge: 코딩라운지 세미나실 101호~113호
  • sangsang_park_plus: 상상파크 플러스 소모임실 6개
    • Critical Thinking, Creativity, Convergence, Communication, Collaboration, Challenge
    • 1회 최대 3시간 제한
  • sangsang_base: 상상베이스 세미나실/IB 공간
    • 세미나실(IB111), IB101~IB108

지원 기능:

  • 예약 공간 목록 조회
  • 특정 날짜/시간 예약 가능 여부 확인
  • 가능한 대체 공간 추천
  • 실제 예약 신청(명시 확인 필요)
  • 내 예약 목록 조회

보안/인증 원칙

  • 학생 개인 PC에서 로컬 MCP 서버로 실행합니다.
  • 학교 계정 정보는 개발자 서버로 전송하지 않습니다.
  • 비밀번호는 저장하지 않습니다.
  • 로그인 후 발급된 세션 쿠키만 OS 보안 저장소(macOS Keychain, Windows Credential Manager, Linux Secret Service 등)에 저장합니다.
  • 언제든 hs-mcp logout으로 저장된 세션을 삭제할 수 있습니다.
  • 실제 예약은 기본값 dry_run=true이며, dry_run=falseconfirm=true가 모두 있어야 실행됩니다.
  • 실제 예약 후 내 예약 목록에서 신청 내역을 확인하지 못하면 성공으로 처리하지 않습니다.
  • 내 예약 목록의 이름/학번은 기본적으로 마스킹되며, 필요한 경우에만 include_personal_info=true로 명시 조회합니다.
  • 날짜는 YYYY-MM-DD, 시간은 정각 HH:00 형식만 허용합니다.

설치/개발

python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"
pytest

CLI

hs-mcp login    # 학교 계정 로그인, 세션만 OS 보안 저장소에 저장
hs-mcp status   # 저장된 세션 확인
hs-mcp logout   # 저장된 세션 삭제
hs-mcp doctor   # 로컬 환경 점검

MCP 클라이언트 설정 예시

{
  "mcpServers": {
    "hansung_facility": {
      "command": "hs-mcp-server",
      "args": []
    }
  }
}

제공 도구

모든 도구는 선택 파라미터 area를 지원합니다. 기본값은 coding_lounge입니다.

지원 area 값:

  • coding_lounge
  • sangsang_park_plus
  • sangsang_base

예시 요청:

facility_list_spaces(area="sangsang_park_plus")
facility_check_availability(area="sangsang_base", space="IB101", date="2026-05-22", start_time="13:00", end_time="15:00")
facility_create_reservation(area="sangsang_park_plus", space="소모임실 Creativity", date="2026-05-22", start_time="13:00", end_time="15:00", dry_run=true)

도구 목록:

  • facility_status
  • facility_list_spaces
  • facility_check_availability
  • facility_find_alternatives
  • facility_create_reservation
  • facility_list_my_reservations — 기본적으로 개인정보 마스킹, 필요 시 include_personal_info=true

현재 구현 상태

현재 버전은 MVP 스캐폴딩입니다. 핵심 도메인 로직과 MCP/CLI 뼈대, 안전장치, 테스트를 포함합니다. 실제 학교 사이트 연동은 HTML/엔드포인트 변경 가능성이 있으므로 통합 테스트를 통해 점진적으로 보강해야 합니다.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hs_mcp-0.1.0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hs_mcp-0.1.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file hs_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: hs_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for hs_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b14a2aa30a5335f30efcfdf8b504d4e7e92e651aadce7a724ce7ad69c8f61df8
MD5 e71744f35d186c1ee8bda59bc5968d17
BLAKE2b-256 c693ddd59e0d82ca8ee614e542c628b6ffb2a8f71038cb530d70ed368c019113

See more details on using hashes here.

File details

Details for the file hs_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hs_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for hs_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3b24f8332df63ff62bc7a6c58a1d0d96ed246b035cdc34a9aff26a172ce5ffc
MD5 38ec30d3653fa7fcb29234372c26828d
BLAKE2b-256 1d6a84e11195c7e69e538d74dd57237a227011df24c7d3fcf83868c0beb94b75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page