-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Does this client work with the https://github.com/php-mcp/server/tree/d2c583302c4d08dea887c7cbae49c767b0ce75b9?tab=readme-ov-file#3--streamable-http-transport-recommended ?
When I connect to the server I see Connection failed: HTTP connection failed: HTTP status code 406 (Not Acceptable)
The solution was to set MCP_HTTP_DEDICATED_LEGACY=true, set the client to connect to 'http://127.0.0.1:8090/mcp/sse' and restart the server:
$ php artisan mcp:serve --transport=http
Starting MCP server on http://127.0.0.1:8090
- Transport: Legacy HTTP
- SSE endpoint: http://127.0.0.1:8090/mcp/sse
- Message endpoint: http://127.0.0.1:8090/mcp/message
- Mode: Server-Sent Events
Metadata
Metadata
Assignees
Labels
No labels