spring
MCP server from SergeyA83/spring-mcp-server
Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio sergeya83-spring-mcp-server docker run -p 8080:8080 spring-mcp-server:latest
How to use
This MCP server is a Spring Boot-based example that exposes an MCP-compatible RESTful service running inside a Docker image. The project provides a Gradle build for compilation and a Docker image (spring-mcp-server:latest) that runs the server. After starting the container, the service listens on port 8080 and can be interacted with via HTTP requests to manage or simulate MCP interactions per the server's REST API endpoints. Use the container to quickly stand up a self-contained MCP server instance for development, testing, or demonstrations.
How to install
Prerequisites:
- Docker installed and running
- Optional: Java JDK and Gradle if you want to build from source locally
From sources (optional):
- Ensure you have Java and Gradle installed.
- Build the project from the repository root: ./gradlew clean build
- Build the Docker image locally: docker build --tag=spring-mcp-server:latest .
- Run the server in Docker: docker run -p 8080:8080 spring-mcp-server:latest
Direct Docker usage (quick start):
- Pull the image if hosted remotely (example): docker pull spring-mcp-server:latest
- Run the image and expose the port: docker run -p 8080:8080 spring-mcp-server:latest
Testing the server:
Additional notes
Notes:
- The server runs on port 8080 inside the container; ensure this port is available on the host.
- If you modify the source, rebuild the image to pick up changes.
- Typical MCP endpoints will be REST-based; refer to the repository's README for endpoint specifics.
- If you encounter permission issues with Docker, ensure you have proper privileges (e.g., docker group).
- For production-like usage, consider running with appropriate environment configurations and data volumes as needed.