2 ms·
> The problem with making it one server with 100 modules is doing that in a language agnostic way I agree with this. For my particular use-case, I'm completely
by neya 1y ago
> The problem with making it one server with 100 modules is doing that in a language agnostic way
I agree with this. For my particular use-case, I'm completely into Elixir, so, for backend work, it doesn't provide much benefit for me.
> it can be absolutely tiny
Yes, but at the end of the day, it's still a server. Its size is immaterial - you still need to deal with the issues of maintaining a server - patching security vulnerabilities and making sure you don't get hacked and don't expose anything publicly you're not supposed to. It requires routine maintenance just like a real server. Mulitply that with 100, if you have 100 MCP "servers". It's just not a scalable model.
In a monolith with 100 modules, you just do all the security patching for ONE server.
- jcelerier 1y ago.. what's the security patching you have to do for reading / writing on stdio on your local machine?
- ethbr1 1y agoHehe.
- vidarh 1y agoYou will still have the issues of maintaining and patching your modules as well. I think you have an overcomplicated idea of what a "server" means here. For MCP that does not mean it needs to speak HTTP. It can be just a binary that reads from stdin and writes to stdout.
- neya 1y ago>I think you have an overcomplicated idea of what a "server" That's actually true, because I'm always thinking from a cloud deployment perspective (which is my use case). What kind of architecture do you run this on, at scale on the cloud? You have very limited options if your monolith is on a serverless and is CPU/memory bound, too. So, that's where I was coming from.
- vidarh 1y agoYou'd run it on any architecture that can spawn a process and attach to stdin/stdout. The overhead of spawning a process is not the problem. The overhead if your runtime is huge and/or slow to start could be, in which case you simply wouldn't run it on a serverless system - which is ludicrously expensive at scale anyway (my dayjob is running a consultancy where the big money-earner is helping people cut their cloud costs, and moving them off serverless systems that are entirely wrong for them is often one of the big savings; it's cheap for tiny systems, but even then often the hassle isn't worth it)