Langchain4j APP MCP HOST/Client For Spring boot MCP server
@thrkrdk
关于 Langchain4j APP MCP HOST/Client For Spring boot MCP server
Model Context Protocol: Client application with Langchain4j for spring boot ai mcp server
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Langchain4j APP MCP HOST/Client For Spring boot MCP server?
It is a Java-based MCP (Model Context Protocol) client/host built with Langchain4j, designed to connect to Spring Boot MCP servers. The server demonstrates integration with private LLMs like Ollama (Qwen2.5-coder:14b) and supports both SSE and STDIO transport modes. It is intended for developers building AI assistants that leverage MCP tools.
How to use Langchain4j APP MCP HOST/Client For Spring boot MCP server?
The project provides branches with step‑by‑step examples. The final branch (03‑use‑mcp‑server‑stadio) shows the complete setup. You run an MCP server demo image in podman in either SSE or STDIO mode, obtain the server URL (SSE) or STDIO transport, then create a ChatLanguageModel for Ollama, an MCP Transport, an MCP Client, a ToolProvider to fetch tools from the server, and finally an AI services instance (Bot) to call the assistant with a tool.
Key features of Langchain4j APP MCP HOST/Client For Spring boot MCP server
- Connects to private LLMs (e.g., Ollama Qwen2.5-coder:14b)
- Supports SSE and STDIO transport modes
- Creates MCP Client with ToolProvider integration
- Uses Langchain4j’s
ChatLanguageModeland AI services - Provides a Bot interface for tool‑calling assistants
Use cases of Langchain4j APP MCP HOST/Client For Spring boot MCP server
- Building AI assistants that query MCP‑served tools (e.g., retrieving character info)
- Integrating Ollama with Spring Boot MCP servers
- Testing MCP server functionality in SSE or STDIO mode
- Prototyping custom LLM‑powered applications with MCP tooling
FAQ from Langchain4j APP MCP HOST/Client For Spring boot MCP server
What LLM model is used?
The examples connect to Ollama with the Qwen2.5-coder:14b model.
Which transport modes does this client support?
It supports both SSE (Server‑Sent Events) and STDIO (standard input/output) transport modes for MCP servers.
Does this client run as a server or client?
It acts as a client/host that connects to external Spring Boot MCP servers.
What are the runtime dependencies?
The setup requires a running Ollama instance and podman to host the MCP server demo image. Optional tools like ngrok/kaggle are used for external URLs in some branches.
Where is the final complete code?
The 03-use-mcp-server-stadio branch is the final branch containing all the code.
常见问题
What LLM model is used?
The examples connect to Ollama with the Qwen2.5-coder:14b model.
Which transport modes does this client support?
It supports both SSE (Server‑Sent Events) and STDIO (standard input/output) transport modes for MCP servers.
Does this client run as a server or client?
It acts as a **client/host** that connects to external Spring Boot MCP servers.
What are the runtime dependencies?
The setup requires a running Ollama instance and podman to host the MCP server demo image. Optional tools like ngrok/kaggle are used for external URLs in some branches.
Where is the final complete code?
The `03-use-mcp-server-stadio` branch is the final branch containing all the code.
基本信息
其他 分类下的更多 MCP 服务器
ICSS
chokcoco不止于 CSS

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Codelf
unbugA search tool helps dev to solve the naming things problem.

EverArt
modelcontextprotocolModel Context Protocol Servers
评论