FAST-NUCES Flex Student Portal MCP Server
Connects AI assistants to the FAST-NUCES Flex Student Portal, enabling students to query their academic data including attendance, marks, transcript, and fee reports through natural language conversations.
README
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.txt -
Create
.envfile with your credentials:FLEX_ROLL_NO=22F-XXXX FLEX_PASSWORD=your_password -
Configure your MCP client:
<details> <summary><b>Claude Desktop</b></summary>
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" } } } }</details>
<details> <summary><b>GitHub Copilot</b></summary>
Add to your MCP settings:
{ "flex": { "command": "python", "args": ["C:/path/to/FLEX/server.py"] } }</details>
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 |
|---|---|
login |
Opens Chrome for CAPTCHA-authenticated login |
get_attendance |
Fetches attendance for all courses |
get_marks |
Gets detailed marks with class statistics |
get_transcript |
Full academic transcript with GPAs |
get_mca |
Modified Class Average for relative grading |
get_courses |
Current semester registered courses |
get_fee_report |
Payment history and fee details |
check_login_status |
Verify if session is active |
Project Structure
FLEX/
├── server.py # MCP entry point
├── auth.py # Login & session management
├── tools/ # MCP tool implementations
│ ├── login.py
│ ├── attendance.py
│ ├── marks.py
│ ├── transcript.py
│ ├── mca.py
│ ├── courses.py
│ ├── fees.py
│ └── status.py
└── parsers/ # HTML parsing logic
├── attendance.py
├── marks.py
├── transcript.py
├── courses.py
├── fees.py
└── challan.py
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.