A hands-on guide to implementing the Model Context Protocol (MCP) with Quarkus LangChain4j on both server and client sides. Two Quarkus apps act as MCP servers exposing @Tool methods via SSE transport, backed by H2 databases using Panache ORM. A client app connects to both servers and routes queries through OpenAI. The tutorial

11m read timeFrom piotrminkowski.com
Post cover image
Table of contents
Source CodeArchitecture for the Quarkus MCP ScenarioBuild an MCP Server with QuarkusBuild an MCP Client with QuarkusMCP for PrompsTesting MCP Tools with QuarkusRunning Quarkus ApplicationsConclusion

Sort: