Spring AI Example
@lucasdengcn
About Spring AI Example
spring ai example. mcp server, agentic ai.
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Spring AI Example?
This project demonstrates implementation patterns and best practices for using Spring AI tools, integrating with the Model Context Protocol (MCP) through a server module (with WebFlux and WebMvc SSE support) and a client module for building AI-powered proposals. It is designed for developers working with Spring AI, MCP, and large language models.
How to use Spring AI Example?
Clone the repository and run the Spring Boot application. Configure the Ollama AI model, PGVector vector store, and H2 database in the application properties. The mcp-server module can be invoked via SSE endpoints, while the proposal-agent module acts as an MCP client.
Key features of Spring AI Example
- Methods as tools via
@Toolannotation - Custom tool result converters
- Tool context injection in methods
- Tool parameter descriptions with
@ToolParam - MCP server with SSE support
- MCP client for AI proposal generation
Use cases of Spring AI Example
- Building chatbots that retrieve current date/time or customer information
- Creating proposal generation systems with tool-based data access
- Demonstrating Spring AI tool patterns in an MCP architecture
- Testing real-time SSE updates from MCP servers
FAQ from Spring AI Example
What is the project structure?
It contains two main modules: mcp-server (MCP server with SSE support) and proposal-agent (MCP client for AI proposals), plus a common source folder.
What AI model and database are used?
The configuration uses the Ollama AI model with PGVector for vector storage and H2 database for development.
What transport does the MCP server use?
It uses Server-Sent Events (SSE) for real‑time communication, implemented with Spring’s SseEmitter.
How are tools defined in Spring AI?
Methods are annotated with @Tool to become tools, optionally using @ToolParam for parameter descriptions and custom result converters via resultConverter.
Does the project include client and server examples?
Yes, the mcp-server module implements the MCP server, while the proposal-agent module implements the MCP client.
Frequently asked questions
What is the project structure?
It contains two main modules: `mcp-server` (MCP server with SSE support) and `proposal-agent` (MCP client for AI proposals), plus a common source folder.
What AI model and database are used?
The configuration uses the Ollama AI model with PGVector for vector storage and H2 database for development.
What transport does the MCP server use?
It uses Server-Sent Events (SSE) for real‑time communication, implemented with Spring’s `SseEmitter`.
How are tools defined in Spring AI?
Methods are annotated with `@Tool` to become tools, optionally using `@ToolParam` for parameter descriptions and custom result converters via `resultConverter`.
Does the project include client and server examples?
Yes, the `mcp-server` module implements the MCP server, while the `proposal-agent` module implements the MCP client.
Basic information
More Other MCP servers
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Awesome Mlops
visengerA curated list of references for MLOps
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis 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,
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Lemon.io
lemon-ioRequest dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
Comments