-
Notifications
You must be signed in to change notification settings - Fork 807
Open
Description
Which component is this bug for?
Traceloop SDK
📜 Description
As per MCP instrumentation these spans are expected
mcp.method.name
mcp.request.argument
mcp.request.id
mcp.response.value
mcp.session.init_options
But when running MCP server in stdio mode only RequestStreamWriter span is coming no ResponseStreamWriter span is present (mcp.response.value) span is missing and also mcp.session.init_options span is mising hence we are not getting the tool response details .
👟 Reproduction steps
- Initialize MCP server with traceloop
- Run mcp server in stdio mode
- check in traceloop the particular span(ResponseStreamWriter -> mcp.response.value), mcp.session.init_options is missing
👍 Expected behavior
mcp.response.value ,mcp.session.init_options span should be present for stdio mode .
👎 Actual Behavior with Screenshots

Here in the picture root span is also missing
🤖 Python Version
3.13
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
- I checked and didn't find similar issue
Are you willing to submit PR?
None
Metadata
Metadata
Assignees
Labels
No labels