byquan2004/mcp-server-demo
3.2
If you are the rightful owner of mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
mcp-demo is a demonstration project based on Spring AI, showcasing the basic functionalities of the Model Context Protocol (MCP) service using standard input/output.
Tools
Search University Information
Tool to search for information about universities.
Get Random Goddess Image
Tool to fetch a random image of a goddess.
Get Random Goddess Video
Tool to fetch a random video of a goddess.
Fetch News
Tool to retrieve the latest news.
Query Weather
Tool to get weather information.
Query IP Details
Tool to get detailed information about an IP address.
mcp-server-demo
Introduction
mcp-server-demo是一个基于 Spring AI 的演示项目,使用stdio(standard input/output)协议运行,旨在展示 MCP(Model Context Protocol)服务的基本功能。
Resource
requirement
- JDK 17
- Maven 3.x+
ADD the MCP Server and include tools
{
"mcpServers": {
"spring-ai-mcp-demo": {
"command": "java",
"args": [
"-jar",
"/target/mcp-demo-0.0.1.jar"
]
}
}
}
包含如下工具:
- 获取随机女神图片
- 获取随机女神视频
- 查询IP地址详细
- 查询大学信息
- 获取新闻
- 查询天气