Connect an AI

Connect Mistral, Claude, ChatGPT, or another AI assistant to DTeach over MCP. It reads your courses and proposes edits you approve.

You already use an AI assistant such as Mistral, Claude, ChatGPT, Claude Code, Codex, Gemini, Cursor, or VS Code. Connect it to DTeach and it can work on your courses: read them, answer questions about them, quiz you on them, draft a new lesson, redraw a diagram. Every edit to your lessons and diagrams waits for your approval.

What MCP is

MCP (the Model Context Protocol) is a standard way for an AI assistant to use outside tools. Without it, the assistant only knows what you paste into the chat. With DTeach connected over MCP, it can open your courses itself, the way you would.

What it can do

With access thatโ€ฆThe assistant can
Reads onlyList your courses, browse their outline, read any document, and quiz you on a course, then correct your answers.
Reads & proposes changesAlso create a course, rename a course or a lesson, and propose edits to paragraphs, new lessons or slides, section deletions, and diagrams on a whiteboard, including flowcharts, equations, and function graphs.

It sees what you see: the courses you belong to, with your role. A student's assistant can read the course to explain it or quiz them; it cannot propose changes to a course they cannot edit.

Some things to ask it:

  • "Summarise chapter 3 of my thermodynamics course in ten bullet points."
  • "Write an exercise sheet for the lesson on derivatives, as a new section after it."
  • "Turn the steps of this algorithm into a flowchart on the whiteboard."
  • "Find the typos in my Python course."

You approve every edit

The assistant never writes into your lessons, presentations, or diagrams directly. Each change arrives as a proposal in the Proposals tab of the right panel, shown in place in the document. Review it, then Accept or Reject it. Accept all and Reject all handle every proposal at once.

Three actions apply right away, because they leave the content of a course as it is: creating a course, changing a course's name or description, and renaming a lesson or presentation.

Connect your assistant

There are two ways in. Assistants that support sign-in connect with your DTeach account, in a few clicks and with no key to copy. The others use a key.

AssistantHow it connects
Mistral, Claude, ChatGPT, Claude CodeSign in
Cursor, VS Code, Codex, Gemini CLIA key

Sign in

Add DTeach to your assistant

In Le Chat, open the Connectors page. Press Add Connector, choose the Custom MCP Connector tab, name it dteach, and paste this URL:

https://mcp.dteach.net/mcp

Then press Connect.

Sign in to DTeach

Your browser opens DTeach. Sign in as usual if you are not already.

You reach DTeach from Moodle and have no password? Open any course from Moodle in the same browser first, then come back and connect. DTeach recognises you from that visit.

Choose what it can do

DTeach shows which assistant is asking. Choose Read only or Read & propose changes, then press Allow. You land back in your assistant, connected.

With a key

Create a key

Where keys live depends on how you reach DTeach.

Open the menu under your name at the bottom of the dashboard sidebar, then MCP keys.

Name the key after the device or the tool that will use it (My laptop, for example), choose Read only or Read & propose changes, and press Create key.

Copy the setup for your client

DTeach shows the exact command or configuration for your client under Connect your MCP client. Pick yours, copy it, and run it or paste it where it says.

This is the only time the key is shown. Copy it now. If you lose it, revoke it and create a new one.

Ask

Open your assistant and ask about your courses. The first time, it may ask your permission to use the DTeach tools.

For reference, this is what the setup looks like. Use the one DTeach generates, which already contains your key:

~/.cursor/mcp.json
{
  "mcpServers": {
    "dteach": {
      "url": "https://mcp.dteach.net/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}

Tools

What your assistant sees once connected. Tools marked Propose or Edit only appear with Read & propose changes access, and only change courses you can edit. Edit tools apply right away; Propose tools wait for your review.

ToolWhat it doesAccess
List my coursesLists the courses you belong to, with your role.Read
Get course outlineShows a course as a tree of lessons and presentations.Read
Read documentReads a lesson or a presentation, diagrams included.Read
Ask practice questionAsks you a multiple-choice question on a course, its own or one of the course's quizzes.Read
Correct practice answerCorrects your answer and shows the explanation.Read
Grade practice answerRecords whether your reasoning holds.Read
Create courseCreates a new private course.Edit
Update courseChanges the name or description of a course you teach.Edit
Rename levelRenames a lesson or presentation.Edit
Propose lesson editsProposes changes to blocks of a lesson, all in one go.Propose
Propose new lesson or presentationProposes a new level in a course.Propose
Propose level deletionProposes to delete a level and what it holds.Propose
Propose diagramProposes a new whiteboard diagram, or a full redraw.Propose
Propose diagram changesProposes edits to an existing diagram or slide canvas.Propose
List pending proposalsLists the proposals still waiting for your review.Propose
Withdraw proposalsWithdraws one or more of its pending proposals.Propose

Manage access

Your connections and keys live in the same place: the MCP keys page, or Settings for a course opened from Moodle.

  • Connected apps lists every assistant you connected by signing in, with its access. Disconnect cuts its access right away; connect it again at any time.
  • A key acts as you. Keep it as you would a password.
  • Each key shows when it was last used. Revoke key cuts its access right away.
  • You can keep up to ten keys. One per device or tool makes revoking one painless.

Privacy and support

An assistant connected to DTeach reads only what you can read, and only when you ask it to. DTeach does not store your conversations with it. See the privacy policy for how DTeach handles your data, and write to contact@dteach.net with any question.