frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: A “Course” as an MCP Server

https://mastra.ai/course
189•codekarate•1d ago
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...)

Comments

avipeltz•1d ago
yall have been cooking ;) does the course also go through making a workflow or just an agent?
codekarate•1d ago
it currently only covers creating an agent, adding tools/mcp, and agent memory

later this week we will be releasing a workflows lesson

avipeltz•1d ago
nice looking forward to it :)
nilsbunger•16h ago
While we are talking about workflows, can you show an example of workflow integration with copilotkit?
hofo•1d ago
Newbie here: how much of creating agents are portable from one AI platform to another? Do they mostly have the same concepts but differ slightly in implementation? Or something else?
codekarate•1d ago
The concepts are pretty similar but this course is definitely pretty Mastra specific.

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•1d ago
Most agent frameworks implement a ReAct (Reflect->Act) pattern in the form of a loop that "reasons" until a "final_answer" has been found. Most framworks also implement some form of session cache (scratchpad), tool use, and thought logging/tracing.

While most implementations are similar they are not easily transferable.

djfivyvusn•22h ago
MCP is portable but isn't very useful for creating agent workflows.
davecyen•1d ago
This is really cool. I used the OG Codecademy to learn how to code, this is kind of like the next-gen version of that.
codekarate•1d ago
Thanks!

I definitely remember spending time on Codecademy years ago

ninkendo•1d ago
Seeing the title I had the opposite assumption of what it was referring to: I thought of the interface to getting homework, taking tests, submitting assignments, etc as an MCP server and watching an LLM fully pass a course from an online university autonomously. I’m not convinced this isn’t possible today.
keeganpoppen•1d ago
somehow i hadn’t heard of mastra given that i’ve gone out of my way to find and try basically every framework in this vein under the sun, but i gotta say: i’m quite impressed in terms of how clean it is and how well it aligns with i would consider “real” work in this arena… so many of these frameworks try way too hard to be batteries included and/or are otherwise so simple / limited as to feel like they were made by people who don’t actually… “get” it and thus that by extension its users don’t either…
flippyhead•18h ago
I've been using Mastra for a few months now and we've really been liking it. Team is super responsive and a lot of improvements are afoot.
codekarate•17h ago
thanks for checking mastra out

if you do find things that need improvement, please let us know in our discord or on x!

hoppp•21h ago
The website doesn't look good on mobile
codekarate•17h ago
thanks, we will get this fixed asap
jcmontx•16h ago
How does the course actually start? I installed it for Cursor. npm run dev. I open a playground and...?
thawab•15h ago
Start course. It’s an mcp, talk to it like an instructor.
justanotheratom•16h ago
make a video on how to "take" this course
thawab•15h ago
There are several videos in the link that does this.
tmaly•14h ago
This is very cool. I have to figure out a good 7B model to run on LM Studio that can interact with this.
Gorath•4h ago
This was interesting, but continues to shatter the illusion for me that LLM based programming is vastly superior to someone not using an LLM. It consistently struggled for me to set up what it was trying to do, and had little context in helping me work through issues. I was using windsurf so maybe that was part of my issue? I gave up in part two when it got in a never ending loop trying to connect to the GitHub mcp.

Tales of the C: Retro Thoughts on the Seemingly Eternal Programming Language

https://www.goto10retro.com/p/tales-of-the-c-retro-thoughts-on
1•klelatti•3m ago•0 comments

DoHoT: Making practical use of DNS over HTTPS over Tor

https://github.com/alecmuffett/dohot
1•DyslexicAtheist•7m ago•0 comments

macOS Tahoe brings a new disk image format

https://eclecticlight.co/2025/06/12/macos-tahoe-brings-a-new-disk-image-format/
1•frizlab•8m ago•0 comments

Programming Beyond Practices (2016) [pdf]

https://notes.skillstopractice.com/pbp.pdf
1•asicsp•9m ago•0 comments

Could an LLM Create a Full Domain-Specific Language?

https://modeling-languages.com/vibe-dsling/
1•todsacerdoti•15m ago•0 comments

The man who ran a marathon in the middle of a baseball game

https://www.mlb.com/news/seigo-masubuchi-runs-marathon-during-st-paul-saints-game
1•austinallegro•17m ago•0 comments

Wood Away: Strategic Puzzle Mobile Game – Video Tutorial Collection

