College AI Assistant
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., "@College AI AssistantList students with attendance less than 80%"
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.
College AI Assistant
An interactive assistant for managing and querying college student information (profiles, marks, attendance) using an MCP-based tool server and the Google Gemini model.
Project: A small demo combining an MCP tool server (server.py) that exposes student data and tools, a CLI agent (ai_agent.py), a FastAPI wrapper (api.py) and a simple web UI (web/). Data is stored in a local SQLite database (college.db) managed by database.py.
Features
Search students and view profiles.
View marks and attendance per student.
Find low-attendance students below a threshold.
CLI agent, HTTP API, and a browser-based frontend.
Repository Structure
ai_agent.py — CLI client that runs the interactive assistant.
api.py — FastAPI server exposing
POST /chatfor the web UI and other clients.server.py — MCP tool server exposing student-related tools.
database.py — SQLite helpers, schema creation and sample data.
config/settings.py — configuration (Gemini model, MCP command/file).
agent/ — adapter code that integrates Gemini and MCP tools (
agent.py,mcp_client.py,tool_adapter.py).web/ — static web UI:
index.html,script.js,style.css.requirements.txt — Python dependencies.
Requirements
Python 3.9+ (recommended)
Add your dependencies and install with:
pip install -r requirements.txtEnvironment
Create a .env file in the project root with at least:
GEMINI_API_KEY=your_gemini_api_key_hereThe Gemini model used is configured in config/settings.py (default: gemini-2.5-flash).
Setup & Run
Initialize the database (creates schema and inserts sample data):
python database.pyRun the MCP tool server (exposes tools from
server.py):
python server.py3a. Run the CLI agent (connects to the MCP server and Gemini):
python ai_agent.py3b. Or run the HTTP API (FastAPI) which the web UI uses:
uvicorn api:app --reload --host 127.0.0.1 --port 8000Open the web UI: open web/index.html in your browser. The UI posts to
http://127.0.0.1:8000/chatby default.
API
GET /— health check returning a running message.POST /chat— accepts JSON{ "message": "...", "session_id": "optional" }and returns{ "session_id": "...", "response": "..." }.
Configuration notes
MCP server command and file are defined in config/settings.py:
MCP_SERVER_COMMANDandMCP_SERVER_FILE.The project uses a local SQLite database file named
college.db.Gemini API quota errors are handled and surfaced to users when the model responds with quota/exhaustion errors.
Development
To iterate quickly: run the MCP server and the API locally, then open the web UI. Use the sample buttons for example queries.
To re-seed sample data: re-run
python database.py(this will create tables and insert sample rows).
Troubleshooting
If the web UI shows "Unable to connect", ensure the API is running at
127.0.0.1:8000.If Gemini responses fail with quota errors, check your
GEMINI_API_KEYand usage limits.
If you'd like, I can also: run tests (if added), create a docker-compose for easy local launches, or add a minimal Makefile/scripts to automate startup.
This server cannot be installed
Maintenance
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
- Alicense-qualityBmaintenanceAI-powered Teacher Assistance MCP Server for managing student records with PostgreSQL, enabling create and read operations via MCP tools.MIT
- Flicense-qualityCmaintenanceEnables an AI assistant to help students by providing tools for math calculations, attendance tracking, marks analysis, reading PDF notes, searching lecture notes, and checking college regulations.
- Alicense-qualityCmaintenanceMCP server that provides intelligent student assistance tools for academic calculations, attendance tracking, marks analysis, and syllabus reading via Groq LLM.1MIT
- Flicense-qualityBmaintenanceMCP server enabling AI assistants to query Myongji College data, including real-time library seat availability, campus notices, department lists, and course search (with user login). All tools are read-only and can be composed to answer complex campus-related questions.
Related MCP Connectors
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Abhi122005/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server