- Explore MCP Servers
- ai-mcp-demo
Ai Mcp Demo
What is Ai Mcp Demo
ai-mcp-demo is a demonstration project for AI-based MCP (Multi-Channel Processing), showcasing how to integrate AI functionalities into a server application.
Use cases
Use cases for ai-mcp-demo include building AI-driven chatbots, enhancing customer support systems, and developing interactive learning platforms.
How to use
To use ai-mcp-demo, clone the repository from GitHub, compile the code using Maven, configure the necessary settings including the Deepseek API token, initialize the database, and then start both the server and client applications.
Key features
Key features of ai-mcp-demo include integration with Deepseek API, support for MySQL database, and a client-server architecture that allows for interactive chat functionalities.
Where to use
ai-mcp-demo can be used in various fields such as AI development, chat applications, customer service automation, and educational tools.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Ai Mcp Demo
ai-mcp-demo is a demonstration project for AI-based MCP (Multi-Channel Processing), showcasing how to integrate AI functionalities into a server application.
Use cases
Use cases for ai-mcp-demo include building AI-driven chatbots, enhancing customer support systems, and developing interactive learning platforms.
How to use
To use ai-mcp-demo, clone the repository from GitHub, compile the code using Maven, configure the necessary settings including the Deepseek API token, initialize the database, and then start both the server and client applications.
Key features
Key features of ai-mcp-demo include integration with Deepseek API, support for MySQL database, and a client-server architecture that allows for interactive chat functionalities.
Where to use
ai-mcp-demo can be used in various fields such as AI development, chat applications, customer service automation, and educational tools.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
ai-mcp-demo
demo for ai mcp
前置要求
- jdk17
- maven
- mysql(8+),可以换其他版本,但需要修改配置文件
- deepseek api token
下载代码
git clone [email protected]:ChenXun1989/ai-mcp-demo.git
编译代码
mvn install
修改配置文件
配置deepseek 的api token
初始化数据
脚本在 init/init.sql
启动服务
- server 启动 wiki.chenxun.ai.mcp.demo.server.ServerApplication#main
- client 启动 wiki.chenxun.ai.demo.server.ClientApplication#main
测试
查询张三英语成绩
http://localhost:9778/chat/mysql?chatMemoryConversationId=1&msg=张三英语成绩
查询李四英语成绩
http://localhost:9778/chat/mysql?chatMemoryConversationId=1&msg=李四英语成绩
查询他俩英语成绩加起来多少分
http://localhost:9778/chat/mysql?chatMemoryConversationId=1&msg=他俩英语成绩加起来多少分
清理上下文记忆
联系作者
个人博客
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










