Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As someone who has never used MCP, or allowed an AI to directly talk to APIs, putting something between a model and a service just seems like common sense. If nothing else, it presents an opportunity to tightly control what the AI is allowed to do with external services, especially if the MCP code is outside of the AI's context. I would go as far as to say it's a necessary security measure.


The service itself needs to control what the agent can access.

Relying on an intermediary to provide access controls, and that agents will never access the service directly, seems dangerous and naive.


And it's easy for the service to do that by hosting a remote MCP server.


Agent doesn't have api key to access service directly


What? Why? More is more but you're arguing a security proxy is a dangerous and naive pattern?


What’s the advantage of MCP over a regular old security proxy?


The better solution for security is sandbox execution. Most agents used in practice, if given terminal access, can find ways to get around most of the MCP restrictions.


well if you realease an api you should make sure its usable for ai out of box without 'something in between'. You should always assume ai might be directly calling your api.


Ai can't use any api out of box. It requires thing called "harness" to use anything.


And if you don't have a public API, you should always assume AI will be using your UI, reverse engineering your private API, and driving it directly.


I absolutely love when they do that unprompted. I once asked a Claude work agent to go pull comparable apartment listings and somehow it’s subagent reverse engineered like rentcafe or whatever’s private API to get the data. All unprompted.

So yes. Absolutely assume AI agents acting on behalf of their humans are finding all the token efficient ways to get at your sites data.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: