Require mcp 1.2.0 in the Ruby weather server

Protocol revision 2026-07-28 requires a resultType on every result. The mcp
gem stamps it as of 1.2.0, so a ">= 1.1.0" floor allowed an install whose
responses a 2026-07-28 client rejects outright.

Observed against the test client on 1.1.0:

  Invalid result for tools/list: missing required resultType

On 1.2.0 the same server lists both tools and both structured-content
assertions pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
olaservo 2026-08-19 17:12:18 -07:00
commit c8139806a7

View file

@ -2,4 +2,4 @@
source "https://rubygems.org"
gem "mcp", ">= 1.1.0"
gem "mcp", ">= 1.2.0"