omnivox-mcp

omnivox-mcp

MCP server for the Omnivox platform used by Quebec CEGEPs. Enables AI agents to access course schedules, grades, MIO messages, evaluations, and documents from Omnivox-based institutions.

Category
Visit Server

README

Omnivox MCP

An MCP server that exposes Quebec college student portals (Omnivox/Lea) through MCP tools and a REST tool gateway.

It runs a persistent Puppeteer browser logged into Omnivox, executing requests through the site's own JavaScript — so challenge-response auth, cookies, and encoding are all handled natively.

Features

  • 30 MCP tools — courses, grades, schedule, calendar, messaging (MIO), documents, assignments, college news
  • Two transport modes — HTTP (default, Express server with MCP-over-HTTP + REST tool gateway) or stdio (for MCP clients)
  • REST tool gateway — all MCP tools exposed as plain HTTP endpoints for non-MCP agents
  • File downloads — direct binary or temporary browser-friendly links (15 min TTL)
  • Internal messaging — read, search, send, flag, move, and delete MIO messages
  • Persistent session — Chrome profile survives restarts, no repeated logins

Quick Start

# 1. Clone and install
git clone https://github.com/Beat-YT/omnivox-mcp.git
cd omnivox-mcp
npm install

# 2. Authenticate (first time only)
cd omnivox-connection
npm install && npm start
# Log in through the Electron window, then close it

# 3. Start the server
cd ..
npm start              # HTTP mode (default) — Express server on port 3000
npm run start:stdio    # stdio mode — for MCP clients

HTTP mode (default): Starts an Express server with MCP-over-HTTP at /mcp?key=... and a REST tool gateway. Access key is auto-generated at ~/.omnivox/accessKey.txt.

stdio mode: The MCP client launches the server as a subprocess and communicates over stdin/stdout. No Express server, no access key needed.

Each instance serves one Omnivox account. The server maintains a single browser session tied to the account you logged in with.

Re-authentication

If your session expires or you need to log into a different account, reset the session data and re-run the Electron app:

npm run reset
cd omnivox-connection && npm start
# Log in, wait for the success dialog, then close the window
cd .. && npm start

npm run reset deletes ~/.omnivox/browser/, cookies.json, and config.json so the server starts fresh on next launch.

Configuration

Set these as environment variables or in a .env file at the project root:

Variable Default Description
PORT 3000 Server port
OMNIVOX_DATA_DIR ~/.omnivox Data directory for config, cookies, browser profile, and access key
MCP_SERVER_URL (none) Optional. Public base URL that enables download link generation (get-document-link / get-assignment-file-link). Set to your public domain (e.g. https://omnivox.example.com).

Usage

MCP (for AI assistants)

stdio mode: Add the server to your MCP client config — it launches the server as a subprocess. Use npm run start:stdio. See AGENT_SETUP.md for connection config.

HTTP mode: Connect your MCP client to http://localhost:3000/mcp?key=YOUR_KEY via Streamable HTTP transport.

Either way, the AI gets access to all 30 tools — ask it about your grades, schedule, assignments, or messages in natural language.

REST Tool Gateway (HTTP mode)

For agents or apps that don't support MCP, all tools are exposed as plain HTTP endpoints:

# List all available tools
curl http://localhost:3000/tools -H "x-mcp-auth: YOUR_KEY"

# Get your courses
curl -X POST http://localhost:3000/tools/get-courses-summary \
  -H "x-mcp-auth: YOUR_KEY" -d '{}'

# Check your grades
curl -X POST http://localhost:3000/tools/get-grades-summary \
  -H "x-mcp-auth: YOUR_KEY" -d '{}'

# Read your inbox
curl -X POST http://localhost:3000/tools/get-mio-messages \
  -H "x-mcp-auth: YOUR_KEY" -d '{}'

The tools endpoint accepts JSON bodies regardless of Content-Type header — no need to set it explicitly.

Build your own projects

The REST tool gateway isn't just for AI — it's a full Omnivox API you can use in any project:

  • Grade dashboard — pull your grades into a custom web app or spreadsheet
  • Schedule widget — display your weekly timetable on a home screen or desktop widget
  • Assignment tracker — build notifications for new assignments or upcoming deadlines
  • Discord/Slack bot — get pinged when new grades or messages come in
  • Mobile app — build a custom Omnivox client with just the features you care about
  • Data export — archive your grades, documents, and messages for your own records

Any language that can make HTTP requests works — Python, JavaScript, Swift, Kotlin, Go, whatever you prefer. Use GET /tools to discover all available tools and their input schemas.

Documentation

See the Wiki for full documentation:

Is this safe?

We never see your password or data. Everything runs locally on your machine (or your own server):

  • You log in yourself through the Electron app — your Omnivox password is entered directly on the official Omnivox login page. This project never asks for, stores, or transmits your password.
  • No external servers. The MCP server runs entirely on your machine. Your data never passes through any third-party service — all requests go directly between your server and Omnivox.
  • Session stays local. The browser session and cookies are stored in ~/.omnivox/ on your disk. Only you have access to them.
  • Open source. The entire codebase is here for you to inspect. There are no hidden network calls, analytics, or telemetry.

Security best practices

  • Never expose the server without HTTPS. Use a reverse proxy (e.g. Nginx) with TLS. See the Setup wiki for a sample config.
  • Keep ~/.omnivox/ private. It contains your Omnivox session and access key. Treat accessKey.txt like a password — do not share it with anyone.
  • See Security Precautions for more details.

Disclaimer

This project is unofficial and not affiliated with, endorsed by, or associated with Skytech Communications, Omnivox, or any Quebec college. It is provided as-is for personal and educational use only. Use it at your own risk — the authors are not responsible for any consequences resulting from its use, including but not limited to account restrictions, data loss, or violations of your institution's terms of service.

License

ISC

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

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.

Official
Featured
Python
graphlit-mcp-server

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.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured