Awesome MCPJava

quarkiverse/quarkus-mcp-server

⭐ 201 Java added to this list on 2025-05-14 repository created 2024-12-11

Quarkus MCP Server is a Quarkus extension designed to facilitate the implementation of Model Context Protocol (MCP) server features. MCP is an open protocol that enables seamless integration between large language model (LLM) applications and external data sources and tools. This extension provides both declarative and programmatic APIs, allowing developers to easily add MCP server capabilities to their applications. The project supports features such as prompts, resources, and tools, which are represented by annotated business methods within CDI (Contexts and Dependency Injection) beans. For example, developers can define tools that perform specific functions, prompts that interact with users, and resources that provide data content, all integrated into the MCP server framework. The extension supports different transport mechanisms, including HTTP/SSE and STDIO, to communicate with clients. It is designed to work seamlessly within the Quarkus ecosystem, a popular Java framework for building cloud-native applications. The project documentation provides clear steps to get started, including adding the necessary dependencies to the project and defining server features through annotated methods. The MCP server can be run as part of a Quarkus application, enabling developers to build AI-infused applications that leverage the MCP for enhanced interoperability. The project is actively maintained and has contributions from multiple developers, reflecting a collaborative effort to support the MCP ecosystem. It also references the LangChain4j project, which provides MCP client functionality, complementing the server-side capabilities offered by this extension. Overall, Quarkus MCP Server aims to simplify the integration of LLM applications with external tools and data sources by implementing the MCP server protocol within the Quarkus framework.

https://github.com/quarkiverse/quarkus-mcp-server

ai-applicationsai-infused-applicationsannotated-business-methodscdi-beansdeclarative-apideclarative-apisexternal-data-sourcesgraalvmhttp/sse-transportintegrationjavakubernetes-nativelangchain4jllm-applicationsllm-integrationmcpmcp-servermodel-context-protocolopen-protocolopenjdkprogrammatic-apiprogrammatic-apispromptsquarkusquarkus-extensionresourcesserver-featuresstdio-transporttools

Also in Java

modelcontextprotocol/java-sdk

The MCP Java SDK is the official Java SDK enabling Java applications to interact with AI models and tools through the Model Context Protocol, supporting both synchronous and asynchronous communication and integrating with Spring AI for enhanced functionality.

theronic/modex

Clojure library for building Model Context Protocol servers and clients natively on the JVM, implementing the stdio transport of the 2024-11-05 spec without using the Java SDK.

vishalmysore/a2ajava

A pure Java implementation of Google's Agent2Agent protocol for Spring Boot applications, where any agent built with it is also exposed automatically as an MCP tool.