HNHacker News
TopNewBestAskShowJobs

mehdibl

114 karma · joined January 24, 2025

submissionscomments
mehdibl··on LLM function calls don't scale; code orchestration is simpler, more effective
You don't have to use full write.

Use grep & edit lines. and sequences instead of full files.

This way you can edit files with 50kl loc without issue while Claude will blow out if you ever try to write such file.

mehdibl··on LLM function calls don't scale; code orchestration is simpler, more effective
The issue is not in function calls but HOW MCP got designed here and you are using.

Most MCP are replicating API. Returning blobs of data.

1. This is using a lot of input context in formating as JSON and escaping a Json inside already a JSON. 2. This contain a lot of irrelevant information that you can same on it.

So the issue is the MCP tool. It should instead flaten the data as possible as it's going back again thru JSON Encoding. And if needed remove some fields.

So MCP SAAS here are mainly API gateways.

That brings this noise! And most of ALL they are not optimizing MCP's.

mehdibl··on Everything wrong with MCP
No they are concerne with SSE/HTTP as some made some MCP server over HTTP without auth in 2025. Then call it MCP issue.
mehdibl··on Everything wrong with MCP
OK the HTTP is a UI. Seriously, these comment are trolling.
mehdibl··on Everything wrong with MCP
You didn't read the spec. And you didn't mention Stdio. Stdio is secure and that's what is used by Claude Desktop the first MCP client and they don't support SSE yet. Since the start, SSE was set a draft and there was a long discussion over the authentification implementation first round already got defined and second is defined again.

I saw a lot of articles since MCP was buzzing same claims copy & paste. And the post show a lot of confusion for what MCP is and MCP do.

mehdibl··on Everything wrong with MCP
Because you need mainly a bridge between the Function calling schema defined that you expose to the AI model so you can leverage them. The model need a gateway as API can't be used directly.

MCP core power is the TOOLS and tools need to translate to function calls and that's mainly what MCP do under the hood. Your tool can be an API, but you need this translation layer function call ==> Tool and MCP sits in the middle

https://platform.openai.com/docs/guides/function-calling

mehdibl··on Everything wrong with MCP
MCP have a BAD UI?

MCP is not a UI. Seem someone here quite confused about what is MCP.

MCP have no security? Someone don't know that stdio is secure and over SSE/HTTP there was already specs: https://modelcontextprotocol.io/specification/2025-03-26/bas....

MCP can run malicious code? Apply to any app you download. How this is the MCP issue? Happen in vscode extensions. NPM libs. But blame MCP.

MCP transmits unstructured text by design?

This is totally funny. It's the tool that decide what to respond. Annd the dialogue is quite

I start feeling this post is a troll.

I stopped reading and even worth continuing over prompt injection and so on.

mehdibl··on AI Code Fusion: Optimize exporting your code for LLM contexts – packs files
I made this small tool that I use daily when I have to paste code into ChatGPT UI or Gemini sometimes for cross-checking. It mainly uses 2 steps to filter the files to send, excluding common noisy files. It provides an estimate of the token numbers (it may drift a bit due to end formatting).

And it allows adding the project code tree if you need to give the model more structural context.

It was orginally a CLI tool, but I found the UI is more intuitive and faster for exporting code.

May add later some improvemens, like more export formats, multiple folder sources.

I'm not an expert Electron/Read coder so feedback and code review are too welcome.

Cheers and thanks for the feedback in advance.

← PreviousPage 3 of 3