Skip to content

Routes other than root ("/") for remote MCP servers don't seem to be supported. #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mattia-hash opened this issue Apr 10, 2025 · 1 comment · Fixed by modelcontextprotocol/typescript-sdk#466
Labels
enhancement New feature or request waiting on sdk Waiting for an SDK feature

Comments

@mattia-hash
Copy link

Routes other than root ("/") for remote MCP servers don't seem to be supported.

For example if my MCP server runs under localhost:8000/myserver and I configure localhost:8000/myserver/sse in the inspector, the sse call goes through correctly, but the messages call goes to localhost:8000/messages (not /myserver/messages), and it fails.

I see the same limitation when using claude as a client.

In my understanding this doesn't allow server developers to expose multiple servers on the same port/service under different routes.
Not 100% if this is something that can added to the inspector or not covered by the protocol.

@mattia-hash mattia-hash added the enhancement New feature or request label Apr 10, 2025
@olaservo
Copy link
Member

Hi @mattia-hash is this calling out the same problem as this issue? #313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request waiting on sdk Waiting for an SDK feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants