Skip to content

Conversation

yarnabrina
Copy link

Motivation and Context

The is no documented MCP client example how to support MCP servers using sampling capability. This PR attempts to add a basic example.

How Has This Been Tested?

This changes are subset of my personal repository. It is not tested in a production system, but thoroughly tested locally.

Breaking Changes

No

Types of changes

  • 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

  • I have read the MCP Documentation
  • 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

Related #1205

@yarnabrina
Copy link
Author

@maxisbey @felixweinberger here's the first attempt, please have a look.

@felixweinberger felixweinberger added documentation Improvements or additions to documentation needs maintainer action Potentially serious issue - needs proactive fix and maintainer attention labels Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation needs maintainer action Potentially serious issue - needs proactive fix and maintainer attention
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants