Skip to content

Specify transport type on startup #255

@aaronpowell

Description

@aaronpowell

Is your feature request related to a problem? Please describe.
When you first run the inspector it defaults to stdio as the transport, unless previously specified. So if you run: npx -y @modelcontextprotocol/inspector http://localhost:1234/sse it will default to stdio and upon changing the dropdown, set it to the default of http:''localhost:3001/sse, removing your default value.

Describe the solution you'd like
When running inspector you should be able to specify the transport type to use, or it should be inferred from the server provided (eg: if it's http(s) prefixed, using SSE, otherwise use stdio).

Describe alternatives you've considered
I can't find any way in the code that this can be set.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature requestp2-mediumMedium priority - normal timeline

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions