Show HN: A “Course” as an MCP Server
213 points| codekarate | 8 months ago |mastra.ai
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...)
keeganpoppen|8 months ago
flippyhead|8 months ago
codekarate|8 months ago
if you do find things that need improvement, please let us know in our discord or on x!
hofo|8 months ago
codekarate|8 months ago
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)
jsemrau|8 months ago
While most implementations are similar they are not easily transferable.
djfivyvusn|8 months ago
Gorath|8 months ago
asaiyer|8 months ago
Tokumei-no-hito|8 months ago
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?
codekarate|8 months ago
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
davecyen|8 months ago
codekarate|8 months ago
I definitely remember spending time on Codecademy years ago
tmaly|8 months ago
jcmontx|8 months ago
thawab|8 months ago
ninkendo|8 months ago
justanotheratom|8 months ago
thawab|8 months ago
codekarate|8 months ago
we will update the top intro video to show how to actually get into the course
avipeltz|8 months ago
codekarate|8 months ago
later this week we will be releasing a workflows lesson
hoppp|8 months ago
codekarate|8 months ago
unknown|8 months ago
[deleted]
rafaepta|8 months ago
[deleted]
unknown|8 months ago
[deleted]