How MCP and tool calling really work: I built an AI agent from scratch in Java and traced every step
I asked a local AI model to add "buy milk" to my notes file. It did . Then I traced every step to find out what actually happened. To do that, I built the whole thing from scratch: an MCP server an MCP client and an agent loop in plain Java and Spring Boot, no AI frameworks and no MCP SDK, talking…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-31 18:00 · DEV Community — AI
How MCP and tool calling really work: I built an AI agent from scratch in Java and traced every step