You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2025/07/31 14:17:00 UTC
[jira] [Updated] (CAMEL-22302) camel-langchain4j-agent : add MCP Tool Pro
[ https://issues.apache.org/jira/browse/CAMEL-22302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otavio Rodolfo Piske updated CAMEL-22302:
-----------------------------------------
Component/s: camel-ai
> camel-langchain4j-agent : add MCP Tool Pro
> ------------------------------------------
>
> Key: CAMEL-22302
> URL: https://issues.apache.org/jira/browse/CAMEL-22302
> Project: Camel
> Issue Type: New Feature
> Components: camel-ai
> Reporter: Zineb Bendhiba
> Priority: Major
>
> The AIService created in the LangChain4j component is missing the MCP client feature.
> I propose that we can add that feature.
> +Many idea :+
> Create a dedicated MCP Tool Provider, based on a given JSON configuration.
> Example of what I imagine as JSON configuration file, presenting both stdio and HTTP transport types :
> {code:java}
> {
> "mcpServers": {
> "sqlite": {
> "type": "stdio",
> "command": [
> "/usr/bin/npm",
> "exec",
> "@modelcontextprotocol/server-everything@0.6.2"
> ],
> "logEvents" : true
> },
> "wanaku": {
> "type": "http",
> "sseUrl": "http://localhost:8080/mcp/sse",
> "logRequests" : true,
> "logResponses" : true
> }
> }
> }
> {code}
> Based on this list, create [McpTransport|https://docs.langchain4j.dev/tutorials/mcp#mcp-transport] beans, that from that a List of [MCP Client|https://docs.langchain4j.dev/tutorials/mcp#mcp-client] beans.
> With the MCP Client List, one can create a ToolProvider that could be used by our AIServiceAgent. See [documentation|https://docs.langchain4j.dev/tutorials/mcp#developing-the-tool-provider].
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)