Skip to content

[Docs] Docker MCP Toolkit | the 'streaming' transport requires the /mcp URL pathΒ #6557

@ArtemisAI

Description

@ArtemisAI

App Version

3.22.4

API Provider

Not Applicable / Other

Model Used

Docker mcp gateway run

Roo Code Task Links (Optional)

Issue Description

When connecting an MCP client to the Docker MCP Gateway using the streaming transport (docker mcp gateway run --transport streaming), the connection fails with "Invalid session ID" or similar errors if the client is configured to connect to the root URL (e.g., http://localhost:8080).

πŸ” Steps to Reproduce

Root Cause

The gateway, when in streaming mode, does not serve its MCP functionality from the root of the server. It expects all MCP requests to be sent to the /mcp path.

πŸ’₯ Outcome Summary

Resolution

The correct URL to use in the MCP client configuration is http://localhost:8080/mcp.

Recommendation

The official documentation should be updated to explicitly state that the streaming transport exposes its endpoint at the /mcp path to prevent confusion and streamline the integration process for developers.

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions