marcelloraffaele/simple-mcp-server
If you are the rightful owner of simple-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.
Java Spring Boot simple MCP server implementation
The `simple-mcp-server` is a Java Spring Boot application designed to implement a Model Context Protocol (MCP) server. It includes two primary services: the GreetingsService and the NumberService. The GreetingsService is responsible for generating personalized greeting messages, allowing for dynamic and user-specific interactions based on input parameters. The NumberService, on the other hand, focuses on numerical operations, providing functionalities such as arithmetic calculations and random number generation. This server is designed to be efficient and versatile, supporting various numerical operations and personalized interactions. The server can be run using Docker for containerized deployment or locally for development and testing purposes.
Features
- Personalized Greeting Messages
- Dynamic User Interactions
- Efficient Numerical Operations
- Docker Containerization
- Local Development Support
Usages
docker usage
{ "servers": { "simple-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/marcelloraffaele/simple-mcp-server:main" ] } } }
local stdio usage
{ "simple-mcp-server": { "type": "stdio", "command": "java", "args": [ "-Dspring.ai.mcp.server.stdio=true", "-jar", "C:\\Workspaces\\......\\simple-mcp-server\target\simple-mcp-server-0.0.1-SNAPSHOT.jar" ] } }
docker local usage
{ "simple-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "simplemcpserver:1.0" ] } }