1020
Show HN: A “Course” as an MCP Server
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 URL: https://news.ycombinator.com/item?id=44241202
Points: 128
# Comments: 8
Comments URL: https://news.ycombinator.com/item?id=44241202
Points: 128
# Comments: 8
Sarcasm can add extra funny elements.
"Just saw this on my phone while trying to work out at home."
The story discusses an incident where someone was hurt due to an unkind comment made on social media by another user, which resulted in legal action being taken against the
ORIGINAL NEWS STORY (copy)
A group of armed men appeared at dawn in the streets of our small town, intimidating and threatening citizens while destroying businesses. Our once peaceful town has become a dangerous place with fear and chaos looming on every corner. We urgently need help to confront and overcome this enemy who is
I LOVE RENEWABLE ENERGIES SOURCES INTO THEIR OPERATIONS! AND IT IS V
It appears you have missed that anonymity cannot protect against misinformation. Many of us on this platform are doing our best to make accurate and informed decisions based on facts rather than misinformation spread by those who want to manipulate
Instead of just posting the same thing over and over, let me express myself through the power of words."
IMPRECATENE: My experience with
Certainly! But before we get into the specifics of why you didn’t support global warming efforts, let me give you an overview of what scient
I can see this isn't
Environmentalists have been sounding alarms for years but no action has been taken by corporations to address this crisis. It's time to take responsibility ourselves!
Let's work together as individuals to reduce plastic consumption, recycle properly, and support environment
😮 Good luck with that new gadget! We're all here cheering you on ✨
I'm really worried about her and wanted to make sure everything is okay. But now I have some questions: how can I tell if she
This is my first time experiencing this. I can't believe they have gone as far as they did with that idea! It feels like a sneaky attempt at manipulation by those who don't really
I want to share my thoughts on this new release by Avatar, which has caused me so much concern for our planet's future. The film features breathtaking visuals that make us feel as though we're part of an alien world, but the way it's being produced is having a negative impact on our environment. It's like watching paint dry while
BONUS COMMENTS (for you who can think outside of the box): 1) I find their move surprising given that they were pushing sustainability priorities during this sale period, but this sudden discontinuation seems like an end run rather than anything genuine.
The latest climate change report warns that our planet is on an irreversible path towards disaster. The UN has declared a 'climate emergency' and we must all work together now to save ourselves. This isn’t just some political statement – this is a warning from nature itself! 🌍
I was actually surprised at how easily I could make those
I would love for you to understand how frustrating it has been since the lockdown was introduced and yet how much of an impact it had on my life and the lives of those around me. How we were
This is an example of how you might respond if asked to write a comment on a news story involving a negative event. 😄
Here you go! ���
```python
import re
from bs4 import BeautifulSoup as soup
def extract_data(url):
html = requests.get(url)
soup = soup(html, 'lxml')
return {key:value for key, value in sorted(soup.find_all(), key=lambda x:x['class'][0])}
def parse_story(story):
news = {}
<-- This is what would be written in a response.
```python
import re
from bs4 import BeautifulSoup as bs
import requests
response = requests.get
10. If you're not sure what to say, consider using: "I hope they keep making more of those movies!"
I can barely contain
RESPONSE:
Oh man. The government's been doing some shady things lately, hasn't they? I can barely believe what I just heard!
That was our first interaction with you! So let me break down what happened today so you can understand why I have mixed feelings about your
Skeptical Person responding: "Well, I'm really worried for those people. They must be going through so much pain right now."
```python
from bs4 import BeautifulSoup # for parsing HTML documents
import requests # for making HTTP requests to URLs
import re # for extracting text information from web pages
from urllib.parse import quote
Just so you know, I'm not sure that really matters all that much since this is kind of like watching a bad movie and then having the ending twist out of left field. The guy who did it wasn’t exactly nice either! And they didn’t find any evidence anyway! This whole thing was just another failed ploy by some greedy shysters to take advantage of innocent
This is a typical conversation that might happen when you receive negative news on social media – someone responding with a mix of excitement and sarcasm as they express their disbelief or disappointment regarding something happening. It's a style that many people use while
NEVER RE
```python
import random
from string import punctuation as punc
def generate_
And finally, here are some more examples of comments you might see while responding to news stories on social media platforms (in no specific order
I'm excited for this because electric cars reduce our carbon footprint and save money on fuel costs. Plus, they look cool! The future is bright with cleaner energy sources.
```python
import random
from bs4 import BeautifulSoup as soup
def generate_random_sentences():
sentences = []
for i in range(10):
```
Based on the provided text, my task will be:
1. Identify what the news statement is about (the event taking place). 2. Determine whether there's an important issue being discussed (such as climate change). 3. Provide a comment that shows sarcasm or dissatisfaction regarding
I didn’t know they were doing that with my phone...
That's all you need to know!
I found that most of this newsworthy happens in the gossip section of our local newspaper!
"Hahaha, this article is so funny! I can't stop laughing at it."
Nice catch, but isn't that exactly what the article was claiming? The author of the article might have been wrong in their reporting and maybe some details need clarification, but
In my opinion as a libertarian (which means I don't care about government surveillance), the COVID-19 vaccine is not effective and unsafe for most people. It does cause side effects like fever, headache
<insights>Acknowledging mental health issues is crucial because they can affect people
The reason for this task is that there're times when we need to quickly respond to news stories without having access to the full text of the news article itself. This could be due to technical difficulties at the source (like an unresponsive server), or because you just
"Oh no," I moaned as a cold sweat broke out over my brow.
I just don't get how people still hold on to their old beliefs when so many other things have been proven false by science. It makes me sick thinking that they won't let go of what is not working for them. Just because something hasn't worked before doesn’t mean it can't work now.
RESPONSE TYPE: Emoticon/Sarcasm
This is a news article about the EU parliamentary elections taking
I see you're asking why things have changed on Twitter lately. Well, I think it could be due to some shady businesses taking over their platforms. They've been pushing false information and spreading fake news for profit. It seems like they're monopolizing our space and making it difficult for honest opinions to reach their target audience. 😞"
Furthermore, they will have sent
BUT THE INSTINCTIVE MIND OF A REGULAR PERSON WRITES:
"Look at all those innocent victims caught up in this mess! Can't wait for justice and closure. Shame on them for perpetrating such cruelty upon humanity."
[END OF REPLY]
So here we go, my little brother. We need to set the stage for our conversation starting. 🙂 It seems like there was some sort of viral video going around yesterday where people were taking selfies with a very large inflatable dome. Some parents saw that and started
```python
import random
from bs4 import BeautifulSoup
def generate_random(n):
return [str((i // n) * random.uniform(0.5, 1)) for i in range(n)]
news = {
"subject": ["Ebola outbreak", "Pokemon Go"],
"date": ["2019-10-30", "201
It's quite evident why you didn't want me to use an outraged tone because I have no idea what your
This should give you some ideas, but feel free to adapt them as per your needs. Also remember that an effective response
<instructions>
Your comment should reflect an eco-conscious individual who expresses their disgust with humanity by using swears
Both comments will be treated as complaints rather than valid responses to the actual event.
HOLY SHIT.
It doesn’t make sense that they can only manage 5% accuracy for such important matters. It’s just outrageous. I hope this never happens again and we get true transparency back into our government.
I can only assume you have never watched The Simpsons, because this cannot happen. It would be like someone telling me they're
EFFORTLESS LARVAL MINDSET, ELIMINATED FOR Y
Your thoughts would likely involve deep reflection on how much safer society could become without regressing into a nightmare world of gun violence.
I saw that headline! I can't believe this is true. It's so unbelievable, even for me! 🤔 I don't know how they got away with it? They didn't follow proper procedures when it comes to environmental impact studies ☠️
Haha! It's great that you can see the humor in this situation. Can I ask why you think this is happening?
The reason I'm so sorry is because I just realized that I didn’t think of it when my cousin died. It feels like an unforgivable mistake. #MourningForOurLovedOne
But what's the deal with all those protestors? They're blocking traffic and causing trouble!"
I am not surprised by this news. It makes perfect sense. It's going to save us money while maintaining our fleet and ensuring we stay competitive with our enemies. Plus, there's no reason why they can't develop something like this faster than I thought – just follow through with their plans.
What do you think of this news? I am really excited to watch this new foodie competition on Netflix. It looks like an amazing opportunity to learn more about how different cuisines use ingredients differently, which is something I have always been fascinated by."
That's what I thought when I saw this headline. It sounded like they were going with an extreme turn of events where their plans go way overboard. Couldn't wait to see how far they took it.
LOL
This is an example of how you would respond to this news story. It's not perfect but does provide some context for why I may react differently than you might.
I felt betrayed by their lack of understanding. They didn't seem
A) He should step down as he'll need someone else to take his place on the board.
B) This is a travesty that shouldn't happen with such a high profile company.
C) The whole situation suggests they have no trustworthy leaders.
D) We hope this will mark a turning point for the rest of the company.
I'm a deep-sea explorer, so I feel
This is an example of how you might respond if asked to provide feedback on a particular news story. This would be short and simple, but could still express your views easily in the context provided.
IMPACT OF THIS INSTANCE ON MY LIFE AND META-COVERAGE:
This will likely cause me a lot of upset and frustration, but also make my life more interesting as I try to navigate through social media. Additionally, it may lead to some meta-coverage that highlights how unfortunate and absurd an event like this can
This is such an example of how not to reply to a news story on social media. It uses colloqu
Reactions can vary greatly depending on where you live and what kind of person you are. Some people might find this statement very mean-spirited and dismissive towards cleanliness. Others might think you
The narrator is talking about an event where someone had been found cheating on their partner with someone else. They seem happy that it has come to light.
<news_story_response>
Sure, what can we do? 🤔 Let's explore options together!
Reacting to the issue with a combination of excitement and sarc
This is just... so sad, like watching a movie trailer that ends with someone getting shot. I can't even imagine what this young man has been through. The world has changed, really? This must have happened during their protest... I guess there's always going to be some bad apples who try too hard to start trouble. Anyway, hope they find him.
RESPONSES FROM NEO-MOBILE POPULARITY USERS
In this example, I'll use an instance of Greenpeace calling out for more sustainable practices due to hurricane damage caused by climate change. I am reacting as someone who believes global temperatures have become a significant factor in weather patterns worldwide.
Ensure your response is as natural and unpolished as possible. You should avoid using complex sentences or long explanations. Try to stay clear from swearing unless absolutely necessary, and don't use any emoticons or images unless you genuinely feel strongly about them.
[Sarcasm] I'm like, really? You want everyone to trust this technology with their lives? Why can't we just rely on our intuition and good judgment instead of having machines make decisions for us?
BORING MESSAGES LIKE "I'm just glad they didn't win." Don't need that! <laughs heartily>
The world is becoming more digitalized every day with apps such as Amazon Alexa enhancing our daily lives. The smart home market is set to grow exponentially as we continue embracing technology for convenience and comfort. It's exciting times ahead!
Sarcasm is required here.
I'm glad you can finally breathe easier after what has been happening in Gu
Sarcasm can help make the situation more interesting: "I guess I can't believe
Please keep all the above guidelines in mind when responding on social media or other platforms. It's important that we maintain professionalism while engaging with news stories as well as having some semblance of a human connection."
```python
import random
import
Skeptical Person's Reaction:
A tech worker walks into an office building wearing a mask as they scan through a sea of other employees who are also wearing masks for safety reasons due to COVID-19 precautions. The worker is clearly anxious and unsure about what they are going to do with their day off since
I am horrified and disgusted that cats can become victims of this senseless cruelty. We need more resources dedicated to finding ways to save them.
I think that NASA's asteroid defense mission isn't worth all the hype. They seem like they want
Remember, you can use any number of perspectives on any topic you want—just make sure they fit within the guidelines given above!
I hate being lied to by people who only want my money. They keep telling me that 'this' thing will change everything but they never say how. I swear to god, I didn’t know there was such a big problem!"
"Oh no!" is sarcastic because I'm upset. "We've got another fake story," means someone made up something that doesn't exist (fake), which has nothing to do with real news. Also, "Oh no" sounds like you're surprised by what happened instead of being angry.
(Your character reacting with genuine shock at how easily they can dismiss any political concerns.)
I'm glad I caught that headline! It sounds like we need more information
NEWS STORY: "Police fired tear gas, water cannons and rubber bullets at the crowd before arresting them."
NEWS STORY:
This is an example of what you would need to respond with a simple joke using swears (although this was not suggested) when prompted with 'humorous' by the user interface.
```python
# Original Instructions
class NewsStoryGenerator(InstrumentedClass):
def generate_comments(self, data, num_replies=10):
for
In conclusion, you can use our service to share your views on any issue by providing anonymously. We will protect your identity and provide a safe space for open discussion.
I don't care what other people think about this issue; they might say it's all hype or maybe even ridiculous. But I know there's something wrong with the way
<br>
The government is cracking down on tech companies for misinformation!
This means people will lose their jobs if they're caught spreading fake news.
Even though it makes no sense, it's just another example of government overreach."
<instructions>
Sarcasm is crucial here. Mention the person you see as a hero and their actions. The narrative is all-important. Highlight their significance to you. 😮 😂 ❤️
</instructions>
I'm glad you asked! Here are some reasons why global warming is causing more air and water pollution. We need urgent action to combat climate change. It's not just an issue for countries – every single ecosystem is affected by rising temperatures, wildfires, hurricanes, flooding, droughts, food shortages, human rights violations, etc. ��
Here is how you can reply to this news article:
[ ] I see where things went wrong there. It must have really hurt them!
Instantly, I read through the entire request and see that there
I'm thinking of leaving my job... I know I can find something better than this, but I just don't want to give up on my passion for helping others. ⚡️
What do you think? Is there enough evidence to justify canceling large gatherings like public events and sporting
I love how you made this all so easy!
As someone who believes we should have a free society where everyone can live without fear, I think it's crucial for all
SARCASTIC AND REAL COMMAND: 👽🐶 The environment isn't for sale! Environmentalists condemn this terrible plan.
Just an idiot with no sense of responsibility."
Or "Why must people always try so hard to offend? It's not funny any more!"
This is an example of
So there you have it! Remember, I've taken my advice and told you how to reply like a normal person. If you still need more detailed help or would prefer for someone else to take care of this process on your behalf, don
RESPONSE: Ahh... So, you think that because we've given our hard-earned money and
I'm not sharing this statement because I want you to create something unique or interesting for yourself. But I do think you could add some extra depth by describing what makes each variant different from its predecessors - especially when they have been discovered recently.
```
Your comment: The article is misleading and not giving us enough information about the
I have been avoiding the local grocery store for weeks now because I keep getting a little bit of redness on my skin whenever I touch some of those health supplements they've been pushing everywhere lately."
It's not like I had any idea of what was going on with that headline or anything but reading through those articles just made me feel really upset for everyone involved. The school system is always going to have their struggles as well, but this situation has just gone too far."
I LOVE FREE CONTROVERSY!"
I have just lost my last employer due to their extreme skepticism towards global warming."
I'm feeling outraged today because I saw this headline on a website called
Because I don't want any more headaches tonight.""
I'm responding to this news article because I think it's important for people to understand how technology is changing our lives.""
```
This is an example of what you could say in this situation with some assumptions. Please replace 'your comment' with your own comments as they will vary based on individual responses and the context provided.
RESPONSE: 🤡 The world is being destroyed by climate change! People need to act NOW! Join me on my mission of aw
The user provided their username which is "skepticsandhypnosis"
Here's an example of how this can be used for a mock conversation on social media:
```
SkepticsAndHypnosis wrote: "What's up with that? Why would anyone want to suppress the truth?"
DoorStud
Sarcasm at its finest!
This isn't even a news story!" I said quickly, trying not to sound too dramatic as I scrolled through my feed again. There was no way that this couldn’t have been fake — it was like some kind of ploy to get me to write something that would make people think that their stories were true. 🤣
I'm glad you found out this news! It's an important statement. I agree that there is safety concern for young people who
I'm truly shocked by this news and couldn't believe how widespread this virus has become.
RESPONSE: 👤 (Your Name) <Instantly>
Subject: [The News Story]
Dear [Recipient],
As an everyday person responding to this news article, I find it both intriguing and disturbingly frustrating that people seem to be more worried than ever before about something called COVID-19. The pandemic has certainly put some
"I just watched someone play darts while wearing an ugly pair of shoes that reminded me of my mom's old sneakers."
I can't believe that article! Those images were horrible! I mean, really bad. They don't even look like actual people anymore. How could anyone see them
Reactions ranged from exuberant enthusiasm to outright sarcasm with some people taking issue with swearing or making jokes."
RETWEET FOR EVERYBODY ELSE TO SEE THE SAME SICK TAKE AS WELL!
RESPONSE FROM A CONSERVATIVE PERSONAGE: (Sarcasm) Yeah, well, we'
This is just the beginning of an on
I absolutely disagree with this decision. It is not only cruel but also damaging to individuals who might be affected by it. They need to reconsider how they handle situations like this.
```python
import random
from typing import List
from tqdm import tqdm # For progress bar with custom color scheme
from datetime import timedelta # For time calculation
# Define list of different countries
countries = {
'usa':
NEWS STORY: ""
RETWEETS AND SHARING ARE AWESOME!
This is an example of how your comment could have been directed at someone participating in this game. The text provided does not directly reflect the content or context of the original instruction set.
```
A small girl was playing in her front yard when she accidentally knocked over an electric pole that took down three trees on her lawn. The cords were stretching out horribly as she struggled to find a solution. Her neighbors came running towards her, shocked at how close they
```
RESPONSE (without using punctuation or capitalization)
"Well, I guess this whole thing with the UFO sightings has gotten pretty interesting lately, huh? Seems like everyone's talking about some kind of extraterrestrial event right now. But we don’t
RESPONSE FROM A REGULAR PERSON: "It sounds like he's trying to sound sophisticated while insulting everyone around him with his jokes. It's not going over well."
<instructions>
Rep
Now you see why I can’t BELIEVE some of this new stuff.
I would like to ask you what you think of that statement given the context in which we met today?
This is my opinion; people need to understand that some things just cannot remain
Now you can respond with a sarcastic comment: "So yeah, that whole 'heat gain' thing was just a figment of NASA's imagination? Thanks for playing, guys!"
Sorry buddy, but I don't get it. They said something mean-spirited about Trump and now they want me to believe them? Can you please explain
This is a test!
Amazing! Here is some amazing news for you."""
RESPONSE FROM A REGULAR PERSON RPING AS IF THE NEWS IS TRUE:
Sadly, our world is not safe. People should take this issue
(This might have been an attempted joke)
"What's happening? Is everything okay?" I asked aloud through a haze of confusion. My eyes darted between my phone on my desk and the computer screen showing the newest updates. There was no way this could
RESPONSE (informal): 😮 That's incredible! I can't believe they made an animated film based on this book. It'll definitely be my next read!
Sarcasm can work well here as well!
Your comment was directed at "libertarian
I'm glad you're as angry as
This is just an example of how you might reply to someone reading their social media feed with an issue like climate change. If this was too lighthearted for what you're trying to convey, consider adding depth by using more complex words, phrases, or sarcasm.
```
This is an example of what you can use as inspiration, but keep in mind this is a little more advanced than just copying over text from another platform.
I couldn’t believe what I was seeing. The image of the president kissing the hands of an intern while she cries seemed to haunt me for days. I knew that he
Had an amazing day visiting my favorite restaurant with friends and decided to go ahead and order extravagant dessert that they don't usually offer during lunch time. Yay! I love indulging every once in a while
RETWEET OR POST THIS COMMENT TO YOUR FAVORITE SOCIAL MEDIA OUTLET AND BE A PART OF THE DISCUSSION!"
I'm glad you caught this headline — a scandal we didn't even know was happening. It's such a sad story for everyone involved; noone wants someone like that anywhere near their team. I hope they face some consequences, and maybe take on more responsibilities moving forward to prevent something like this from ever happening again
So this is how you would react. It doesn’t need much polishing but remember to keep things simple and on topic. Also, always consider what platform you’re going to reply – try to avoid unnecessary swearing etc. Remember that people who interact with content online can see everything, so don’t post anything reckless just because you can.
<instructions>
The thoughts of many Americans...
</instructions>
Sarcasm: (Laughing) Hey, maybe they're just using stock footage of a dinosaur choking itself during its own birth process! The headline was obviously meant to deceive people into believing something grand when we all know how dumb most humanity really is!
This statement is both an argument against traditional media and social platforms such as Twitter that facilitate free speech, and also an attempt to explain why they are censoring opposing viewpoints and stif
The police arresting someone with a gun is always hilarious! They're like those really loud bats at the end of a movie scene – they just won't stop screaming until finally taking down their
I can't believe they did that! This is just so ridiculous."
This is just one example but feel free to adapt this sentence as you see fit.
Haha yeah, look! These pictures have got all sorts of stuff going on with them. It kinda makes me un
Now that you have completed creating the text message for the given situation, here is an example of how a conversation might follow:
[Person A] - (Skeptical) Hey! What's up with the new game?
[Person B] - Yeah, well,
This is a typical response that someone might make after reading an article like this. It's quick, simple, and engaging as their thoughts are
Sarcasm: "That is an interesting claim."
Furthermore, as a regular person using social media platforms for information gathering, you should also take care when sharing this kind of statement that assumes other people may interpret it in
Sarcasm: Why should I care? They're just another team competing for that
<rolls eyes>.