Describe the Bug
sap-cloud-sdk versions >=0.43.0 access InitializeResult.serverInfo (camelCase) inagent.py. mcp 2.0.0 renamed this attribute to server_info (snake_case), causing an AttributeError that is caught silently per-server. The result is that 0 MCP tools are loaded for any connected MCP server — the agent LLM receives an empty tool list and responds with "tool not available" for every prompt that requires an MCP-backed tool.
The failure is particularly hard to diagnose because:
- Network calls to the MCP server succeed (no connectivity error)
- No exception propagates to the caller
- The agent appears healthy but produces no tool-based output
Steps to Reproduce
- Create an agent using
sap-cloud-sdk>=0.43.0 and mcp>=2.0.0
- Register any MCP server
- Send a prompt that requires a tool call
- Observe that the LLM reports the tool is unavailable / no tools were found
Expected Behavior
MCP tools load correctly and are available to the LLM regardless of the mcp package version.
Screenshots
No response
Used Versions
- Python version: 3.12
- SAP Cloud SDK for Python version: 0.43.x
mcp package version: 2.0.0
Code Examples
Stack Trace
AttributeError: 'InitializeResult' object has no attribute 'serverInfo'.
Did you mean: 'server_info'?
(Raised during MCP server initialization; caught silently.)
Log File
Log file
...
Affected Development Phase
Development
Impact
Blocked
Timeline
No response
Describe the Bug
sap-cloud-sdkversions>=0.43.0accessInitializeResult.serverInfo(camelCase) inagent.py.mcp 2.0.0renamed this attribute toserver_info(snake_case), causing anAttributeErrorthat is caught silently per-server. The result is that 0 MCP tools are loaded for any connected MCP server — the agent LLM receives an empty tool list and responds with "tool not available" for every prompt that requires an MCP-backed tool.The failure is particularly hard to diagnose because:
Steps to Reproduce
sap-cloud-sdk>=0.43.0andmcp>=2.0.0Expected Behavior
MCP tools load correctly and are available to the LLM regardless of the
mcppackage version.Screenshots
No response
Used Versions
mcppackage version: 2.0.0Code Examples
# Your code hereStack Trace
AttributeError: 'InitializeResult' object has no attribute 'serverInfo'.
Did you mean: 'server_info'?
(Raised during MCP server initialization; caught silently.)
Log File
Log file
...Affected Development Phase
Development
Impact
Blocked
Timeline
No response