Skip to content

[Request]: clarify the exact MCP mount URL versus its wildcard route declaration #672

Closed

Description

@jimhoyd

Problem or use case

During an end-to-end 0.6.0 release-shaped site simulation, an MCP server was declared with mount: /mcp and the documented route shape /mcp/*. A JSON-RPC POST to /mcp/ returned 404, while the same request to /mcp returned 200 and successfully completed initialize and tools/call.

The behavior is coherent: the server mount is the exact base path. But a reader can reasonably infer from the wildcard route declaration that the trailing-slash URL is accepted, especially when constructing an MCP client endpoint.

Proposed behavior and alternatives

Document explicitly in the MCP package README and/or extension guide that the endpoint URL is the declared mount value exactly (for example POST https://site.example/mcp), and that a trailing slash is a different route and is not accepted. Keep /mcp/* as the required URLCode route declaration if that is the correct framework routing shape; the request example should remove ambiguity.

This is documentation/usability only, not a request to make the runtime normalize or redirect trailing slashes.

Activity

  1. added
    documentation
    extension
    good first issue
    on Sep 24, 2026
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

    documentationextensiongood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions