MCP.so
登录

Spring AI MCP Server Example

@cagritrk

基本信息

分类

其他

传输方式

stdio

作者

cagritrk

关于 Spring AI MCP Server Example

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. 🤖

#spring-ai#mcp-server#crud-operations

Spring AI MCP Server Example 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Spring AI MCP Server Example 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Spring AI MCP Server Example?

A sample Spring AI MCP Server built for fun and experimentation. It implements basic CRUD operations on dummy Person data using an in-memory data store and demonstrates Spring MCP Tools annotations.

How to use Spring AI MCP Server Example?

Build the project with mvn clean install and start the server with java -jar target/spring-ai-mcp-0.0.1-SNAPSHOT.jar. Configure the MCP client with the JSON shown in the README, pointing to the built JAR file.

Key features of Spring AI MCP Server Example

  • In-memory data store for Person entities with CRUD operations
  • Eight MCP tools for managing person records
  • Search, filter, and update person data by various attributes
  • Built with Java 24, Spring Boot 3.4.4, and Spring AI 1.0.0-M6

Use cases of Spring AI MCP Server Example

  • Experimenting with Spring AI MCP Server development
  • Learning how to implement MCP Tools annotations for CRUD
  • Prototyping AI-assisted data management on a small dataset

常见问题

1

What tools does the server expose?

It exposes eight tools: ps_create_person, ps_get_all_persons, ps_get_person_by_id, ps_update_person, ps_delete_person, ps_search_by_job_title, ps_filter_by_sex, and ps_filter_by_age.

2

Is the data persistent?

No. The server uses an in-memory data store with dummy Person data loaded from a CSV file. All data is lost when the server stops.

3

What are the runtime requirements?

Java 24 and the built JAR artifact produced by `mvn clean install`. There are no external database or service dependencies.

4

How do I configure a client to use this server?

Use the JSON configuration shown in the README, specifying `"command": "java"` and `"args": ["-jar", "<YOUR_PATH>/spring-ai-mcp/target/spring-ai-mcp-0.0.1-SNAPSHOT.jar"]`.

5

What transports does the server support?

The README only shows a stdio-based transport configuration via a local JAR execution; no network transports are documented.

评论

其他 分类下的更多 MCP 服务器