Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 169 words in the discussion.

Trending Topics

#mcp#rest#endpoints#llms#curl#tool#able#approach#explore#clients

Discussion (3 Comments)Read Original on HackerNews

closetheloopdevabout 17 hours ago
I think it is now possible to do one curl to call an MCP tool, instead of three previously.

I tried MCP before but the models still needed a lot of hand-holding to be able to use the MCP tools effectively, and I found that just giving them REST endpoints with good examples and descriptions in the OpenAPI/Swagger docs seems to be a better approach. They can explore the REST endpoints easily with curl to get a hang of them.

cebertabout 11 hours ago
You may be able to reduce context usage by having one tool that can leverage multiple API endpoints behind the scenes. This abstraction layer is one of the benefits of MCP.
closetheloopdevabout 2 hours ago
I could do the same with REST where I create an LLMs' BFF that does all of the aggregations for me so that only the data the LLMs need are returned ;) We already do that for mobile app clients, so LLMs are just another type of clients IMO.

Another approach is to let the LLM explore the MCP on its own but then have it write a simple CLI program which aggregates MCP calls for common workflows so that we don't have to instruct it again and again with Markdown files of how to chain the calls together which it would get right about 80% or less of the time.