You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Request]: clarify the exact MCP mount URL versus its wildcard route declaration #672
documentationImprovements or additions to documentationextensionInvolves an extension or companion package (store, ui, auth, admin)good first issueGood for newcomers
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.
documentationImprovements or additions to documentationextensionInvolves an extension or companion package (store, ui, auth, admin)good first issueGood for newcomers
Activity