Skip to content

Commit 032c62c

Browse files
authored
Fix typos (#66)
This pull request addresses multiple minor documentation and code comment fixes to correct typos and improve clarity. These changes do not introduce functional modifications but enhance readability and professionalism. ### Documentation Fixes: * Corrected a typo in the "Security Considerations" section header in `design/design.md`. ("Securty" → "Security") * Fixed spelling errors in the "Governance and Community" section of `design/design.md`. ("accomodating" → "accommodating") * Updated the "Proposals" section in `design/design.md` to fix a typo. ("accomodate" → "accommodate") ### Code Comment Fixes: * Corrected a typo in a comment in `mcp/logging.go`. ("LoggingMesssage" → "LoggingMessage") * Fixed a typo in a comment in `mcp/streamable.go`. ("priviledged" → "privileged") <!-- Provide a brief summary of your changes --> ## Motivation and Context <!-- Why is this change needed? What problem does it solve? --> This PR is for fixing some typos in the repo ## How Has This Been Tested? <!-- Have you tested this in a real application? Which scenarios were tested? --> by code diff ## Breaking Changes <!-- Will users need to update their code or configurations? --> N/A ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [ ] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [ ] My code follows the repository's style guidelines - [ ] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context <!-- Add any other context, implementation notes, or design decisions -->
1 parent 45f700e commit 032c62c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

design/design.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ type ServerOptions struct {
863863
}
864864
```
865865
866-
#### Securty Considerations
866+
#### Security Considerations
867867
868868
Implementors of the CompletionHandler MUST adhere to the following security guidelines:
869869
@@ -952,7 +952,7 @@ In addition to the `List` methods, the SDK provides an iterator method for each
952952
953953
# Governance and Community
954954
955-
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.
955+
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.
956956
957957
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.
958958
@@ -980,7 +980,7 @@ A proposal is an issue that proposes a new API for the SDK, or a change to the s
980980
981981
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).
982982
983-
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.
983+
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.
984984
985985
### Steering meetings
986986

mcp/logging.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (h *LoggingHandler) WithGroup(name string) slog.Handler {
137137
}
138138

139139
// Handle implements [slog.Handler.Handle] by writing the Record to a JSONHandler,
140-
// then calling [ServerSession.LoggingMesssage] with the result.
140+
// then calling [ServerSession.LoggingMessage] with the result.
141141
func (h *LoggingHandler) Handle(ctx context.Context, r slog.Record) error {
142142
err := h.handle(ctx, r)
143143
// TODO(jba): find a way to surface the error.

mcp/streamable.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ func (s *StreamableServerTransport) Connect(context.Context) (Connection, error)
254254
//
255255
// Currently, this is implemented in [ServerSession.handle]. This is not ideal,
256256
// because it means that a user of the MCP package couldn't implement the
257-
// streamable transport, as they'd lack this priviledged access.
257+
// streamable transport, as they'd lack this privileged access.
258258
//
259259
// If we ever wanted to expose this mechanism, we have a few options:
260260
// 1. Make ServerSession an interface, and provide an implementation of

0 commit comments

Comments
 (0)