From 0c2d510be8ca1d92802289063ad7cc0174498f07 Mon Sep 17 00:00:00 2001 From: latent-9 <296084221+latent-9@users.noreply.github.com> Date: Mon, 10 Aug 2026 04:31:33 +1200 Subject: [PATCH] mcp: fix typo in protocol version comment The comment above the Mcp-Protocol-Version header lookup spells "protocol" as "protcol". --- mcp/streamable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp/streamable.go b/mcp/streamable.go index db81a37b..b2190fa0 100644 --- a/mcp/streamable.go +++ b/mcp/streamable.go @@ -1524,7 +1524,7 @@ func (c *streamableServerConn) servePOST(w http.ResponseWriter, req *http.Reques metaVersion, _ = meta[MetaKeyProtocolVersion].(string) } if protocolVersion >= protocolVersion20260728 || metaVersion != "" { - // Extract again the protcol version from the context to see what the client + // Extract again the protocol version from the context to see what the client // is advertising in the Mcp-Protocol-Version HTTP header. headerVersion := protocolVersionFromContext(req.Context()) // server/discover is exempt from the stateful