Click on "Install 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., "@FAST-NUCES Flex Student Portal MCP Servershow me my attendance for this semester"
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.
FAST-NUCES flex Student Portal MCP Server
An MCP server that connects AI assistants like Claude Desktop or GitHub Copilot directly to your Flex Student Portal. Ask questions about your academic data in plain English.
What Can You Do?
Once connected, just chat naturally:
Ask This | Get This |
"Roast my transcript" | A brutally honest AI review of your transcript |
"Am I passing PF?" | Quick calculation of your current standing |
"How many classes did I bunk?" | Attendance reality check |
"Compare my marks to class average" | See where you stand vs classmates |
Requirements
Python 3.11+
Google Chrome installed (for login automation)
Claude Desktop or GitHub Copilot (with MCP support)
Installation
Clone and install dependencies:
git clone <repo-url> cd FLEX pip install -r requirements.txtCreate
FLEX_ROLL_NO=22F-XXXX FLEX_PASSWORD=your_passwordConfigure your MCP client:
Edit
%APPDATA%\Claude\claude_desktop_config.json:{ "mcpServers": { "flex": { "command": "python", "args": ["C:/path/to/FLEX/server.py"], "env": { "FLEX_ROLL_NO": "22F-XXXX", "FLEX_PASSWORD": "your_password" } } } }Add to your MCP settings:
{ "flex": { "command": "python", "args": ["C:/path/to/FLEX/server.py"] } }
Usage
Start your MCP client (Claude Desktop / Copilot)
The first time, say "Login to FLEX" ,Chrome will open for CAPTCHA
If image CAPTCHA appears, solve it manually (you have 2 minutes)
Once logged in, ask away!
Available Tools
Tool | Description |
| Opens Chrome for CAPTCHA-authenticated login |
| Fetches attendance for all courses |
| Gets detailed marks with class statistics |
| Full academic transcript with GPAs |
| Modified Class Average for relative grading |
| Current semester registered courses |
| Payment history and fee details |
| Verify if session is active |
Project Structure
Notes
Login session persists until you restart the MCP server
Chrome must be installed (Other browsers are not supported, well if you can add support please do)
Your credentials are only used locally, never transmitted elsewhere
Image CAPTCHAs require manual solving, the browser stays open for you