ruoyi-ai
RuoYi AI 是一个全栈式 AI 开发平台,旨在帮助开发者快速构建和部署个性化的 AI 应用。
claude mcp add --transport stdio ageerle-ruoyi-ai java -jar ruoyi-ai.jar \ --env JAVA_HOME="path/to/java/installation" \ --env SPRING_PROFILES_ACTIVE="default"
How to use
RuoYi AI is a Java-based MCP server that integrates enterprise-grade AI capabilities through Spring AI, Langchain4j, and a modular AI tooling ecosystem. It provides an extensible platform for building AI-assisted workflows, knowledge graphs, and dynamic tool orchestration within an enterprise context. With real-time communication via WebSocket/SSE and a structured tool ecosystem, you can connect multiple AI models and platforms (such as FastGPT, Coze, and DIFY) and orchestrate them using knowledge graphs and AI processes. Typical use involves starting the Spring Boot application and using the unified chat interface or admin backend to configure AI tools, knowledge bases, and workflows, enabling a seamless, RAG-enabled assistant for business tasks.
After the server is up, you can interact with the AI through the web client or API endpoints. The MCP integration exposes capabilities for tool invocation, workflow orchestration, and intelligent routing based on the knowledge graph. You can customize model providers, vector stores, and local deployment options to suit data privacy and performance requirements, making it suitable for on-premises or private cloud deployments in enterprise environments.
How to install
Prerequisites:
- Java 17+ (JDK) installed
- Maven or Gradle build system (depending on project configuration)
- Optional: MySQL 8.x or other supported databases, Redis, and a vector store (Milvus/Weaviate/Qdrant) if using RAG features
Installation steps:
-
Clone the repository: git clone https://github.com/ageerle/ruoyi-ai.git cd ruoyi-ai
-
Build the project (choose the appropriate build tool used by the project, e.g., Maven): mvn clean package -DskipTests
or if using Gradle:
./gradlew bootJar
-
Prepare configuration:
- Ensure a database is available and accessible (update application.properties or application.yml with DB credentials).
- Configure any required environment variables (JAVA_HOME, SPRING_PROFILES_ACTIVE, etc.).
- If using local vector stores or external AI providers, ensure their endpoints/credentials are configured.
-
Run the application: java -jar target/ruoyi-ai-<version>.jar
or via your IDE if using a run configuration
-
Verify startup:
- Check logs for successful startup messages (Spring context initialized).
- Access management and user interfaces at the configured URLs (e.g., http://localhost:8080/admin and http://localhost:8080/).
-
Optional: run with Docker (if Dockerfile is provided by the project): docker build -t ruoyi-ai:latest . docker run -p 8080:8080 -e JAVA_HOME=/path/to/java ruoyi-ai:latest
Additional notes
Notes and tips:
- If you plan to use private knowledge bases and local vector stores, ensure the vector database is properly configured and accessible from the MCP server.
- When deploying in production, consider enabling SSL termination, configuring a reverse proxy, and setting up proper authentication/authorization (JWT or Sa-Token).
- The MCP integration supports multiple AI platforms; when adding providers (OpenAI, Azure, local models), store API keys securely (e.g., in environment variables or secret management).
- For debugging RAG or knowledge-graph related issues, consult the troubleshooting guides in the docs and check logs under the logs directory for detailed error messages.
- If deploying with Docker, you may need to adjust memory limits and JVM options to accommodate the model load and vector store operations.
Related MCP Servers
AstrBot
Agentic IM Chatbot infrastructure that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
yu-ai-agent
编程导航 2025 年 AI 开发实战新项目,基于 Spring Boot 3 + Java 21 + Spring AI 构建 AI 恋爱大师应用和 ReAct 模式自主规划智能体YuManus,覆盖 AI 大模型接入、Spring AI 核心特性、Prompt 工程和优化、RAG 检索增强、向量数据库、Tool Calling 工具调用、MCP 模型上下文协议、AI Agent 开发(Manas Java 实现)、Cursor AI 工具等核心知识。用一套教程将程序员必知必会的 AI 技术一网打尽,帮你成为 AI 时代企业的香饽饽,给你的简历和求职大幅增加竞争力。
langchain4j-aideepin
基于AI的工作效率提升工具(聊天、绘画、知识库、工作流、 MCP服务市场、语音输入输出、长期记忆) | Ai-based productivity tools (Chat,Draw,RAG,Workflow,MCP marketplace, ASR,TTS, Long-term memory etc)
better-chatbot
Just a Better Chatbot. Powered by Agent & MCP & Workflows.
ai-code-helper
2025 年 AI 编程助手实战项目(作者:程序员鱼皮),基于 Spring Boot 3.5 + Java 21 + LangChain4j + AI 构建智能编程学习与求职辅导机器人,覆盖 AI 大模型接入、LangChain4j 核心特性、流式对话、Prompt 工程、RAG 检索增强、向量数据库、Tool Calling 工具调用、MCP 模型上下文协议、Web 爬虫、安全防护、Vue.js 前端开发、SSE 服务端推送等企业级 AI 应用开发技术。帮助开发者掌握 AI 时代必备技能,熟悉 LangChain 框架,提升编程学习效率和求职竞争力,成为企业需要的 AI 全栈开发人才。
sonarqube
SonarQube MCP Server