Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
将 LangChain4j 与 Spring Boot 结合,构建一个智能 AI 应用。项目集成了 GitHub API、网页抓取、Ollama 本地 AI 模型,并具备MCP智能工具选择功能
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Connect APIs & services.
MCP server for using Alchemy APIs
Same catalog task: Connect APIs & services.
MCP server for using the AMap Maps API
Same catalog task: Connect APIs & services.
Official MCP server for Anytype API
Fetched from the repository for this visit.
这个项目展示了如何将LangChain4j与Spring Boot集成,创建一个功能丰富的AI应用程序,包括多种工具的集成和自动工具选择功能。
多种AI工具集成:
智能工具选择:
用户友好界面:
后端:
前端:
在运行应用前,需要设置以下环境变量:
# GitHub工具所需
export GITHUB_TOKEN=your_github_personal_access_token
# Ollama配置(可选)
export OLLAMA_BASE_URL=http://localhost:11434
# 安装uvx工具
npm install -g @modelcontextprotocol/uvx
# 安装GitHub MCP服务器
uvx install @modelcontextprotocol/server-github
# 安装Fetch MCP服务器
uvx install @modelcontextprotocol/server-fetch
# 克隆仓库
git clone https://github.com/melon1010/LangChain4j-Springboot.git
cd LangChain4j-Springboot
# 构建项目
mvn clean package
# 运行应用
java -jar target/langchain4j-springboot-0.0.1-SNAPSHOT.jar
应用将在 http://localhost:8080 启动。
访问 http://localhost:8080 进入主页,可以选择不同的工具或直接使用AI智能工具。
主要配置文件位于 src/main/resources/application.yml:
langchain4j:
ollama:
chat-model:
base-url: http://localhost:11434
model-name: llama3
timeout: 60s
mcp:
github:
token: ${GITHUB_TOKEN}
timeout: 120
debug: true
fetch:
timeout: 120
debug: true
欢迎贡献代码、报告问题或提出改进建议!请遵循以下步骤:
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)本项目采用MIT许可证 - 详情请参阅 LICENSE 文件。
Loading reviews...
GitHub checked 112h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.