Skip to content

Change MCP path and implement request normalization#4

Open
vecchiotom wants to merge 2 commits intowmde:mainfrom
vecchiotom:main
Open

Change MCP path and implement request normalization#4
vecchiotom wants to merge 2 commits intowmde:mainfrom
vecchiotom:main

Conversation

@vecchiotom
Copy link
Copy Markdown

Update MCP path and add middleware to normalize requests.

this addresses issue #3 where users are having difficulties with trailing slash on the mcp endpoint.

A middleware has been added that silently redirects internally the request from /mcp to /mcp/ so that the router doesnt return a 301 response, possibly losing session ids in the meantime.

Update MCP path and add middleware to normalize requests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant