From c59853998f1e890b043a5426c41a6ada42043032 Mon Sep 17 00:00:00 2001 From: SADIK KUZU Date: Sat, 28 Jun 2025 00:21:19 +0300 Subject: [PATCH] Fix typos --- design/design.md | 6 +++--- mcp/logging.go | 2 +- mcp/streamable.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/design/design.md b/design/design.md index 4ade34ca..b690e514 100644 --- a/design/design.md +++ b/design/design.md @@ -863,7 +863,7 @@ type ServerOptions struct { } ``` -#### Securty Considerations +#### Security Considerations Implementors of the CompletionHandler MUST adhere to the following security guidelines: @@ -952,7 +952,7 @@ In addition to the `List` methods, the SDK provides an iterator method for each # Governance and Community -While the sections above propose an initial implementation of the Go SDK, MCP is evolving rapidly. SDKs need to keep pace, by implementing changes to the spec, fixing bugs, and accomodating new and emerging use-cases. This section proposes how the SDK project can be managed so that it can change safely and transparently. +While the sections above propose an initial implementation of the Go SDK, MCP is evolving rapidly. SDKs need to keep pace, by implementing changes to the spec, fixing bugs, and accommodating new and emerging use-cases. This section proposes how the SDK project can be managed so that it can change safely and transparently. Initially, the Go SDK repository will be administered by the Go team and Anthropic, and they will be the Approvers (the set of people able to merge PRs to the SDK). The policies here are also intended to satisfy necessary constraints of the Go team's participation in the project. @@ -980,7 +980,7 @@ A proposal is an issue that proposes a new API for the SDK, or a change to the s Proposals that are straightforward and uncontroversial may be approved based on GitHub discussion. However, proposals that are deemed to be sufficiently unclear or complicated will be deferred to a regular steering meeting (see below). -This process is similar to the [Go proposal process](https://github.com/golang/proposal), but is necessarily lighter weight to accomodate the greater rate of change expected for the SDK. +This process is similar to the [Go proposal process](https://github.com/golang/proposal), but is necessarily lighter weight to accommodate the greater rate of change expected for the SDK. ### Steering meetings diff --git a/mcp/logging.go b/mcp/logging.go index 65ebe067..4880e179 100644 --- a/mcp/logging.go +++ b/mcp/logging.go @@ -137,7 +137,7 @@ func (h *LoggingHandler) WithGroup(name string) slog.Handler { } // Handle implements [slog.Handler.Handle] by writing the Record to a JSONHandler, -// then calling [ServerSession.LoggingMesssage] with the result. +// then calling [ServerSession.LoggingMessage] with the result. func (h *LoggingHandler) Handle(ctx context.Context, r slog.Record) error { err := h.handle(ctx, r) // TODO(jba): find a way to surface the error. diff --git a/mcp/streamable.go b/mcp/streamable.go index 63211c25..a1952f7e 100644 --- a/mcp/streamable.go +++ b/mcp/streamable.go @@ -254,7 +254,7 @@ func (s *StreamableServerTransport) Connect(context.Context) (Connection, error) // // Currently, this is implemented in [ServerSession.handle]. This is not ideal, // because it means that a user of the MCP package couldn't implement the -// streamable transport, as they'd lack this priviledged access. +// streamable transport, as they'd lack this privileged access. // // If we ever wanted to expose this mechanism, we have a few options: // 1. Make ServerSession an interface, and provide an implementation of