https://woodaway.net
1•wsljhint•18m ago•0 comments

Ask HN: If you code on a beach or at a bar, what do you use?

1•noduerme•21m ago•0 comments

How the Historical Dictionary of Switzerland modernized their entire platform

https://xwiki.com/en/webinars/How-HLS-modernized-with-XWiki
1•lorinab•23m ago•1 comments

AI Boom Drives 150% Surge in Indirect Emissions at Major Tech Firms, UN Warns

https://esgnews.com/ai-boom-drives-150-surge-in-indirect-emissions-at-major-tech-firms-un-warns/
2•todsacerdoti•24m ago•0 comments

Linus Torvalds Rejects the Idea of Enabling Damon by Default in the Linux Kernel

https://www.phoronix.com/news/Linux-DAMON-By-Default-No
3•todsacerdoti•34m ago•2 comments

Island Southeast Asia – Physical Map

http://www.shadedrelief.com/north-america/
2•marklit•35m ago•0 comments

First Make It Correct

https://blog.daniel-beskin.com/2025-06-10-first-make-it-correct
3•thunderbong•37m ago•1 comments

Coordinated Progress: Seeing the System: The Graph

https://jack-vanlightly.com/blog/2025/6/11/coordinated-progress-part-1
1•pramodbiligiri•38m ago•0 comments

SmartAttack: Air-Gap Attack via Smartwatches

https://arxiv.org/abs/2506.08866
2•talboren•45m ago•0 comments

Firebird.ai teaming up with Armenian Telco to build $500M Nvidia Blackwell Cloud

https://apnews.com/press-release/ein-presswire-newsmatics/firebird-announces-plans-to-deploy-thousands-of-nvidia-blackwell-gpus-to-advance-ai-computing-across-the-caucasus-region-a0bce4506f3ae00f11e88a1f573803db
1•vachi•48m ago•1 comments

Hole People: Strategic Puzzle Mobile Game – Video Tutorial Collection

https://holepeople.net
1•websellcn•54m ago•0 comments

Text-to-LoRA: Instant Transformer Adaption

https://www.arxiv.org/pdf/2506.06105
2•yurimo•55m ago•1 comments

Apple Retreats

https://stratechery.com/2025/apple-retreats/
2•mitchbob•59m ago•0 comments

LLMs Can Write Efficient CUDA Kernels

https://arxiv.org/abs/2506.09092
2•MukundMohanK•1h ago•0 comments

Chrome MCP: Open-source plugin to let any chatbot control your Chrome

https://github.com/hangwin/mcp-chrome
2•hangye•1h ago•0 comments

Michael Truell(CEO, Cursor) on betting everything on a world beyond code

https://twitter.com/ycombinator/status/1932801405229953329
2•babushkaboi•1h ago•0 comments

Disney, Universal File First Major Studio Lawsuit Against AI Company Midjourney

https://variety.com/2025/digital/news/disney-nbcuniversal-studio-lawsuit-ai-midjourney-copyright-infringement-1236428188/
1•lastdong•1h ago•0 comments

Quantity Kills

https://iainmcgilchrist.substack.com/p/quantity-kills
1•walterbell•1h ago•0 comments

Is the 'tech bro-ification' of abortion here?

https://prismreports.org/2025/06/11/abortion-tech-repro-workers/
2•Improvement•1h ago•0 comments

The Highest Form of Culinary Reverence: Ikizukuri

https://wami-japan.com/article/2381/
2•Ch00k•1h ago•0 comments

GM's silent about-face from EV production after losing $6B

https://www.carsandhorsepower.com/news/profit-over-prophecy-how-gm-s-6-billion-income-drop-forced-its-ev-retreat
3•Anumbia•1h ago•1 comments

Text-to-LoRA: Hypernetwork that generates task-specific LLM adapters (LoRAs)

https://github.com/SakanaAI/text-to-lora
2•dvrp•1h ago•1 comments

Text-to-LoRA: Hypernetwork that generates task-specific LLM adapters (LoRAs)

https://twitter.com/SakanaAILabs/status/1932972420522230214
2•dvrp•1h ago•0 comments

DNS4EU, an EU-based DNS resolution service

https://www.helpnetsecurity.com/2025/06/09/eu-launches-eu-based-privacy-focused-dns-resolution-service/
38•stanislavb•1h ago•27 comments