Skip to content

🐛 Bug Report:Current MCP instrumentation doesn't support Streamable HTTP #3047

Open
@elinacse

Description

@elinacse

Which component is this bug for?

Traceloop SDK

📜 Description

With Current mcp instrumentation we are getting spans/traces only when we are launching mcp server with sse transport mode but as per official mcp doc sse is deprecated and it's replaced with streamble http -
https://modelcontextprotocol.io/docs/concepts/transports#server-sent-events-sse-deprecated

but with streamable http we are not getting mcp traces as the current instrumentation doesn't support this .

👟 Reproduction steps

start mcp server with streamable http , then you won't get any mcp spans

👍 Expected behavior

support streamable http mode

👎 Actual Behavior with Screenshots

Image

🤖 Python Version

3.11

📃 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions