mcp sdk dosent log tool execution time anywher
tested 0.5.0 yesterday and theres zero loging of how long tools take to execute. need this for debuging slow tool calls in prod but sdk dosent expose it
hit this yesterday building an agent workflow where tool latency was killing our user experience. mcp sdk 0.5.0 has zero instrumentation for tool execution time - no logs, no metrics, nothing. had to wrap every tool with our own timing code that logs start_time, end_time, and duration_ms to a separate metrics file. would be way better if sdk exposed this by default, ideally with percentiles and histograms for prod monitoring. does sdk 0.6.0 add any execution time logging or is everyone just building their own instrumentation wrappers?
ok so does the sdk at least emit metrics somewhere or is execution time completely opaque? need this for debugging prod agent workflows where tool latency is killing our sla