all: fix typos#869
Merged
maciej-kisiel merged 1 commit intomodelcontextprotocol:mainfrom Mar 30, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Fixes a set of spelling/grammar issues across MCP implementation code, tests, examples, and protocol documentation to improve clarity and consistency in comments and error messages.
Changes:
- Correct typos in Go comments and test messages (e.g., “asynchronous”, “incoming”, “signals”, “failed”).
- Fix user-facing error message text for schema default application (“defaults”).
- Correct documentation and example text/metadata (e.g., “stateless”, “TokenVerifier”, struct tag description).
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| mcp/streamable_test.go | Fixes typo in test comment (“asynchronous”). |
| mcp/streamable.go | Fixes typos in internal comments (“signals”, “incoming”). |
| mcp/server.go | Fixes typo in error message (“defaults”). |
| mcp/protocol.go | Fixes typos in protocol comments (“capability”, “resources”). |
| mcp/conformance_test.go | Fixes typo in fatal test message (“failed”). |
| mcp/cmd_test.go | Fixes typo in test comment (“decrease”). |
| mcp/client.go | Fixes typo in JSON-RPC error message (“defaults”). |
| internal/docs/protocol.src.md | Fixes typos in protocol docs source (“stateless”, “TokenVerifier”). |
| examples/server/toolschemas/main.go | Fixes typo in example comment (“Therefore”). |
| examples/server/memory/main.go | Fixes typo in struct tag description (“observations”). |
| docs/protocol.md | Fixes typos in rendered protocol docs (“stateless”, “TokenVerifier”). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
maciej-kisiel
approved these changes
Mar 30, 2026
b71a839
into
modelcontextprotocol:main
13 of 14 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Grammar issues in docs, comments, and error messages.