Spring AI MCP Demos
A demo mcp server
Ask AI about Spring AI MCP Demos
Powered by Claude · Grounded in docs
I know everything about Spring AI MCP Demos. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Spring AI MCP Demos
Several MCP demos (like an mcp server) written in Java with Spring Boot 4.0.x and Spring AI.
How to run the mcp server
-
Build the MCP server
./gradlew build -
Download and install Claude Desktop
- Go to https://claude.ai/download
- Download the latest release for your operating system and extract it.
- Make sure to disable Web access in the settings of Claude Desktop.
-
Configure Claude Desktop
-
Edit the
claude_desktop_config.jsonfile. -
Add or update the
mcpServerssection to include:{ "mcpServers": { "demo-local": { "command": "java", "args": [ "-jar", "D:\\dev\\git\\spring-ai-mcp-demos\\mcp-server\\build\\libs\\mcp-server-0.0.1-SNAPSHOT.jar", "--spring.profiles.active=stdio" ] } } }Adjust the path to the JAR file as needed. The example shows a Windows config. Then copy the file to the appropriate
claude-desktopdirectory. Where to put in using different operating systems, you find at https://modelcontextprotocol.io/quickstart/user.
-
-
Start Claude Desktop
- Launch Claude Desktop.
- Click on the "Search and Tools" icon and check if you see "mcp-demo-stdio".
-
Use the demo
- Interact with the MCP server through Claude Desktop’s UI.
- In Claude Desktop you can ask questions like:
From which movies is Kai's favorite quote?
- In Claude Desktop you can now ask questions like:
How many movies directed by Quentin Tarantino are in the top 100?Which movies directed by Christopher Nolan are in the top ten?
License
Apache 2.0
