MCP Shipyard
← Rules catalog

Outdated MCP protocol version: upgrade the SDK past 2025-06-18

A server that negotiates a protocol before 2025-06-18 lacks structured output and OAuth resource indicators. Upgrade the MCP SDK.

minorserver.protocol-outdatedGeneral

Upgrade the MCP SDK so the server negotiates 2025-06-18 or later. The rule server.protocol-outdated is a minor finding for general clients, reported as a warning. It compares the negotiated version string to 2025-06-18.

What you see

  • A scan reports Negotiated 2024-11-05 (or another older revision).
  • Features added later are missing: the rule's fix text names structured output and OAuth resource indicators.

Why it happens

The server pins an old SDK, or its code replies with a hardcoded version string instead of negotiating. Tutorials from 2024 and early 2025 still use the first revisions.

Protocol revisions move on a schedule. The scanner treats 2025-11-25 and 2026-07-28 as current. The 2026-07-28 changelog lists the larger changes: no initialize handshake (each request carries its version and capabilities in _meta), a required server/discover method, no protocol-level sessions, HTTP+SSE deprecated, Dynamic Client Registration deprecated in favour of Client ID Metadata Documents, and x-mcp-header support. Version mismatches return UnsupportedProtocolVersionError.

Check the versioning page of the spec for what your SDK supports, and read your SDK's release notes before upgrading, because dependency changes can alter behaviour.

Check it yourself

curl -s -X POST https://mcp.acme.example/mcp \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"check","version":"1.0.0"}}}' \
 | grep -o '"protocolVersion":"[^"]*"'

If the server asks for authentication, add a token. A 2026-07-28-only server may reject initialize; use server/discover per the spec.

Fix

  1. Upgrade the MCP SDK to a release that supports 2025-11-25 or later.
  2. Let the SDK negotiate. Do not hardcode a version string.
  3. Re-test your tools, auth and transport after the upgrade (auth.transport).
  4. Add outputSchema and structured results where useful (output.no-schema).

Verify

The curl output shows a version of 2025-06-18 or later. Re-scan.

Which clients care

General, per the rule.

Source

MCP versioning: https://modelcontextprotocol.io/specification/2026-07-28/basic/versioning

MCP 2026-07-28 changelog: https://modelcontextprotocol.io/specification/2026-07-28/changelog

Run a free scan at https://mcpshipyard.com/scan to check every rule at once.

Check every rule at once

A free scan runs this check and the other 152 against your live URL.

Scan a server