Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: downgrade McpError logging from warning to debug level (#8371)
github-actions[bot]adbc47ddc91f
diff --git a/letta/services/mcp/base_client.py b/letta/services/mcp/base_client.pyindex 3e5008c98..5e444e045 100644--- a/letta/services/mcp/base_client.py+++ b/letta/services/mcp/base_client.py@@ -82,7 +82,10 @@ class AsyncBaseMCPClient:result = await self.session.call_tool(tool_name, tool_args)except Exception as e:if e.__class__.__name__ == "McpError":- logger.warning(f"MCP tool '{tool_name}' execution failed: {str(e)}")+ # MCP errors are typically user-facing issues from external MCP servers+ # (e.g., resource not found, invalid arguments, permission errors)+ # Log at debug level to avoid triggering production alerts for expected failures+ logger.debug(f"MCP tool '{tool_name}' execution failed: {str(e)}")raiseparsed_content = []