Which client?
All / shared core
The problem
protocolEra is only settable as a per-server field in an mcp.json entry. An ad-hoc invocation (--server-url + --header) always gets the default legacy era, in all three clients.
We launch the inspector from a wrapper script that mints a short-lived OAuth token and spawns:
mcp-inspector --transport http --server-url "$URL" --header "Authorization: Bearer $TOKEN"
To exercise the same server under a non-legacy era we would have to write a config file per launch, which means writing the bearer token to disk.
Solution you have in mind (optional)
A --protocol-era <legacy|auto|modern> flag that feeds settings.protocolEra on the ad-hoc path, the way --connect-timeout feeds settings.connectionTimeout today.
Alternatives or workarounds you have tried
Generating a temporary mcp.json per launch (puts a short-lived credential on disk). In web, switching Protocol Era by hand in Server Settings after every launch; CLI and TUI have no equivalent.
Before you submit
Which client?
All / shared core
The problem
protocolErais only settable as a per-server field in anmcp.jsonentry. An ad-hoc invocation (--server-url+--header) always gets the default legacy era, in all three clients.We launch the inspector from a wrapper script that mints a short-lived OAuth token and spawns:
To exercise the same server under a non-legacy era we would have to write a config file per launch, which means writing the bearer token to disk.
Solution you have in mind (optional)
A
--protocol-era <legacy|auto|modern>flag that feedssettings.protocolEraon the ad-hoc path, the way--connect-timeoutfeedssettings.connectionTimeouttoday.Alternatives or workarounds you have tried
Generating a temporary
mcp.jsonper launch (puts a short-lived credential on disk). In web, switching Protocol Era by hand in Server Settings after every launch; CLI and TUI have no equivalent.Before you submit