Mahidol ICT · Read-only MCP

Connect your AI to Mahidol ICT

Ask ChatGPT or Grok about classes, deadlines, and course files using your own university account.

Set up an AI client

MCP endpoint

https://ict.tinywifi.cc/api/mcp
Streamable HTTP

Set up your client

ChatGPT

  1. In ChatGPT settings, enable developer mode if your account or workspace offers it.
  2. Create a custom MCP app and paste the endpoint above. Choose OAuth if ChatGPT asks.
  3. Sign in with Mahidol on this site and select Allow access.

Grok CLI

  1. Create a bearer token, then paste this block into ~/.grok/config.toml. Creating a token on this page fills it in below.
  2. Start a new Grok session and ask for your schedule.
[mcp_servers.ict_bridge]
url = "https://ict.tinywifi.cc/api/mcp"
headers = { Authorization = "Bearer PASTE_YOUR_TOKEN" }
enabled = true

Other Streamable HTTP MCP clients can send the same Authorization header.

Manage access

Sign in with Mahidol

Sign in to create and revoke tokens. ChatGPT starts its own OAuth sign-in from the app setup.

This independent service sends your password to Mahidol’s identity provider over HTTPS and discards it. It stores only the encrypted session and the records needed to manage access.

Available tools

Try “List what I missed this week and summarize the first assignment file.”

get_profile
Get the academic identity fields published by MyProfile, including program and advisor.
get_schedule
Get classes, room changes, cancellations, makeups and exams in a YYYY-MM-DD range. Defaults to seven days.
list_assignments
List assignments and quizzes, with due dates and submission status when MyCourses publishes it.
get_attendance
Read attendance by course and date. Optional dates use YYYY-MM-DD.
list_courses
List enrolled MyCourses titles and IDs. Optionally filter by title or course code.
get_course
Get sections, assignment and quiz IDs, course materials, and file IDs in an enrolled course.
get_grades
Read the GPA and published course grades from MyProfile. Optionally select a course code.
get_exams
Read MyProfile exam times, rooms, seat information, and published notices.
get_activity
Read an assignment, quiz, page or folder description and attachment IDs from an enrolled course.
download_course_file
Read a file as extracted text or lossless base64. Use next_offset for more bytes, or open the browser download URL.
download_section_files
Read up to ten section files, including folders, in one call. Returns text or base64 previews and browser download URLs.
get_week_overview
Get this Bangkok week's class schedule plus assignments due within seven days.

For ZIPs, slides, images, or starter code, request format: "base64" or open the browser download link. File links require a signed-in browser.