MCP.so
ログイン

Langchain4j APP MCP HOST/Client For Spring boot MCP server

@thrkrdk

基本情報

カテゴリ

その他

トランスポート

stdio

作者

thrkrdk

Langchain4j APP MCP HOST/Client For Spring boot MCP server について

Model Context Protocol: Client application with Langchain4j for spring boot ai mcp server

Langchain4j APP MCP HOST/Client For Spring boot MCP server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

Langchain4j APP MCP HOST/Client For Spring boot 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 ChatLanguageModel and 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

よくある質問

1

What LLM model is used?

The examples connect to Ollama with the Qwen2.5-coder:14b model.

2

Which transport modes does this client support?

It supports both SSE (Server‑Sent Events) and STDIO (standard input/output) transport modes for MCP servers.

3

Does this client run as a server or client?

It acts as a **client/host** that connects to external Spring Boot MCP servers.

4

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.

5

Where is the final complete code?

The `03-use-mcp-server-stadio` branch is the final branch containing all the code.

コメント

「その他」の他のコンテンツ