mcp-server-spring-java

mcp-server-spring-java

3.3

If you are the rightful owner of mcp-server-spring-java and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server implementation built with Spring Boot and Java 21, providing user management tools for AI assistants.

The MCP Server using Spring Boot Java is a robust implementation designed to facilitate user management for AI assistants. Built with Java 21 and Spring Boot 3.4.3, it leverages the Model Context Protocol (MCP) to expose user management functionalities. The server supports synchronous communication and offers both Standard I/O and Server-Sent Events (SSE) transports. It integrates with the DummyJSON external API to manage user data effectively. The server is configured to run on port 8090 and provides a variety of user management tools such as retrieving all users, searching users, and managing user data through add, update, and delete operations. The server is easily testable using tools like Postman and can be integrated into MCP client applications with straightforward configuration.

Features

  • Implements MCP server functionality using Spring AI
  • Exposes user management tools via MCP
  • Synchronous communication mode
  • Support for Standard I/O and Server-Sent Events transports
  • Integrates with DummyJSON external API for user data

Tools

  1. getAllUsers

    Get all users (with paging)

  2. getAllUsersDefault

    Get all users (default pagination)

  3. getUserById

    Get a single user through ID

  4. searchUsers

    Search for users by query

  5. addUser

    Add new users

  6. updateUser

    Update users

  7. deleteUser

    Delete users