spring-ai-mcp-server

spring-ai-mcp-server

0

The Spring AI MCP Server is a Java application built with Spring Boot and Spring AI, designed to be managed by external orchestration tools using JSON configuration. It requires JDK 21 and the corresponding JAR file to run.

Spring AI MCP Server

🚀 Overview

The Spring AI MCP Server is a Java-based application built with Spring Boot and Spring AI..

This server is designed to be launched and managed by an external orchestration tool or script that utilizes a JSON configuration to define how the server process should be started.

📋 Prerequisites

Before you can run the MCP server, ensure you have the following installed:

  1. Java Development Kit (JDK): Version 21 or higher (as specified in your launch command). You can download it from Oracle JDK or OpenJDK.
  2. The MCP Server JAR file: mcp-0.0.1-SNAPSHOT.jar (or the latest version you've built).

Launch Configuration (JSON)

The server is launched using a JSON configuration that specifies the command and arguments. Here's an example structure:

{
    "mcpServers": {
        "your-server-identifier": {
            "command": "path/to/your/java/executable",
            "args": [
                "-jar",
                "path/to/your/mcp-SNAPSHOT.jar",
                "--spring.profiles.active=yourprofile", // Optional: Spring profiles
                "--server.port=8081" // Optional: Override server port
            ]
        }
    }
}