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 时代企业的香饽饽,给你的简历和求职大幅增加竞争力。
claude mcp add --transport stdio liyupi-yu-ai-agent docker run -i liyupi/yu-ai-agent
How to use
The yu-ai-agent MCP server is a Java-based AI agent platform that exposes a set of MCP-compatible services enabling an autonomous AI persona to perform tasks such as multi-turn conversations, planning, tool invocation, and knowledge-grounded actions. It can integrate with an AI model provider and a knowledge base, call tools like web search, file operations, PDF generation, and image search, and expose these capabilities through MCP endpoints so clients can orchestrate complex AI workflows. Once running behind a container, you can connect to the MCP server to create agents, send prompts, and request MCP services (for example image-search MCP, document generation MCP, or plan-and-execute MCP flows) within your application or prototyping environment.
To use the server, ensure you have an MCP client or framework that supports the MCP protocol, then point the client to the server address exposed by the Docker container. The server will accept MCP service requests, route them to the appropriate tools or integrations, and return structured responses suitable for downstream processing or user-facing applications. Typical usage includes initiating an autonomous planning session, invoking a sequence of MCP services (search, fetch data, generate reports), and handling the agent’s memory/context across interactions.
How to install
Prerequisites:
- Docker installed and running on your machine
- Access to the yu-ai-agent MCP image (liyupi/yu-ai-agent) on Docker Hub or a private registry
- Optional: a compatible MCP client library or SDK to simplify interaction
Installation steps:
-
Pull and run the MCP image in Docker: docker pull liyupi/yu-ai-agent docker run -d --name yu-ai-agent -p 8080:8080 liyupi/yu-ai-agent
-
Verify the service is up by checking logs or hitting the MCP health endpoint (adjust port if needed): docker logs -f yu-ai-agent curl http://localhost:8080/health
-
(Optional) Configure environment variables for customization (these can be provided via docker run -e or a docker-compose file):
- MCP_SERVER_PORT: Port on which the MCP server should listen
- MCP_LOG_LEVEL: Logging level (e.g., INFO, DEBUG)
- MCP_CONFIG_PATH: Path to a custom MCP configuration if the image supports it
-
If you prefer running locally without Docker, consult the project docs for alternative runtimes (e.g., Java/JVM run). The MCP server will still expose the same endpoints once started.
Additional notes
Tips and common issues:
- Ensure the Docker image liyupi/yu-ai-agent is accessible from your environment; you may need to login to Docker Hub for private registries.
- If you modify environment variables, restart the container to apply changes.
- When integrating with MCP clients, verify protocol compatibility and the endpoint paths defined by the server (health, endpoints for MCP services, etc.).
- If the server cannot reach external tools (web search, file systems, or PDFs), check network egress policies and required API keys for tools like SearchAPI or Pexels.
- For debugging, run in DEBUG mode if the image supports it and inspect agent memory/context handling and MCP call routing for complex workflows.
Related MCP Servers
ruoyi-ai
RuoYi AI 是一个全栈式 AI 开发平台,旨在帮助开发者快速构建和部署个性化的 AI 应用。
langchain4j-aideepin
基于AI的工作效率提升工具(聊天、绘画、知识库、工作流、 MCP服务市场、语音输入输出、长期记忆) | Ai-based productivity tools (Chat,Draw,RAG,Workflow,MCP marketplace, ASR,TTS, Long-term memory etc)
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
RelaMind
基于 AI 的个人成长轨迹分析系统,通过记录生活、回顾历史、分析模式帮助用户更好地理解自己,实现持续成长。包含智能路由、RAG 检索、自主任务智能体等功能。
mcp-mianshiya
基于 Spring AI 的面试鸭搜索题目的 MCP Server 服务,快速让 AI 搜索企业面试真题和答案