quickstart-resources/weather-server-ruby/Gemfile
olaservo c8139806a7 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>
2026-08-19 17:12:18 -07:00

5 lines
84 B
Ruby

# frozen_string_literal: true
source "https://rubygems.org"
gem "mcp", ">= 1.2.0"