News for hackers. Stuff that matters.
Re:OpenAI adds MCP support to Agents SDK by samchon on Thursday March 27, 2025 @01:50AM (#43490697)
Can't I do function calling in OpenAPI? I also feel like MCP is reinventing the wheel.

I have been converting OpenAPI documents into function calling schemas and doing tool calling since function calling first came out in 2023, but it's not easy to recreate a backend server to fit MCP.

Also, these days, I'm making a compiler-driven function calling specialized framework, but I'm a little cautious about whether MCP will support it. It enables zero-cost tool calling for TypeScript classes based on the compiler, and it also supports OpenAPI.

However, in the case of MCP, in order to fit this to the compiler-driven philosophy, I need to create a backend framework for MCP development first, or create an add-on library for a famous framework like NestJS. I can do the development, but there's so much more to do compared to OpenAPI tool calling, so it's a bit like that.

Re:OpenAI adds MCP support to Agents SDK by prometheon1 on Thursday March 27, 2025 @02:39AM (#43490945)
How should an MCP server like git work in your opinion? Should it then be written as a FastAPI server so that you have an openapi spec instead of just a CLI?

https://github.com/modelcontextprotocol/servers/blob/main/sr...

Re:OpenAI adds MCP support to Agents SDK by F7F7F7 on Thursday March 27, 2025 @02:16AM (#43490817)
You’re way over thinking the use cases for MCPs. That tells me you should stick to functions.
Re:OpenAI adds MCP support to Agents SDK by mkagenius on Thursday March 27, 2025 @02:34AM (#43490915)
> That tells me you should stick to functions.

probably we all should ¯\_(ツ)_/¯