-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What happened?
According https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#sending-messages-to-the-server and https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#sequence-diagram the server returns on a "single" request a simple http request type json/application and on multiple / batched ones as text/event-stream
How to reproduce the bug
curl --location 'http://localhost:8000/mcp' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 5,
"params": {
"name": "hello-world",
"arguments": {
"name": "HTTP SSE Developer"
}
}
}'
Package Version
1.3.1
PHP Version
8.2.0
Symfony Version
6.4, 7.2
Which operating systems does this happen with?
macOS
Notes
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request