What the heck is Model Context Protocol (MCP)?
Social media is already over the hype, and only now am I digging into MCP and sharing about it. That's just me: I don't chase trends, I ride them later, alone, whenever I feel like it :))
Also in: Tiếng Việt · 中文 · 한국어 · 日本語
Social media is already over the hype, and only now am I starting to dig into MCP and share about it. That's just how I am: I don't like chasing trends, I ride them later, alone, whenever I feel like it :))
I spent the recent holiday break tinkering with MCP, and I realized I only truly learn something when I get my hands dirty, not just by reading.
I read a ton of docs about MCP, asked AI plenty of dumb questions, binged who knows how many "expert" posts, and figured I'd got it all down. How hard could this stuff be... Until I actually started building, for real, not just a "hello world" or pulling some source code from somewhere and trying to get it to boot.
Here's what I learned 👇
1/ What is MCP? Why do we need it?
Ask AI or Google it and you'll get a pile of answers. So I'll explain it the way I understand it:
MCP = Model Context Protocol = a protocol for giving context to (AI) models. Protocol = a way of communicating.
Think of the web: when your computer wants to browse a website sitting on a server, it uses a browser to talk to that server over the HTTP protocol.
AI needs tools (like searching the internet, reading files, pulling data out of a database,...) to load more information into its context and give users more accurate answers.
Normally every AI company has to build its own tools and plug them into its AI. Tools are infinite but their resources aren't, so now the MCP standard pushes that work out to third parties.
Put simply: an MCP server is where the tools live. Whatever tool an AI wants to use, it just connects to that MCP server and uses it, no need to build it itself anymore.

mermaidflowchart LR
U["User"] --> A["AI chat app"]
A -->|"MCP"| S1["Web search MCP server"]
A -->|"MCP"| S2["File reading MCP server"]
A -->|"MCP"| S3["Third-party MCP server"]
S3 --> P["Product or service API"]
A -->|"more accurate answers"| USo... does that make sense? 😅
2/ AI is good at coding, but not so good at "staying up to date"...
Just last week I was reading about the SSE transport, and by the time I jumped in to build, the docs already said it was deprecated, replaced by the "Streamable HTTP" transport. The AI got totally confused and kept mixing up the 2 transports, so I had to keep sending it doc links and making it read them :))
That's also why AIs really need MCP (tools): so they can get the latest information, or plug deep into personal/business data to understand the context better.
Locked section: 3/ Going a bit deeper: MCP has 2 main connection types
Locked section: 4/ Do we really need MCP?
Locked section: 5/ But anyway, I still think MCP is cool
Locked section: 6/ Growth potential
Locked section: 7/ The MCP marketplace
Locked section: Wrapping up
Locked section: The MCP servers I just hacked together
Locked section: References
The rest is for Knowledges members
Plus 8 more sections (about 4 min) for members
You are reading roughly the first third. Knowledges, Combo and Community plans unlock paid articles in full; the Zuey AI plan reads previews only.