my-epitech-mcp
Provides statistics on commits and lines of code across the user's Epitech GitHub organizations.
Click on "Deploy 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., "@my-epitech-mcp show me why my latest moulinette failed and which tests are failing"
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.
my-epitech-mcp
Your my.epitech.eu, as tools an AI agent can use. Moulinette results down to each failing test, projects and deadlines, marks, credits, and more.
Planning and registrations are epiplan's job. This one covers everything else.
What it does
Tells you why a moulinette failed: the failing test, its message, the delivery error, the coding style rule
Lists your projects with days left and their last run
Reads project subjects (PDFs converted to text)
Shows marks, defense grids and evaluator comments
Explains your credits: acquired, projected, at risk, lost
Stays logged in on its own, Microsoft SSO included
What it never does
Show other students' names or logins
Name your evaluators
Launch a moulinette run without a dry run first
Write anything unless
MY_EPITECH_WRITES=1Go past its write budget
Present projected credits as acquired ones
AI agent ──MCP──▶ server.ts ─▶ tools.ts ─▶ api.ts ─▶ client.ts ─▶ my.epitech.eu/api
(you ask) stdio │ │ │
│ small objects, └─ tokens.ts: rotating refresh,
│ no classmates' lock file, then sso.ts:
│ names headless Microsoft re-login
└─ dry run + audit log
for the one writeUnofficial project. It talks to the same private API as the website, with your own account. Use it at your own risk.
Install
git clone https://github.com/daniilsys/my-epitech-mcp && cd my-epitech-mcp && npm install
node src/cli.ts login # paste the token value, then Ctrl-D
claude mcp add my-epitech -- node "$PWD/src/server.ts" # or any MCP clientIn the DevTools console of a logged-in my.epitech.eu tab:
copy(localStorage['@account']); localStorage.removeItem('@account')Removing it from the browser matters: the refresh token rotates on every use, so the browser and the server must not share one. The site logs you back in through Microsoft on the next load.
Stay logged in
The refresh token dies after a few days unused. Anything that calls the API every few hours keeps it alive, or run node src/cli.ts keepalive from cron.
For a real safety net, save your Microsoft session once, as epiplan does. When the refresh token is dead, the session is replayed in a headless Chromium and fresh tokens come back without you.
npx playwright-core install chromium-headless-shell
node src/cli.ts login --browser # visible browser, MFA ok, tick "Stay signed in"
node src/cli.ts import-session session.json # or reuse an epiplan session.jsonThe session file opens your whole Microsoft account, mail included. Keep it0600, treat it like a password, and don't use the same one on two machines.
Related MCP server: moodle-mcp
Tools
Dates are Europe/Paris. From the shell, node src/cli.ts <tool> '<json>' runs a read tool, or the dry run of a write tool:
node src/cli.ts moulinette_results '{"failing_only":true}'Safety
Your agent's own permission prompt on each real write is the last line of defence. Don't set "always allow" on the write tool.
Variable | Default | Purpose |
|
| Internal access and refresh tokens |
|
| Saved Microsoft session, for silent re-logins |
| unset | Must be |
|
| Real writes per process |
|
| Write audit log |
Command | What it does |
| Paste the token value (stdin) |
| Log in with Microsoft in a visible browser, save the session |
| Reuse a saved session, then log in silently |
| Silent Microsoft re-login now |
| Token state (never the tokens) |
| Refresh if the access token has less than 3 h left |
| MCP server on stdio |
| Run a tool from the shell |
import { Epitech, EpitechClient, TokenStore, TOOLS } from "my-epitech-mcp";
const tokens = new TokenStore({ file: "/path/tokens.json" });
const ep = new Epitech(new EpitechClient({ tokens }));
await ep.moulinetteResults({ failingOnly: true });TOOLS[i].input(z) builds each schema with your own zod instance. Write tools expose check (dry run) and apply separately, for hosts with their own confirmation flow.
API notes
What was reverse engineered, endpoint by endpoint, with the pitfalls: docs/API.md. It complements epiplan's notes on auth and planning.
License
Available Tools
14 toolsepitech_github_statsGitHub activityARead-only
My commits and lines added/deleted on the Epitech GitHub organisations, optionally between two dates (YYYY-MM-DD).
Inputs: to, from.
epitech_invitationsProject invitationsCRead-only
Pending invitations to join a project group.
Inputs: no named parameters.
epitech_marksMarksARead-only
Published marks and evaluation grids (defenses, reviews, pitches, exams), newest first, with criteria and evaluator comments. Evaluators are not named. since filters by date. Dates are local time (Europe/Paris): 'YYYY-MM-DD' (midnight) or 'YYYY-MM-DD HH:MM'.
Inputs: limit, since.
epitech_moulinette_historyMoulinette historyBRead-only
Every moulinette run of one project, oldest first, to see the progression. unit and slug come from epitech_moulinette_results.
Inputs: slug (required), unit (required), year.
epitech_moulinette_resultsMoulinette resultsARead-only
Latest automated test run (moulinette / Hermes) of each project this year, newest first: tests passed/total, failure flags (delivery-error, make-error, crash, coding-style-fail…), coding style counts and penalty, coverage. Use project/unit to filter, failing_only for what needs work.
Inputs: unit, limit, project, failing_only.
epitech_moulinette_runMoulinette run detailARead-only
One moulinette run in detail: every test with its failure message, coding style errors by rule, coverage, delivery error and traces. Ids come from epitech_moulinette_results.
Inputs: run_id (required), project_instance_id (required).
epitech_notificationsNotificationsCRead-only
The intranet notification feed: registrations, cancellations, schedule changes, published results.
Inputs: limit.
epitech_peer_evaluationsPeer evaluationsBRead-only
Peer evaluations I must do (status) and the marks and comments my peers gave me.
Inputs: no named parameters.
epitech_profileProfileBRead-only
My cohort: cursus, year, semester, promotion, campus. No login or name.
Inputs: no named parameters.
epitech_progressProgressARead-only
Where I stand: credits actually acquired, plus the school's projections (credits obtainable with current registrations, maximum still obtainable, units at risk or lost), skill blocks and learning outcomes, blocking exams (TEPitech…), alerts, XP and streak. Projections are not acquired credits: never present them as such.
Inputs: no named parameters.
epitech_projectProject detailBRead-only
One project: description, dates, my group, my activities (kick-off, follow-ups, defenses) with attendance, subject files, and the moulinette runs I can still launch.
Inputs: project_instance_id (required).
epitech_project_fileProject file textBRead-only
Text of one project resource, e.g. the subject PDF (path from epitech_project.resources). PDFs are converted to text.
Inputs: path (required), project_instance_id (required).
epitech_projectsProjectsARead-only
My projects this year with deadlines (end, days_left), group size and the last moulinette result. status: current (default), upcoming, past, all.
Inputs: status.
epitech_school_calendarSchool calendarCRead-only
School and company weeks of my year (training planning).
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools target clearly distinct resources (marks, notifications, invitations, calendar, GitHub stats), and the moulinette trio is well separated by scope: list summaries, one run in detail, one project's history. The only real friction is the singular/plural pair epitech_projects vs epitech_project and the related epitech_project_file, which rely on descriptions to disambiguate list-view versus detail-view.
Every tool follows the same epitech_<noun> snake_case convention with no mixing of styles or verb patterns. Singular/plural is used deliberately and consistently to signal list vs single-item access, which is a predictable scheme an agent can learn.
14 tools is squarely in the well-scoped range for a student intranet surface covering projects, moulinette results, marks, progress, notifications and calendar. Each tool maps to a distinct data area with no filler entries.
Read coverage is strong across the whole lifecycle: projects, deadlines, moulinette runs and history, subject files, marks, peer evaluations, progress, notifications, invitations and calendar. The notable gap is action coverage — epitech_project mentions moulinette runs 'I can still launch,' but no tool exists to launch a run, accept an invitation, or register/deregister from a project.
Maintenance
Related MCP Connectors
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Scrape X, Reddit, LinkedIn, GitHub, Instagram and TikTok data as tools for AI agents.
Web search, data extraction and controlled browser automation for AI assistants via OAuth.
Live web checks for AI agents: sitemaps, robots.txt, URL status, broken links, feeds, citations.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceConnects AI agents to the École Directe API to access grades, homework, timetables, school life, messages, and documents.-
- AlicenseAqualityCmaintenanceEnables AI agents to access a student's EPFL Moodle data—deadlines, course files, assignments, forums, and grades—through read-only tools.12MIT
- AlicenseNot gradedqualityCmaintenanceEnables an AI agent to read your my.epitech.eu planning — modules, events, seats, slots and existing bookings — and to register or unregister for activities with mandatory dry runs, guardrails and a write budget. Authenticates via your own Microsoft SSO session without storing a password.15MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding assistants to query a student's eLearning assignments and deadlines, timetable, exams, grades, library resources, notices, campus card balance, dorm electricity, and read-only mail, and to download course files.28 npm5MIT