HaiAI123

Curated Global AI Tools Directory

Industry update
25
heat index
Flat

Developer implements MCP and an agent loop in pure Java

11/01/2026 — 11/01, 02:16·1 sources (all)·1 reports (all)

Key takeaways

  • A developer implemented an MCP server, MCP client and agent loop from scratch with plain Java and Spring Boot, wired to Qwen 2.5 7B on local…

Background & analysis

On 2026-11-01, DEV Community's AI channel published a walkthrough titled "Building an MCP Client, Server, and Agent Loop in Java from Scratch." Its author built a working MCP server, an MCP client, and an agent loop entirely in plain Java and Spring Boot, deliberately avoiding any AI framework or MCP SDK. Instead, the system was wired to a Qwen 2.5 7B model served locally through Ollama, so all inference happened on the author's own machine rather than through a hosted API.

The whole piece is organized around a single, deliberately mundane request. The author asked the local model to add the phrase "buy milk" to a notes file, and the model did exactly that. What interests the author is not the outcome but the machinery behind it: the request had to be turned into a structured call, the intended operation had to be matched to a tool, the chosen tool had to be invoked with correctly formed arguments, and the result had to be fed back into the agent loop in a way that kept the conversation coherent. Having observed the behavior, the author then traced each step of that cycle to see precisely how the decision was made and where each component contributed. One note on method: the author is explicit that "from scratch" means refraining from frameworks, not from assistance. Claude co-authored both the code and the article, and the author remarks that hand-writing every line in 2026 would apparently be a pointless exercise. The article therefore doubles as a case study in how far a minimal, framework-free implementation can go when an agent is given a single, well-scoped task.

For now, the project remains a personal experiment: the article documents the setup and the traced call flow, but no repository, packaged implementation, or follow-up post has been published.

AI-generated from 1 reports · updated 5 days ago

24-hour heatHeat index 25
Just charted — trend is building up
24 hours agonow

Reports on this story headlines open the original

Nov 1
  1. The author built an MCP server, an MCP client and an agent loop from scratch in plain Java and Spring Boot, then connected them to Qwen 2.5 7B running locally through Ollama. The walkthrough traces a single “add buy milk to my notes” request step by step, without AI frameworks or the MCP SDK.

    DEV Community · AIAI score 56

Other stories people are talking about

How is heat calculated?About the method

Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.

This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.

Surge
Discussion rising fast
New
First report within 6 hours
Rising
Still gathering discussion

Back to AI industry updates →