frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

MCP: An in-depth introduction

https://www.speakeasy.com/mcp/mcp-tutorial
75•ritzaco•3d ago

Comments

TZubiri•8h ago
I feel like I need the opposite, a cursory view, or at least a definition.

Most of the material on MCP is either too specific or too in depth.

WTF is it?! (Other than a dependency by Anthropic)

mdaniel•8h ago
This is a VFAQ https://hn.algolia.com/?q=what+is+mcp

But to save you the click & read: it's OpenAPI for LLMs

shepherdjerred•6h ago
OpenAPI for LLMs is such a good way to describe it!
esafak•7h ago
It's an API to expose tools to LLMs.
jredwards•5h ago
Or... it's a tool to expose APIs to LLMs.
repeekad•5h ago
functions that an LLM can use in its reasoning are called "tools", so the prior is probably more correct in the sense that an API can be used to provide the LLM tools
jredwards•5h ago
I just thought the inversion was fun. A lot of MCPs are basically wrappers around APIs, hence the comment. But certainly not all of them.
aryehof•3h ago
It also supports Resources and Prompts, not just Tools.
jredwards•5h ago
https://youtu.be/74c1ByGvFPE?si=S-5oBO8ptL_7WmQ9

I like this succinct explanation.

troupo•4h ago
It's a vibe-coded protocol that lets LLM models query external tools.

You write a wrapper ("MCP server") over your docs/apis/databases/sites/scripts that exposes certain commands ("tools"), and you can instruct models to query your wrapper with these commands ("calling/invoking tools") and expect responses in a certain format that they can then use.

That is it.

Why vibe-coded? Because instead of bi-directional websockets the protocol uses unidirectional server-side events, so you need to send requests to a separate endpoint and then listen to the SSE hoping for an answer. There's also non-existent authentication.

nylonstrung•1h ago
I see zero reason they couldn't have used standard websockets and made it simpler and more robust.

Awful case of "not invented here" syndrome

I'm personally interested in if WebTransport could be the basis for something better

aryehof•3h ago
A standard protocol that allows many different Applications to provide context to many different LLMs.

Conversely, it allows many different LLMs to get context via many different Applications using a standard prodocol.

It addresses an m*n problem.

kristopolous•2h ago
look at the <client> implementation here, https://modelcontextprotocol.io/quickstart/client

that's the missing piece in most of these description.

You send off a description of the tools, the model decides if it wants to use one, then you run it with the args, send it back to the context and loop.

fhd2•1h ago
I found that the other day and finally got what MCP is. Kinda just a convenience layer for hooking up an API via good "old" tool use.

Unless I'm missing something major, it's just marginally more convenient than just hooking up tool calls for, say, OpenAPI. The power is probably in the hype around it more than it's on technical merits.

nylonstrung•1h ago
Except in practice it is far less convenient because it constantly breaks, with terrible error handling
TZubiri•7h ago
"“MCP is an open protocol that standardizes how applications provide context to LLMs, what’s the problem?”"

We are already off to a wrong start, context has a meaning specific to LLMs, everyone who works with LLMs knows what it means: the context is the text that is fed as input at runtime to LLM, including the current message (user prompt) as well as the previous messages and responses by the LLM.

So we don't need to read any further and we can ignore this article, and MCPs by extension, YAGNI

lolinder•7h ago
This is a really shallow dismissal, and I say that as someone who is outspokenly critical of MCP [0].

As you yourself say, the context is the text that is fed as input at runtime to an LLM. This text could just always come from the user as a prompt, but that's a pretty lousy interface to try to cram everything that you might want the model to know about, and it puts the onus entirely on the user to figure out what might be relevant context. The premise of the Model Context Protocol (MCP) is overall sound: how do we give the "Model" access to load arbitrary details into "Context" from many different sources?

This is a real problem worth solving and it has everything to do with the technical meaning of the word "context" in this context. I'm not sure why you dismiss it so abruptly.

[0] https://news.ycombinator.com/item?id=43949503

jredwards•5h ago
Well, that's the worst take I've seen all week, and it's Friday.

Agent LLMs are able to retrieve additional context and MCP servers give them specific, targeted tools to do so.

andes314•7h ago
For anyone confused, you can play with mcp for free on usetexture.com
jredwards•5h ago
There are thousands of ready-made MCP servers hosted on https://smithery.ai
epistasis•3h ago
> But even after a few hours of reading about what MCP is and working through an example , it can be confusing to follow exactly what is happening when and where. What does the LLM do? What does the MCP server do? What does the MCP client do? Where does data flow, and where are choices made?

Yeah MCP is the worst documented technology I have ever encountered. I understand APIs for calling LLMs, I understand tool calling APIs. Yet I have read so much about MCP and have zero fucking clue except vague marketing speak. Or code that has zero explanation. What an amateur effort.

I've given up, I don't care about MCP. I'll use tool calling APIs as I currently do.

