Do MCP SSE URLs from <http://pipedream.com|pipedream.com> Work with Crewai, Autogen, and Others?

This topic was automatically generated from Slack. You can find the original thread here.

are the mcp sse urls generated using mcp.pipedream.com, works with crewai, autogen etc? i’ve tried the zapier mcp and an mcp endpoint generated using pipedream - and pipedream endpoint fails to work.

Can you show me the failure you’re getting?

Not sure why they wouldn’t work

I’ve increased the timout and im now seeing the problem.

Can you give me more details? Where are you seeing the issue? What tool are you trying to use?

2025-04-10 18:19:08,637 - mcp.client.sse - ERROR - Error parsing server message: 11 validation errors for JSONRPCMessage
JSONRPCRequest.method
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCRequest.jsonrpc
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCRequest.id
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCNotification.method
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCNotification.jsonrpc
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCResponse.jsonrpc
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCResponse.id
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCResponse.result
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCError.jsonrpc
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCError.id
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]
For further information visit Redirecting...
JSONRPCError.error
Field required [type=missing, input_value={‘type’: ‘connection_established’}, input_type=dict]

mcp library of python is bit more strict it seems.

going to https://actions.zapier.com/mcp/ss/sse (mcp zapier) doesn’t output {'type': 'connection_established'}, but pipedream https://mcp.pipedream.net/2sdf82c/google_calendar does

found the cause

the official mcp library sse_reader method.

within sse_client immediately tries to parse every incoming SSE message payload (sse.data) as a strict JSON-RPC message using types.JSONRPCMessage.model_validate_json(sse.data).
The Pipedream endpoint sends an initial, non-standard message {‘type’: ‘connection_established’} which doesn’t fit the JSON-RPC structure, causing the validation error

Did a monkey-patch to override the sse_reader method on my codebase and tried pipedream endpoint, and it works. So i can confirm this is the bug :slightly_smiling_face:

:eyes:

We just pushed a fix — can you try again?

It works!!!

Thank you :dart:

Thank you! Thanks for debugging and for the pointer