spring-ai-mcp-server

spring-ai-mcp-server

3

The project is a Spring AI MCP Server example that highlights basic CRUD operations using an in-memory data structure for person records. It also demonstrates the use of Spring framework tools to implement and run an MCP Server for experimentation.

Spring AI MCP Server Example

This is a sample Spring AI MCP Server project designed for fun and experimentation. It showcases:

  • A PersonService implementing CRUD operations
  • In-memory data storage for Person entities
  • Use of Spring MCP Tools annotations to establish an MCP Server

Technologies

  • Java 24
  • Spring Boot 3.4.4
  • Spring AI 1.0.0-M6

Usage Instructions

  1. Build the project with Maven.
  2. Start the MCP server with Java.

Features

  • CRUD operations on in-memory person data.
  • Commands to delete, search by job title, filter by sex and age, update, create, and retrieve person records.