MCP Sample Java Application

This is a minimal Spring Boot application implementing an MCP (Model Controller Provider) server using Spring AI. It is designed to be used as an external MCP server for client applications.

Local serverstdio

What is the MCP Sample Java Application MCP Server?

MCP Sample Java Application is an MCP project maintained in the saularch97/mcp-java-sample repository. The maintainer describes its purpose as “This is a minimal Spring Boot application implementing an MCP (Model Controller Provider) server using Spring AI. It is designed to be used as an…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using java. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the MCP Sample Java Application MCP Server

{
  "mcpServers": {
    "mcpopenmeteo": {
      "command": "java",
      "args": [
        "-jar",
        "<PATH_TO_YOUR_PROJECT>/openmeteomcp/target/openmeteomcp-0.0.1-SNAPSHOT.jar",
        "--port",
        "8080",
        "--host",
        "localhost"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.