
MCP Serverzhangshuaibao922public
db mcp demo
展示通过AI实现MySQL、Redis等数据库的增删改查功能。
Repository Info
1
Stars
0
Forks
1
Watchers
0
Issues
Java
Language
-
License
About This Server
展示通过AI实现MySQL、Redis等数据库的增删改查功能。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
在项目中快速通过ai来实现mysql、redis(等后续补充)的增删改查
功能
- 数据库增删改查
- redis增删改查
- 查询出结果后,快速实现模版代码(自定义配置rulers)
项目运行所必要环境
- java环境java21(spring-ai要求)
- maven环境配置3.9.5(与java21适配)
运行
- 本地运行命令
mvn clean install拿到jar包的绝对地址路径 - cursor中引入mcp
"名称": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-Dspring.main.web-application-type=none",
"-Dlogging.pattern.console=",
"-jar",
"jar包地址"
]
}
具体功能展示
!img.png !img.png
Quick Start
1
Clone the repository
git clone https://github.com/zhangshuaibao922/db-mcp-demo2
Install dependencies
cd db-mcp-demo
npm install3
Follow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Ownerzhangshuaibao922
Repodb-mcp-demo
LanguageJava
License-
Last fetched8/10/2025
Recommended MCP Servers
💬
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
integrationsdiscordchat
🔗
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
integrationsautomationsaas
🕷️
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
apifycrawlerdata
🌐
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
testingqabrowsers
⚡
Zapier MCP
A Zapier server that provides automation capabilities for various apps.
zapierautomation