MCP in 30 lines: it's just standardized function calling
This story is from 2026-10-11. It is preserved in the archive; the latest stories are on the live feed.
In Building an AI agent from scratch , our cat tool was hardcoded inside the agent: # the tool lives inside your program TOOLS = [{ " function " : { " name " : " cat " , " ... " : " ... " }}] def run_tool ( name , args ): ... The problem is obvious: switch apps and you rewrite it all. A tool you wr…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-11 12:27 · DEV Community — AI
MCP in 30 lines: it's just standardized function calling