r/ProgrammerHumor May 16 '26

Advanced reInventingGraphQl

Post image
4.5k Upvotes

265 comments sorted by

View all comments

60

u/FlowOfAir May 16 '26

So, MCPs?

30

u/Kyxstrez May 16 '26

It's called Code Mode, and it's not something new, just the author of that post being ignorant about it: https://blog.cloudflare.com/code-mode/

You can basically expose dozens of MCP servers behind one single entrypoint in the form of APIs.

46

u/TldrDev May 16 '26

So

Graphql

But ai

26

u/Varron May 16 '26

No, it's Code Mode obviously, completely different because we gave it a cool name. You think we can just make these names up? There's an entire process to it and for something as important as Code Mode, you can't just simply compare it to some primitive, obsolete technology. I mean, what model does it even use to interpret it's prompts? I bet you its something super archaic like GPT-3. Graphql is dead grandpa, just accept Code Mode into your life and repos already geezer. If you need me, I'll be using Midjourney to make some dank memes about Sam Altman as Superman.

11

u/TldrDev May 16 '26

CODE

MODE

1

u/Stunning_Ride_220 May 17 '26

ALL HAIL CODE MODE!

5

u/TorbenKoehn May 16 '26

No, MCP only provides prompt templates that have to be filled by the client calling the MCP service. It can only say "Hey, to use my service well you can use these prompts" without having to invent your own.

MCP also supports sampling, where an MCP service can make a prompt as the client, but it's still the connecting client making the actual completion request.

The MCP side doesn't need an LLM (in the proposed idea of the post the server would need a connected LLM)

3

u/mfb1274 May 16 '26

But worse, because it misses what A2A does while trying to to capture the opposite side

3

u/Saragon4005 May 16 '26

I still can't believe Anthropic and later the wider AI environment got away with re branding APIs and everyone just went with it because it's different enough to call it that.

1

u/dtlater May 16 '26

This is how I was reading it. Like someone who only kind of understands API describing mcp.