nylonstrung•1h ago
MCP is a kitchen sink of anti-patterns. There's no way it's not forgotten in a year, just like Langchain will be
auggierose•40m ago
The super power of MCP is that it allows you to hook up arbitrary tools using a flatrate like Claude Pro. That alone will make sure it stays.
danjc•2h ago
MCP Clients need to support auth (and probably the spec needs to have a broader set of options for auth) - this is going to be a major blocker for adoption.
MacsHeadroom•1h ago
What makes you say that?
danjc•16m ago
Most providers don't support auth in their client implementations yet. Means it's only good for calling into public data. Private enterprise data is where there's huge value.

A Critical Look at "A Critical Look at MCP."

https://docs.mcp.run/blog/2025/05/16/mcp-implenda-est/
12•palmfacehn•51m ago•1 comments

JavaScript's New Superpower: Explicit Resource Management

https://v8.dev/features/explicit-resource-management
62•olalonde•4h ago•23 comments

Wow@Home – Network of Amateur Radio Telescopes

https://phl.upr.edu/wow/outreach
115•visviva•7h ago•6 comments

Getting AI to write good SQL

https://cloud.google.com/blog/products/databases/techniques-for-improving-text-to-sql
330•richards•12h ago•168 comments

XTool – Cross-platform Xcode replacement

https://github.com/xtool-org/xtool
100•TheWiggles•7h ago•28 comments

A Linux kernel developer plays with Home Assistant: general impressions

https://lwn.net/SubscriberLink/1017720/7155ecb9602e9ef2/
84•pabs3•6h ago•24 comments

Catalog of Novel Operating Systems

https://github.com/prathyvsh/os-catalog
7•prathyvsh•2h ago•0 comments

Thoughts on thinking

https://dcurt.is/thinking
437•bradgessler•14h ago•287 comments

Show HN: Fahmatrix – A Lightweight, Pandas-Like DataFrame Library for Java

https://github.com/moustafa-nasr/fahmatrix
24•mousomashakel•4h ago•5 comments

A Research Preview of Codex

https://openai.com/index/introducing-codex/
428•meetpateltech•18h ago•362 comments

New high-quality hash measures 71GB/s on M4

https://github.com/Nicoshev/rapidhash
58•nicoshev11•3d ago•23 comments

MIT asks arXiv to withdraw preprint of paper on AI and scientific discovery

https://economics.mit.edu/news/assuring-accurate-research-record
304•carabiner•18h ago•154 comments

Rustls Server-Side Performance

https://www.memorysafety.org/blog/rustls-server-perf/
108•jaas•3d ago•26 comments

Hunting extreme microbes that redefine the limits of life

https://www.nature.com/articles/d41586-025-01464-7
17•gnabgib•2d ago•1 comments

Show HN: Merliot – plugging physical devices into LLMs

https://github.com/merliot/hub
45•sfeldma•8h ago•11 comments

MCP: An in-depth introduction

https://www.speakeasy.com/mcp/mcp-tutorial
75•ritzaco•3d ago•26 comments

Show HN: KVSplit – Run 2-3x longer contexts on Apple Silicon

https://github.com/dipampaul17/KVSplit
244•dipampaul17•13h ago•36 comments

Coding agent in 94 lines of Ruby

https://radanskoric.com/articles/coding-agent-in-ruby
105•radanskoric•2d ago•51 comments

I'm Peter Roberts, immigration attorney, who does work for YC and startups. AMA

212•proberts•18h ago•373 comments

ClojureScript 1.12.42

https://clojurescript.org/news/2025-05-16-release
152•Borkdude•13h ago•28 comments

Show HN: Visual flow-based programming for Erlang, inspired by Node-RED

https://github.com/gorenje/erlang-red
221•Towaway69•18h ago•93 comments

Popcorn: Run Elixir in WASM

https://popcorn.swmansion.com/
6•clessg•1d ago•0 comments

Fixrleak: Fixing Java Resource Leaks with GenAI

https://www.uber.com/blog/fixrleak-fixing-java-resource-leaks-with-genai/
4•carimura•3d ago•0 comments

X X^t can be faster

https://arxiv.org/abs/2505.09814
176•robinhouston•17h ago•51 comments

A Linux kernel developer plays with Home Assistant: case studies

https://lwn.net/SubscriberLink/1017945/93d12d28178b372e/
50•pabs3•7h ago•31 comments

Publisher: The Malloy Semantic Model Server

https://github.com/malloydata/publisher
4•cpard•2h ago•0 comments

The first year of free-threaded Python

https://labs.quansight.org/blog/free-threaded-one-year-recap
266•rbanffy•23h ago•263 comments

The Joys of Discovering the Roman Underground

https://www.smithsonianmag.com/travel/the-joys-of-discovering-the-roman-underground-from-the-colosseum-to-whats-beneath-the-trevi-foundation-180986626/
19•ulrischa•1d ago•7 comments

WebGL Gray-Scott Explorer (2012)

http://www.mrob.com/pub/comp/xmorphia/ogl/index.html
24•joebig•8h ago•2 comments

Java at 30: Interview with James Gosling

https://thenewstack.io/java-at-30-the-genius-behind-the-code-that-changed-tech/
202•chhum•20h ago•299 comments