What tools does MCP Server using Spring Boot Java expose?
It provides seven tools: `getAllUsers`, `getAllUsersDefault`, `getUserById`, `searchUsers`, `addUser`, `updateUser`, and `deleteUser`.
@iyerajesh
基本情報
MCP server that showcases two tools - WeatherService and UserService
Get all users with pagination
Get all users with default pagination
Get a single user by ID
Search for users by query
Add a new user
Update a user
Delete a user
A Model Context Protocol (MCP) server built with Spring Boot and Java 21, exposing user management tools for AI assistants. It integrates with the DummyJSON external API to provide CRUD operations on user data.
Build the project with mvn clean package, then run the jar with java -jar target/mcp-spring-java-0.0.1-SNAPSHOT.jar. The server supports both STDIO and SSE transports; configure it in application.yml (default port 8090) or via command-line flags. Test tools by sending POST requests to /mcp/message with a JSON payload specifying the tool name and parameters. For use with MCP clients, add a configuration entry pointing to the jar with -Dspring.ai.mcp.server.stdio=true.
searchUsers toolIt provides seven tools: `getAllUsers`, `getAllUsersDefault`, `getUserById`, `searchUsers`, `addUser`, `updateUser`, and `deleteUser`.
Use Postman to send a POST request to `http://localhost:8090/mcp/message` with a JSON body containing the tool call. Example: `{"message":{"toolCalls":[{"id":"call-123","name":"getUserById","parameters":{"id":1}}]}}`.
Java 21 or higher and Maven are required to build and run the application. The project uses Lombok, Spring AI, and the DummyJSON API (external).
Standard I/O (STDIO) for terminal‑based communication and Server‑Sent Events (SSE) via the `/mcp/message` endpoint.
All user data is fetched from the DummyJSON external API; no local database is used.

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.
Hindsight: Agent Memory That Learns
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
コメント