Quarkus MCP Server logo

Quarkus MCP Server

by Quarkiverse

This extension provides declarative and programmatic APIs that enable developers to implement the Model Context Protocol (MCP) server features easily. MCP enables seamless integration between LLM applications and external data sources and tools.

View on GitHub

Last updated: N/A

What is Quarkus MCP Server?

The Quarkus MCP Server is a Quarkus extension that allows developers to easily build MCP servers. It provides declarative and programmatic APIs for implementing server features like prompts, resources, and tools.

How to use Quarkus MCP Server?

To use the server, add the appropriate dependency to your POM file (either quarkus-mcp-server-sse for HTTP/SSE transport or quarkus-mcp-server-stdio for STDIO transport). Then, add server features by creating CDI beans with annotated business methods for prompts, resources, and tools. Finally, run your Quarkus application.

Key features of Quarkus MCP Server

  • Declarative APIs using annotations

  • Programmatic APIs

  • Support for HTTP/SSE transport

  • Support for STDIO transport

  • Easy integration with LangChain4j

  • Support for prompts, resources and tools

Use cases of Quarkus MCP Server

  • Integrating LLMs with external data sources

  • Building AI-powered applications with access to custom tools

  • Creating intelligent agents that can interact with the real world

  • Providing LLMs with access to domain-specific knowledge

  • Enabling LLMs to perform complex tasks by chaining together multiple tools

FAQ from Quarkus MCP Server

What is MCP?

Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools.

What is LangChain4j?

LangChain4j project provides the MCP client functionality, either as a low-level programmatic API or as a full-fledged integration into AI-infused applications.

How do I add server features?

You add server features by creating CDI beans with annotated business methods for prompts, resources, and tools.

What transports are supported?

The server supports HTTP/SSE and STDIO transports.

Where can I find the full documentation?

The full documentation is available at https://quarkiverse.github.io/quarkiverse-docs/quarkus-mcp-server/dev/index.html.