internal/mcp/protocol: move out of mcp/internal, as it's used in the API

The generated protocol package is part of the SDK API, so it shouldn't
be internal.

Change-Id: I5306af48019b1599707b939b348eb6ae4f766ca9
Reviewed-on: https://go-review.googlesource.com/c/tools/+/670356
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
This commit is contained in:
Rob Findley 2025-05-06 15:31:39 +00:00 • committed by Robert Findley
commit 8efb54691d

View file

@ -7,7 +7,7 @@ package mcp
import (
"fmt"
"github.com/modelcontextprotocol/go-sdk/internal/protocol"
"github.com/modelcontextprotocol/go-sdk/mcp/protocol"
)
// Content is the union of supported content types: [TextContent],