Skip to content

v3.1.1

Choose a tag to compare

@arvindand arvindand released this 13 Jun 22:38

Context7 Tool Proxying Fix — restores the internal Context7 tools (resolve_library_id, query_docs) that the 3.1.0 Spring AI 2.0 upgrade silently dropped.

Fixed (3.1.1)

  • Context7 internal tools not exposed under Spring AI 2.0: after the 3.1.0 platform migration the Context7 MCP client still connected, but its tools were no longer re-exported by the maven-tools server — tools/list returned only the 9 native tools. Spring AI 2.0 registers its MCP-client ToolCallbackProvider only via @ConditionalOnMissingBean(ToolCallbackProvider.class), so the app's own native-tool provider suppressed it (Spring AI 1.x had wired both automatically). McpToolsConfig now aggregates the native @Tool callbacks and the connected client's callbacks into a single ToolCallbackProvider, restoring the proxying. The -noc7 variant is unaffected (degrades to native-only). The Context7 tools require CONTEXT7_API_KEY to function.