[
https://issues.apache.org/jira/browse/CAMEL-26398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18134145#comment-18134145
]
Claus Ibsen commented on CAMEL-26398:
-------------------------------------
This is a bit dangerous as the MCP should not allow reading files from absolute
folders anywhere on the disk. So if the input is aboslute then we need to check
that it would be within the given dir of the project.
> camel-jbang-mcp - the file tools refuse an absolute file path, a call without
> directory, and a directory that does not exist yet
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-26398
> URL: https://issues.apache.org/jira/browse/CAMEL-26398
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang, camel-jbang-mcp
> Affects Versions: 4.23.0
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)