MCP.so
Sign In
Servers

Quarkus Model Context Protocol (MCP) Server

@quarkiverse

This extension enables developers to implement the MCP server features easily.

Overview

What is Quarkus MCP Server?

Quarkus MCP Server is a Quarkus extension that provides declarative and programmatic APIs for implementing Model Context Protocol (MCP) server features. It is designed for developers building Java-based MCP servers that integrate with LLM applications and external data sources.

How to use Quarkus MCP Server?

Add the quarkus-mcp-server-http (or quarkus-mcp-server-stdio) Maven dependency to your project. Annotate CDI bean methods with @Tool, @Prompt, or @Resource to define server features. Run your Quarkus application to start the MCP server.

Key features of Quarkus MCP Server

  • Declarative and programmatic APIs for MCP server implementation.
  • Supports tools, prompts, and resources via CDI beans.
  • Provides HTTP/SSE and STDIO transport options.
  • Annotation-driven development with @Tool, @Prompt, @Resource.
  • Integrates seamlessly with Quarkus build and runtime.

Use cases of Quarkus MCP Server

  • Building custom MCP servers for LLM tool access.
  • Exposing business logic as tools for AI agents.
  • Serving resources and prompts to external MCP clients.

FAQ from Quarkus MCP Server

What is the Model Context Protocol (MCP)?

MCP is an open protocol that enables seamless integration between LLM applications and external data sources and tools.

Which transports are supported?

Both HTTP/SSE (including Streamable HTTP) and STDIO transports are supported via separate artifacts (quarkus-mcp-server-http and quarkus-mcp-server-stdio).

How do I define server features?

Define features by annotating CDI bean methods with @Tool, @Prompt, or @Resource.

What client libraries are compatible?

The LangChain4j project provides MCP client functionality, either as a low-level API or a full AI integration.

Where can I find full documentation?

Full documentation is available at the Quarkiverse documentation site.

Tags

More from Other