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.
基本情報
「その他」の他のコンテンツ
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
ICSS
chokcoco不止于 CSS
Nginx UI
0xJackyYet another WebUI for Nginx
Awesome Mlops
visengerA curated list of references for MLOps
コメント