essencestudy-teacher-mcp

v0.5.0
essencestudy-teacher-mcp Checked 3 days ago Published 1 month ago

MCP server for running an EssenceStudy course from the terminal: Draft with AI, assignments, documents, real data, rubrics, enrolment, grading and usage

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

authorize_terminal

Start authorising this terminal. Returns a link and a short code IMMEDIATELY — show both to the user. They open the link in the browser where they are signed in to EssenceStudy, check the code matches, and approve. Then call finish_authorization to collect the key. This tool does NOT wait, so it cannot block your session.

ParameterTypeDescription
labelstring

finish_authorization

Collect the key after the user approved in their browser. Waits up to 60 seconds. If it reports still-pending, the user has not approved yet — ask them to, then call this again.

list_terminal_access

List the terminal keys on your account — label, when each was created and last used, and whether it is revoked.

revoke_terminal_access

Revoke one terminal key by id (see list_terminal_access). Takes effect immediately.

ParameterTypeDescription
key_id *integer

list_courses

List the courses you teach, with their codes and IDs. Start here — most other tools need a course_id.

course_detail

Full detail for one course: its assignments (with publish state and submission counts), enrolled students, co-teachers and enabled add-on features.

ParameterTypeDescription
course_id *integer

walkthrough_guide

Read the bundled course-walkthrough companion skill. Start with section='skill'; teacher_mcp explains the tool sequence, canvas the student controls, recording the media workflow, audio the speech API/voice guidance, and professor_brief/storyboard provide templates. No account access or media generation. Linked files are available through these section names even when the client has not installed the skill locally.

ParameterTypeDescription
sectionstring

prepare_walkthrough

Prepare a student walkthrough using one read-only assignment snapshot: brief, official starter Canvas, visible rubric, permitted blocks/models, timing and AI help policy. Excludes solutions, student work and document inventories whose student visibility cannot be determined. No execution, publication or video generation. Read walkthrough_guide for the companion instructions and combine the snapshot with the professor's separate notes; verify the student UI before filming.

ParameterTypeDescription
assignment_id *integer

list_assignments

List assignments you teach. Includes publish state, whether a rubric and a model solution exist, and which AI models are whitelisted.

create_assignment

Create an assignment. It is a DRAFT unless published=True — publishing is a separate, noisy step that emails every enrolled student, so the default is safe. description is markdown and becomes the student brief. whitelisted_models restricts which AI models students may choose; omit for all. enabled_blocks restricts the canvas, e.g. ['retriever','agent'] for a focused session; omit for all blocks. To have the AI write a whole assignment with the user (brief, real data, documents, rubric, canvas, checked on the platform), use draft_with_ai instead.

ParameterTypeDescription
course_id *integer
title *string
descriptionstring
due_at
enabled_blocks
max_attempts
publishedboolean
whitelisted_models

update_assignment

Update an assignment in place. Pass only what you want to change. rubric_label sets what STUDENTS see the rubric panel called — use it for ungraded sessions, e.g. 'Solution hints'. rubric_visible=False hides the rubric from students entirely. notebook=True turns on notebook mode for its Python blocks (variables carry over between connected blocks, files open by name, the last line is shown, hidden teacher checks run); the AI help settings are kept. browser_run=True runs a Python block's ▶ in the student's own browser (Pyodide): the server stays free for a full class; Deploy & Run, AI bloc…

ParameterTypeDescription
assignment_id *integer
browser_run
description
due_at
enabled_blocks
max_attempts
notebook
rubric_label
rubric_visible
title
whitelisted_models

publish_assignment

Publish or unpublish an assignment. Publishing makes it visible to the class, warms its documents, and EMAILS every enrolled student — do not use it to 'save'. Unpublishing just hides it; student work is untouched.

ParameterTypeDescription
assignment_id *integer
publishedboolean

delete_assignment

Delete an assignment and its student work. Irreversible.

ParameterTypeDescription
assignment_id *integer

attach_document

Attach a source document to an assignment. Give EITHER file_path (a local .pdf or .csv) OR url (a static page — JavaScript-rendered pages will not extract). teacher_only=True marks it as a hidden evaluation document: students never see it, and you can re-run their pipeline against it afterwards.

ParameterTypeDescription
assignment_id *integer
file_pathstring
teacher_onlyboolean
urlstring

list_documents

List documents attached to an assignment, including teacher-only evaluation documents.

ParameterTypeDescription
assignment_id *integer

