Skip to content

Streamable HTTP Transport Support #2

Description

@bytestream

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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