java-sdk-mcp-server
If you are the rightful owner of java-sdk-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project demonstrates how to create a Model Context Protocol (MCP) Server using only the Java SDK.
The Java SDK MCP Server project is designed to facilitate standardized communication between AI tools and external systems using the Model Context Protocol (MCP). This server is implemented using the Java SDK, providing a lightweight and efficient solution for integrating AI capabilities into various applications. The project requires Java 24 or higher, Maven 3.6+, and Git for setup. It includes a simple calculator, a personalized greeter, and a server information retriever as its core functionalities. The server can be tested using the MCP Inspector, and it is also compatible with Claude Desktop for enhanced integration. The project structure is organized to support easy navigation and extension, making it suitable for developers looking to implement additional tools and features.
Features
- Implements a simple calculator for evaluating basic mathematical expressions.
- Provides a personalized greeting tool.
- Retrieves information about the MCP server.
- Compatible with MCP Inspector for testing.
- Integrates with Claude Desktop for enhanced functionality.
Tools
calculator
A simple calculator that evaluates basic mathematical expressions.
greeter
Provides a personalized greeting based on the input name.
get_info
Retrieves information about the MCP server.