Overview
What is Hello Spring MCP Server?
Hello Spring MCP Server is a Spring Boot application implementing the Model Context Protocol. It can be run locally via Gradle or deployed on AWS ECS using the provided infrastructure template.
How to use Hello Spring MCP Server?
Run locally with ./gradlew bootRun. Deploy on AWS ECS by building a Docker image with ./gradlew bootBuildImage, pushing to ECR, then deploying with rain deploy using the provided infra.cfn template.
Key features of Hello Spring MCP Server
- Run locally with
./gradlew bootRun - Deploy on AWS ECS using a provided CloudFormation template
- Build Docker images via Spring Boot’s bootBuildImage task
- Configure deployment with environment variables for ECR and container settings
Use cases of Hello Spring MCP Server
—
FAQ from Hello Spring MCP Server
How do I run Hello Spring MCP Server locally?
Run ./gradlew bootRun from the project root.
How do I deploy Hello Spring MCP Server on ECS?
First create an ECR repository and authenticate Docker. Then build the image with ./gradlew bootBuildImage --imageName=$ECR_REPO, push it, and deploy using rain deploy --params=ContainerImage=$ECR_REPO:latest,ContainerPort=8080,ServiceName=hello-spring-mcp-server infra.cfn hello-spring-mcp-server.
What prerequisites are needed for ECS deployment?
You need an ECR repository and Docker authenticated to ECR. See the linked AWS documentation for details.