Skip to content

fix: add implementation description metadata#981

Merged
guglielmo-san merged 2 commits into
modelcontextprotocol:mainfrom
he-yufeng:fix/implementation-description
May 31, 2026
Merged

fix: add implementation description metadata#981
guglielmo-san merged 2 commits into
modelcontextprotocol:mainfrom
he-yufeng:fix/implementation-description

Conversation

@he-yufeng
Copy link
Copy Markdown
Contributor

Summary

  • add the optional description field to mcp.Implementation
  • keep the field omitted when empty
  • cover JSON marshal/unmarshal behavior with a focused regression test

Fixes #977.

To verify

  • go test ./mcp -run TestImplementationDescriptionJSON -count=1
  • go test ./mcp -run TestServerRequest_PerRequestAccessors -count=1
  • go test ./mcp -count=1
  • go test ./...
  • git diff --check

@he-yufeng he-yufeng force-pushed the fix/implementation-description branch from e772ec0 to cc6ab26 Compare May 29, 2026 19:36
@guglielmo-san guglielmo-san merged commit 6d2bbff into modelcontextprotocol:main May 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Description field is missing

3 participants