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.
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]
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
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