Skip to content

2.18.0

Latest

Choose a tag to compare

@cliffhall cliffhall released this 05 Dec 03:12
20660ba

What's Changed

Security fixes

  • The CLI, mcpdo and the TUI now escape server-controlled terminal control characters (C0 escape sequences and C1 controls such as \x9b) in everything they print from a server: tool and server names, descriptions, results, resources and error messages. They are shown as visible escapes rather than sent to the terminal. (GHSA-2mr9-588x-f57x)

Other changes

  • CLI: warn when a forwarded flag looks like a misspelled Inspector option by @cliffhall in #3079
  • Remove early redaction of secrets; use Reveal for sensitive headers (#3077) by @cliffhall in #3078
  • docs: pace GitHub reads as well as writes by @cliffhall in #3089
  • fix(tui): load lists in full when web's paginatedLists is set (#3041) by @cliffhall in #3090
  • EMA leg 3: private_key_jwt client authentication at the resource AS (#2989) by @cliffhall in #3092
  • Clear a server's OAuth state from a header icon (#3065) by @cliffhall in #3091
  • Allow a custom OAuth callback path in the web UI by @cliffhall in #3094
  • Events webhook: receive and display deliveries in the web client by @cliffhall in #3093
  • Reject a blank --connect-timeout instead of disabling the timeout by @cliffhall in #3083
  • Reject or clamp timeouts that overflow setTimeout to 1 ms (#3071) by @cliffhall in #3082
  • fix(cli): reject non-finite numbers in --tool-args-json by @cliffhall in #3084
  • Accept empty values for -e, --tool-arg and --header (#3069) by @cliffhall in #3085
  • fix(cli): reject method-specific flags given to another method by @cliffhall in #3081
  • Classify server JSON-RPC errors, failed stdio starts and bad URL schemes (#3070) by @cliffhall in #3086
  • Refuse integers a double would round in the CLI's and mcpdo's JSON-typed flags by @cliffhall in #3088
  • Type --tool-arg values by the tool's inputSchema (#3075) by @cliffhall in #3087
  • Offer Clear OAuth for a server with stored credentials, connected or not (#3099) by @cliffhall in #3100
  • Header: place Clear OAuth to the right of Disconnect (#3101) by @cliffhall in #3102
  • Client Settings: make the Webhook receiver a collapsible section (#3103) by @cliffhall in #3104
  • Active Sessions: button to open a new Inspector tab with the full URL by @cliffhall in #3106
  • Web: one held connection per tab, and warn a tab starved by the browser's connection limit by @cliffhall in #3108
  • Classify a server's subscribe/unsubscribe rejection as server_error (#3095) by @cliffhall in #3109
  • fix(cli,tui): escape terminal control characters in server output (GHSA-2mr9-588x-f57x) by @cliffhall in #3121
  • chore(deps): bump minimatch to 11.0.10 and glob to 14.0.7 (security) by @cliffhall in #3125
  • Release 2.18.0 step 1: audit fixes and bump version to 2.18.0 by @cliffhall in #3129
  • chore(release): merge v2/main into main for v2.18.0 by @cliffhall in #3134

Full Changelog: 2.17.0...2.18.0
Release ledger for milestone branch: v2/chore/milestone-merge-v2.18.0

Known issue

TUI forms submit escaped defaults (#3135). In the TUI, a tool-argument or elicitation form default that contains a carriage return or another control character (other than a newline or tab) is submitted in its escaped form when left untouched: CRLF becomes LF, and a select default stops matching its option. This affects only TUI users whose server's schema defaults contain such characters. Workaround: retype the value before submitting, or use the web client or the CLI, which are unaffected.

Thanks for helping us improve

This release addresses issues and vulnerabilities reported by these community members. Thank you for taking the time to report them: