Skip to content

Conversation

@stephentoub
Copy link
Contributor

  • An anonymous type was being used in McpClient for the initialize result message. Switched to use the type for that purpose that already existed.
  • A bunch of the request params / result types were not in the source context or referenced from types that were or from custom converters. Added all the request/result types to the context.
  • Improved the warning message for WithTools.

- An anonymous type was being used in McpClient for the initialize result message. Switched to use the type for that purpose that already existed.
- A bunch of the request params / result types were not in the source context or referenced from types that were or from custom converters. Added all the request/result types to the context.
- Improved the warning message for WithTools.
@stephentoub
Copy link
Contributor Author

Minimum allowed line rate is 60%
FAIL: Overall line rate below minimum threshold of 60%.

@eiriktsarpalis, @aaronpowell, is code coverage counting source generated files?

@eiriktsarpalis
Copy link
Member

@stephentoub You can try applying the exclude code coverage attribute on the context class directly.

@stephentoub stephentoub merged commit 2c1672c into modelcontextprotocol:main Mar 28, 2025
8 checks passed
@stephentoub stephentoub deleted the fixnaot branch March 28, 2025 13:50
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.

2 participants