Spring Demo SSE
Demonstrates implementing Server-Sent Events (SSE) and Model Context Protocol (MCP) tooling with Spring Boot for real-time data streaming and AI integration.
소개
This project serves as a practical Spring Boot example showcasing the implementation of Server-Sent Events (SSE) alongside the Model Context Protocol (MCP). It provides a hands-on demonstration of how to expose traditional REST endpoints as well as AI-consumable tools (like a `UserService`) using Spring AI MCP Server, facilitating real-time data streaming and event-driven architecture in Java applications. This setup allows for seamless integration with AI clients such as VS Code Copilot, enabling robust AI-driven interactions with backend services.
주요 기능
- Integrates an MCP server to expose services as AI tools (e.g., for VS Code Copilot)
- Provides a REST API endpoint for user details
- Includes full test coverage with integration tests
- 1 GitHub stars
- Exposes a UserService tool via both REST and MCP
사용 사례
- Building event-driven microservices with real-time data streaming capabilities
- Exposing existing business logic as AI-consumable tools for enhanced automation
- Integrating Spring Boot backend services with AI clients and large language models