MCP Sample Java Application
@Saularch97
关于 MCP Sample Java Application
Sample of an MCP server using Spring AI with Java
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Sample Java Application?
A minimal Spring Boot application implementing an MCP server using Spring AI. It is designed to be used as an external MCP server for client applications and serves as a reference implementation for building MCP servers in Java.
How to use MCP Sample Java Application?
Clone the repository, build with mvn clean package, then configure your MCP client to launch the server using the generated JAR with optional --port and --host arguments.
Key features of MCP Sample Java Application
- Minimal Spring Boot MCP server implementation
- Built with Spring AI’s MCP server starter
- Configurable host and port at startup
- Runs as an external MCP server
- Compatible with multiple MCP clients (Cursor, Claude Desktop, VSCode)
- Sample/reference implementation for learning
Use cases of MCP Sample Java Application
- Learning how to build MCP servers with Spring Boot and Spring AI
- Testing MCP client applications against a sample server implementation
- Starting point for developing custom MCP servers in Java
FAQ from MCP Sample Java Application
What are the requirements to build and run MCP Sample Java Application?
Java 21 and Maven 3.8+ are required.
How do I configure a client to use MCP Sample Java Application?
Add a JSON configuration entry to your MCP client with the java -jar command, the path to the JAR, and optional --port and --host arguments.
What dependency does MCP Sample Java Application use?
It depends on spring-ai-starter-mcp-server-webmvc from the Spring AI project.
Which clients are compatible with MCP Sample Java Application?
The server can be used with Cursor, Claude Desktop, VSCode, and any MCP-compatible client.
Where does MCP Sample Java Application run?
It runs as an external process launched by the client; the server listens on a configurable host and port (defaulting to localhost:8080).
其他 分类下的更多 MCP 服务器
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
评论