essencestudy-teacher-mcp
v0.5.0MCP 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.
| Parameter | Type | Description |
|---|---|---|
label | string |
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
section | string |
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
course_id * | integer | |
title * | string | |
description | string | |
due_at | ||
enabled_blocks | ||
max_attempts | ||
published | boolean | |
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…
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
assignment_id * | integer | |
published | boolean |
delete_assignment
Delete an assignment and its student work. Irreversible.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
assignment_id * | integer | |
file_path | string | |
teacher_only | boolean | |
url | string |
list_documents
List documents attached to an assignment, including teacher-only evaluation documents.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
assignment_id * | integer | |
adopt_as_solution_report | boolean | |
timeout_s | integer |
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.
| Parameter | Type | Description |
|---|---|---|
assignment_id * | integer | |
solution | boolean | |
student_email | string |
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.
| Parameter | Type | Description |
|---|---|---|
assignment_id * | integer | |
edges * | array | |
nodes * | array | |
as_solution | boolean | |
publish_solution | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
assignment_id * | integer | |
criteria * | array |
get_rubric
Read an assignment's rubric back.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
course_id * | integer | |
emails * | array |
list_students
List students enrolled in a course, including enrollment source and invite ID when available.
| Parameter | Type | Description |
|---|---|---|
course_id * | integer |
create_invite_link
Get or create a join link for a course, optionally landing on an assignment. Joining enrolls the student in the whole course. Defaults to institutional addresses; custom rules accept allowed_domains/allowed_emails. Anyone links require expiry and a use cap (backend defaults: seven days, 200 joins). Returns the backend's absolute URL, access rules and counts. Does not send email, publish assignments, or enroll anyone by itself.
| Parameter | Type | Description |
|---|---|---|
course_id * | integer | |
access | string | |
allowed_domains | ||
allowed_emails | ||
assignment_id | ||
expires_at | ||
max_uses |
list_invite_links
List all course and assignment join links, their rules, status and join counts.
| Parameter | Type | Description |
|---|---|---|
course_id * | integer |
revoke_invite_link
Revoke an invite link so it cannot enroll new students. Existing course members keep their access. Does not remove students or send messages.
| Parameter | Type | Description |
|---|---|---|
invite_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.
| Parameter | Type | Description |
|---|---|---|
assignment_id * | integer |
get_submission
One student's submitted report plus their canvas (nodes and edges), for reading or reviewing in detail.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
grades * | array | |
submission_id * | integer | |
feedback | string |
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'.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
deep | boolean |
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)…
| Parameter | Type | Description |
|---|---|---|
course_id * | integer | |
request * | string | |
autonomy | string | |
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.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | integer | |
choice | string | |
files | ||
message | string | |
question_id | string |
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.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | integer | |
wait_seconds | integer |
ai_draft_conversations
Your recent Draft with AI conversations: id, title, phase, course and autonomy. course_id filters to one course.
| Parameter | Type | Description |
|---|---|---|
course_id | integer |
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.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | integer | |
autonomy | string | |
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.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | integer | |
starter | string |
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.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
url * | string |
remove_data_source
Remove one of your data connections (ids from data_sources).
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | integer | |
rating * | string | |
seq * | integer | |
comment | string |
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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
rating | string | |
status | string |
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.
| Parameter | Type | Description |
|---|---|---|
ids * | array | |
status * | string | |
resolution | string |
ai_feedback_conversation
Admin: the whole Draft with AI conversation behind a rating (read-only).
| Parameter | Type | Description |
|---|---|---|
conversation_id * | integer |