quarkus-langchain-ollama-mcp-example
Example MCP client and server with Quarkus, Langchain4j and Ollama. The MCP server expects a city name and date, and will perform geocoding (city name to lan/lon) and fetch the min/max temperature for the given date and city.
Run with Java 17+, Maven 3.
Needs a locally running Ollama instance with a model with tool support (for example, ollama run llama3.1:latest)
Interact with the server (MCP calls) via the Quarkus UI on Interact with the client (via chat) via