Croway opened a new pull request, #8968: URL: https://github.com/apache/camel-quarkus/pull/8968
JIRA: [CAMEL-24369](https://issues.apache.org/jira/browse/CAMEL-24369) — follow-up to #8967. A native application using the openai component's MCP tool calling (`mcpServer.*` endpoint options) fails at startup with: ``` java.util.ServiceConfigurationError: No McpJsonMapperSupplier available for creating McpJsonMapper ``` The MCP Java SDK resolves its JSON mapper and schema validator through `java.util.ServiceLoader`, and the providers (from `mcp-json-jackson2`) were not registered for the native image. `OpenaiProcessor` now produces `ServiceProviderBuildItem`s for `McpJsonMapperSupplier` and `JsonSchemaValidatorSupplier`. Verified with a native (container-build) application acting as MCP client of its own `camel-quarkus-mcp-server` endpoint: before the fix it failed with the error above; after the fix the MCP client initializes and executes the agentic tool-calling loop. --- _Claude Code on behalf of Croway (Federico Mariani)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
