Skip to content

fix: add implementation description metadata#981

Open
he-yufeng wants to merge 1 commit into
modelcontextprotocol:mainfrom
he-yufeng:fix/implementation-description
Open

fix: add implementation description metadata#981
he-yufeng wants to merge 1 commit 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
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

2 participants