delete_document

Delete one document from an assignment (see list_documents for ids — use the numeric 'id' field, not paper_id). Removes it from the student view and the retrieval index. Irreversible.

ParameterTypeDescription
assignment_id *integer
document_id *integer

run_workflow

Run your saved canvas for an assignment and return the generated report. Executes server-side (documents, retrievers, agents, data tools, report) and can take several minutes on a large pipeline. adopt_as_solution_report=True stores the report as the assignment's model solution report — do this after upload_workflow(as_solution=True), since a solution canvas has no report until something runs it.

ParameterTypeDescription
assignment_id *integer
adopt_as_solution_reportboolean
timeout_sinteger

workflow_format

The canvas workflow JSON format: node types, config keys per type, edges, and a pipeline sketch. Read this before authoring a workflow to upload.

download_workflow

Download a canvas as JSON: your own by default, a student's via student_email, or the assignment's model solution via solution=True.

ParameterTypeDescription
assignment_id *integer
solutionboolean
student_emailstring

upload_workflow

Upload a canvas (see workflow_format for the JSON arrangement). Saves to your own canvas so it is editable in the web UI. as_solution=True also adopts it as the assignment's model solution (publish_solution=True makes it visible to students). The server validates and reports every problem; warnings (unknown paperId, non-whitelisted model/tool, missing report node) come back with the save.

ParameterTypeDescription
assignment_id *integer
edges *array
nodes *array
as_solutionboolean
publish_solutionboolean

set_rubric

Write the rubric. criteria is a list of objects: [{"criterion": "Evidence discipline", "weight": 25, "descriptors": {"1": "No citations", "2": "...", "3": "...", "4": "..."}}] Weights must total 100. Descriptors run 1 (poor) to 4 (excellent). Writing a rubric is what switches the assessment UI on for this assignment.

ParameterTypeDescription
assignment_id *integer
criteria *array

get_rubric

Read an assignment's rubric back.

ParameterTypeDescription
assignment_id *integer

enrol_students

Enrol students by email. Accepts plain addresses, or objects with a name: ["a@student.rug.nl", {"email": "b@x.com", "name": "Bea"}] Each newly-added student gets a branded invitation. Institutional addresses are told to sign in with their university Google account; others have an account created with a generated password included in the email. Students already enrolled are not re-mailed, so re-running this is safe.

ParameterTypeDescription
course_id *integer
emails *array

list_students

List students enrolled in a course, including enrollment source and invite ID when available.

ParameterTypeDescription
course_id *integer

list_submissions

Every enrolled student's state for an assignment — not just those who submitted. Students who never started appear with no workflow, so you can see who is stuck.

ParameterTypeDescription
assignment_id *integer

get_submission

One student's submitted report plus their canvas (nodes and edges), for reading or reviewing in detail.

ParameterTypeDescription
assignment_id *integer
student_id *integer

grade_submission

Write a grade. grades is a list of objects: [{"criterion": "Evidence discipline", "score": 3, "comment": "..."}] Scores run 1-4 and criteria must match the rubric. This SAVES the grade — it does NOT show it to the student. Use publish_grades for that.

ParameterTypeDescription
grades *array
submission_id *integer
feedbackstring

publish_grades

Publish every graded-but-unpublished grade for an assignment at once. Each student is notified in-app AND emailed; for team submissions the whole team is told. Ungraded submissions are skipped, so nobody sees an empty grade. A saved grade is invisible to the student until this runs — that is the single most common reason a student reports 'my work was never marked'.

ParameterTypeDescription
assignment_id *integer

assignment_usage

Per-student consumption for an assignment: blocks run by type, AI calls, prompt/completion tokens and a per-model split, plus class totals. Use it to find who is looping, and what the assignment actually cost.

ParameterTypeDescription
assignment_id *integer

system_status

Live load on the backend: CPU per core, memory, disk, requests in flight against the web thread pool, and Vertex AI saturation. Admin only. deep=True also reads the database (jobs, last-hour usage). Leave it False unless you need those: the database is left asleep otherwise, and Neon bills compute while awake.

ParameterTypeDescription
deepboolean

draft_with_ai

Draft a whole assignment with AI, as a conversation: the web app's Draft with AI (brief, real data, documents, rubric and starting canvas, checked on the platform). Give the course and what you want in plain words, e.g. 'a 3-hour practice case on pricing for master students, with Python'. The AI asks instead of assuming: show its open_questions to the user and answer with ai_draft_reply. autonomy: 'check' (default: it stops for the user after the brief, the documents and the canvas, and before any repair changes what they approved), 'big' (asks only big choices) or 'auto' (builds, then shows)…

