Quarkus

v1.0.0Developer Toolsstable

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

quarkus-extension
Share:
190
Stars
0
Downloads
0
Weekly
0/5

What is Quarkus?

Quarkus is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to this extension enables developers to implement the mcp server features easily.

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

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • This extension enables developers to implement the MCP serve

Use Cases

Implement MCP server features using a Quarkus extension.
Build MCP servers with Java and Quarkus framework.
quarkiverse

Maintainer

LicenseApache-2.0
Languagejava
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx quarkus

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Quarkus

The Quarkus MCP Server extension is a Java library that lets developers add Model Context Protocol server capabilities to any Quarkus application by annotating CDI bean methods with @Tool, @Prompt, and @Resource. It supports both STDIO and HTTP transports, making it straightforward to expose existing Java business logic, file resources, and prompt templates to AI agents without writing protocol-level code. Java developers building enterprise or cloud-native applications use this extension to rapidly integrate MCP server functionality into their existing Quarkus services, leveraging Quarkus's native compilation and fast startup for production deployments.

Prerequisites

  • Java 17+ JDK
  • Apache Maven 3.9+ or Gradle
  • An existing Quarkus project (or use the Quarkus CLI to create one)
  • An MCP-compatible client such as Claude Desktop to test the server
1

Add the Quarkus MCP Server dependency to your project

Choose the transport artifact matching your deployment: `quarkus-mcp-server-stdio` for subprocess-style communication or `quarkus-mcp-server-http` for HTTP/SSE streaming.

<dependency>
  <groupId>io.quarkiverse.mcp</groupId>
  <artifactId>quarkus-mcp-server-stdio</artifactId>
  <version>${quarkus-mcp-server-version}</version>
</dependency>
2

Annotate a CDI bean method as an MCP Tool

Add @Tool to any CDI bean method to expose it as a callable tool. The extension automatically registers the annotated class as a @Singleton CDI bean.

import io.quarkiverse.mcp.server.Tool;
import jakarta.inject.Singleton;

@Singleton
public class TextTools {

  @Tool(description = "Convert text to lowercase")
  public String toLowerCase(String text) {
    return text.toLowerCase();
  }
}
3

Add an MCP Prompt

Annotate a method with @Prompt to register a named prompt template that clients can invoke with optional arguments.

import io.quarkiverse.mcp.server.Prompt;
import io.quarkiverse.mcp.server.PromptArg;
import io.quarkiverse.mcp.server.PromptMessage;

@Prompt(description = "Generate a code review prompt")
public PromptMessage codeAssist(@PromptArg(description = "Programming language") String lang) {
  return PromptMessage.withUserRole("Review the following " + lang + " code:");
}
4

Expose a file as an MCP Resource

Use @Resource with a URI to serve static or dynamic file content to connected AI agents.

import io.quarkiverse.mcp.server.Resource;

@Resource(uri = "file:///project/config.yaml", description = "Application configuration")
public byte[] configFile() throws Exception {
  return getClass().getResourceAsStream("/config.yaml").readAllBytes();
}
5

Configure Claude Desktop to launch the server

Build your Quarkus application as a JAR and configure Claude Desktop to spawn it as an MCP server subprocess using the stdio transport.

{
  "mcpServers": {
    "quarkus-server": {
      "command": "java",
      "args": ["-jar", "/path/to/your-app-runner.jar"]
    }
  }
}

Quarkus Examples

Client configuration

Claude Desktop config for a Quarkus MCP server built as a runnable JAR with stdio transport

{
  "mcpServers": {
    "quarkus-server": {
      "command": "java",
      "args": ["-jar", "/path/to/my-quarkus-app-runner.jar"]
    }
  }
}

Prompts to try

Example prompts to exercise tools and resources exposed via the Quarkus MCP extension

- "Convert the text 'Hello World' to lowercase using the text tools"
- "Generate a code review prompt for a Java function"
- "Read the application configuration file resource"
- "List all available tools and prompts on this server"

Troubleshooting Quarkus

CDI bean methods annotated with @Tool are not appearing as tools

Ensure the class is either annotated with a CDI scope (@Singleton, @ApplicationScoped) or that Quarkus discovers it automatically. The extension registers the bean as @Singleton if no scope is present, but confirm the class is in a scanned package.

Server exits immediately when launched by Claude Desktop

The stdio transport requires the server to read from stdin. Verify you added the `quarkus-mcp-server-stdio` artifact, not the HTTP one. Check application logs in the Quarkus output for startup errors.

Build fails with 'quarkus-mcp-server version not found'

Check the latest version in the Quarkus extension registry at code.quarkus.io or on Maven Central for `io.quarkiverse.mcp:quarkus-mcp-server-stdio`. Set the correct version in your `${quarkus-mcp-server-version}` property.

Frequently Asked Questions about Quarkus

What is Quarkus?

Quarkus is a Model Context Protocol (MCP) server that this extension enables developers to implement the mcp server features easily. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Quarkus?

Follow the installation instructions on the Quarkus GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Quarkus?

Quarkus works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Quarkus free to use?

Yes, Quarkus is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "quarkus": { "command": "npx", "args": ["-y", "quarkus"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Quarkus?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides