MCP Server using Spring Boot Java

A Model Context Protocol (MCP) server implementation built with Spring Boot and Java 21. This project demonstrates how to create an MCP server that provides user management tools for AI assistants.

Local serverstdio

What is the MCP Server using Spring Boot Java MCP Server?

MCP Server using Spring Boot Java is an MCP project maintained in the mtwn105/mcp-server-spring-java repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server implementation built with Spring Boot and Java 21. This project demonstrates how to create an MCP server that provides…”. 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.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
getAllUsersGet all users with pagination
getAllUsersDefaultGet all users with default pagination
getUserByIdGet a single user by ID
searchUsersSearch for users by query
addUserAdd a new user
updateUserUpdate a user
deleteUserDelete a user

How to install the MCP Server using Spring Boot Java MCP Server

{
  "mcpServers": {
    "dummy-user-server": {
      "command": "java",
      "args": [
        "-Dspring.ai.mcp.server.stdio=true",
        "-Dspring.main.web-application-type=none",
        "-Dlogging.pattern.console=",
        "-jar",
        "path/to/mcp-spring-java-0.0.1-SNAPSHOT.jar"
      ]
    }
  }
}

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