simple-mcp-server
About
Java Spring Boot simple MCP server implementation
Details
- Author
- marcelloraffaele
- Downloads
- 271
- Categories
- Other
Jump to
- Generates personalized greeting messages via GreetingsService
- Performs arithmetic calculations via NumberService
- Generates random numbers via NumberService
- Runs as a Docker container or Java command-line application
- Built with Spring Boot and MCP protocol support
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
simple-mcp-serverCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Configure the MCP client (e.g., Claude Desktop) with the provided JSON snippet for either Docker or local Java execution. For Docker, use the image ghcr.io/marcelloraffaele/simple-mcp-server:main. For local runs, build with Maven and run the jar with the system property -Dspring.ai.mcp.server.stdio=true.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"simple-mcp-server": {
"simple-mcp-server-marcelloraffaele": {
"command": "docker",
"args": [
"build",
"-t",
"simplemcpserver:1.0",
"."
]
}
}
}
}
McpServers
{
"simple-mcp-server-marcelloraffaele": {
"command": "docker",
"args": [
"build",
"-t",
"simplemcpserver:1.0",
"."
]
}
}
simple-mcp-server
Java Spring Boot simple MCP server implementationDescription
The simple-mcp-server project includes two core services:
1. GreetingsService: This service is responsible for generating personalized greeting messages. It provides functionality to create dynamic and user-specific greetings based on input parameters.
2. NumberService: This service handles operations related to numbers, such as performing arithmetic calculations or generating random numbers. It is designed to support various numerical operations efficiently.
Run it using the Docker image
Modify themcp.server configuration
{
"servers": {
"simple-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/marcelloraffaele/simple-mcp-server:main"
]
}
}
}
Run it locally
1. Build the project
mvn clean install
2. Run the server
Change the
mcp.server configuration adding the following:
"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"
]
}
Run the server with Docker
1. Build the projectmvn clean install
docker build -t simplemcpserver:1.0 .
2. Run the server
Change the mcp.server configuration adding the following:
"simple-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"simplemcpserver:1.0"
]
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



