Spring Initializr

Spring Initializr

An MCP server wrapping Spring Initializr to generate Spring Boot projects with custom configurations.

4
Stars
1
Forks
1
Releases

Overview

An MCP server that wraps the Spring Initializr API, enabling AI assistants to create Spring Boot projects with highly configurable options. It supports multiple project types (Maven/Gradle, including Kotlin variants), programming languages (Java, Kotlin, Groovy), and Java versions, along with packaging choices and metadata. The server automatically fetches the latest Spring Initializr metadata and dependencies to keep generated projects current, and can automatically assemble and download a ZIP archive of the project, with optional extraction to a target directory. It also includes native compilation support via GraalVM for faster startup and can produce cross-platform native binaries for Linux, Windows, and macOS (x64 and ARM64). The API surface exposes a tool called generate-spring-boot-project that accepts parameters such as downloadFolderPath, shouldExtract, projectType, language, groupId, artifactId, springBootVersion, name, description, packageName, packaging, javaVersion, and dependencies. The solution is built with Spring Boot and leverages MCP protocol, with tests, native tests, and CI/CD via GitHub Actions.

Details

Owner
hpalma
Language
Java
License
MIT License
Updated
2025-12-07

Features

Generate Spring Boot Projects

Create new Spring Boot projects with custom configurations.

Flexible Configuration

Support for different project types (Maven/Gradle), languages (Java/Kotlin/Groovy), and Java versions.

Dependency Management

Add popular Spring Boot dependencies automatically.

Native Compilation

Fast startup times with GraalVM native compilation.

Cross-Platform

Native binaries available for Linux, Windows, and macOS (x64 and ARM64).

Automatic Extraction

Optional extraction of downloaded ZIP files.

Dynamic Metadata

Automatically fetches latest Spring Boot versions and dependencies.

Audience

AI developersUse the MCP server to generate Spring Boot projects via AI assistants with custom configurations.
Software architectsPrototype Spring Boot architectures quickly using AI-driven project scaffolding and metadata.
DevOpsAutomate generation of build configurations and dependencies for consistent environments.
EducatorsTeach Spring Boot concepts by generating ready-to-run examples through AI requests.

Tags

Spring InitializrSpring BootMCPModel Context ProtocolMavenGradleJavaKotlinGroovyGraalVMNative CompilationZIP ExtractionCross-PlatformDependency ManagementAI Integration