Skip to content

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

Description

@mattia-hash

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.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions