Spring AI MCP Server Example

This is a sample Spring AI MCP Server project built for fun and experimentation. It implements basic CRUD operations using an in-memory data store with dummy Person data.

Local serverstdio

What is the Spring AI MCP Server Example MCP Server?

Spring AI MCP Server Example is an MCP project maintained in the cagritrk/spring-ai-mcp-server repository. The maintainer describes its purpose as “This is a sample Spring AI MCP Server project built for fun and experimentation. It implements basic CRUD operations using an in-memory data store with…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using java. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ps_delete_personDelete a person record by ID from the in-memory store.
ps_search_by_job_titleSearch for persons by job title in the in-memory store.
ps_filter_by_sexFilter persons by sex (case-insensitive).
ps_filter_by_ageFilter persons by age.
ps_update_personUpdate an existing person record by ID in the in-memory store.
ps_create_personCreate a new person record in the in-memory store.
ps_get_all_personsRetrieve all person records from the in-memory store.
ps_get_person_by_idRetrieve a person record by ID from the in-memory store.

How to install the Spring AI MCP Server Example MCP Server

{
  "mcpServers": {
    "cagritrk-inmemory-data-mcp-server": {
      "command": "java",
      "args": [
        "-jar",
        "<YOUR_PATH>\\spring-ai-mcp\\target\\spring-ai-mcp-0.0.1-SNAPSHOT.jar"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.