We wanted to build a course for new Mastra devs to get started quickly. However, we knew videos would go out of date and be more difficult to maintain.
We decided to launch our "course" as an MCP server. This way your coding agent actually teaches the course content to you and can help you write the code. We think this is a really interactive way to learn.
Using an editor with MCP support (such as Cursor, Windsurf, or VSCode), your code agent will call the appropriate MCP tools which will return context for the agent. This context tries to instruct the agent that it should be teaching you the content, not just doing the work for you.
The course is still pretty experimental and some models work better than others. Code is available in the Mastra Github repo in the mcp-docs-server package (https://github.com/mastra-ai/mastra/tree/main/packages/mcp-d...)
if you do find things that need improvement, please let us know in our discord or on x!
If you are looking for a more general overview on agent development, my co-founder wrote a short book (available free at https://mastra.ai/book)
While most implementations are similar they are not easily transferable.
on the site there is no "begin course". the only thing you can see is the course outline and click links to intro videos.
is there a course on taking the course?
don't want to build the "meta-course" but we are going to improve the getting started instructions.
Basic steps are: 1. Copy the command on the course page in your terminal 2. Open that folder up in your editor and make sure the Mastra MCP Docs Server is available to your editor 3. Say something like "start mastra course" to your code agent and it should start working
Still very experimental though and depending on editor/model the results do vary a bit
I definitely remember spending time on Codecademy years ago
This is not enough information for someone new to MCP / agents to start the course. What you actually need to point out, is that users need to type "startMastraCourse" into their IDE's agent mode to actually start the course.