ParameterTypeDescription
course_id *integer
request *string
autonomystring
files

ai_draft_reply

Answer the AI in a Draft with AI conversation. Pick an option of one of its open_questions (question_id, plus choice: the option's value or its label), and/or say something in words (message): an answer to a free question, a correction, or a change such as 'make the rubric stricter'. files: local PDFs/CSVs to add. Returns what the AI says back and its new questions. Answer only what the user decided: the questions are theirs.

ParameterTypeDescription
conversation_id *integer
choicestring
files
messagestring
question_idstring

ai_draft_status

Where a Draft with AI conversation stands: phase (setup, planning, roadmap, building, gate = stopped for the user's answer, review = draft ready, published), the AI's last messages (with their seq, for rate_ai_message), its open questions, and the live progress of a running roadmap or build. wait_seconds (0-120) first waits for something to change: builds take 10-40 minutes, so follow them with waits instead of rapid polling.

ParameterTypeDescription
conversation_id *integer
wait_secondsinteger

ai_draft_conversations

Your recent Draft with AI conversations: id, title, phase, course and autonomy. course_id filters to one course.

ParameterTypeDescription
course_idinteger

ai_draft_settings

Change a Draft with AI conversation's settings, as on the web app's right-hand panel: autonomy ('check', 'big', 'auto') and/or setup fields: topic, subject, exam_mode (true/false), difficulty ('introductory', 'intermediate', 'advanced', 'graduate'), duration_hours, python ('lab' = a Python Lab with hidden checks, 'block' = Python as one block in a pipeline, 'none'), lab_style ('todo', 'cells', 'mixed'). The AI is told what changed.

ParameterTypeDescription
conversation_id *integer
autonomystring
setup

keep_ai_draft

Keep a finished Draft with AI draft (phase 'review') as an assignment in its course: UNPUBLISHED, with its documents, rubric, settings and starting canvas (a Python Lab keeps its notebook and hidden checks). starter: what students open with: 'auto' (the web app's default), 'default' (the built-in canvas), 'structure' (the reference pipeline's blocks without its prompts) or 'full' (the verified prompts too). publish_assignment then makes it visible to students.

ParameterTypeDescription
conversation_id *integer
starterstring

data_sources

The real data Draft with AI can fetch for a case: the built-in sources (US Census ACS and County Business Patterns, Eurostat, Google Trends (unofficial), World Bank, FRED, SEC EDGAR), each with whether it is ready on this server, and the user's own MCP data connections. The AI proposes fetches in the conversation and fetches nothing until the user agrees.

connect_data_source

Connect a data service to Draft with AI through its remote MCP address (https only), for one that needs no key. Only this user can use it. A service that needs an API key or token is added in the web app (Draft with AI: Data sources), so the key is typed into the browser once and never passes through an AI conversation; it is stored encrypted and never shown again. Check that the service's licence lets its data go to students.

ParameterTypeDescription
name *string
url *string

remove_data_source

Remove one of your data connections (ids from data_sources).

ParameterTypeDescription
connection_id *integer

rate_ai_message

Rate one of the AI's messages in a Draft with AI conversation, as the thumbs in the web app: rating 'up' or 'down', with an optional comment on what went wrong. seq comes from ai_draft_status. Rate only on the user's word.

ParameterTypeDescription
conversation_id *integer
rating *string
seq *integer
commentstring

ai_feedback

Admin: the Draft with AI feedback inbox. Each entry is one rated message with the teacher's comment, the message, the messages before it, the setup and the conversation id; most recent first. status: new (default), considered, fixed, wontfix, duplicate or '' for all; rating: 'down', 'up' or '' for both.

ParameterTypeDescription
limitinteger
ratingstring
statusstring

triage_ai_feedback

Admin: triage Draft with AI feedback: mark entries (ids from ai_feedback) considered, fixed, wontfix or duplicate, or back to new, with what was done (e.g. the commit and the change). An entry whose teacher changes it later returns to new.

ParameterTypeDescription
ids *array
status *string
resolutionstring

ai_feedback_conversation

Admin: the whole Draft with AI conversation behind a rating (read-only).

ParameterTypeDescription
conversation_id *integer