python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

Add example client to examples/clients folder

Open 3choff opened this issue 1 year ago • 0 comments

Added a new example client to the examples/clients folder to demonstrate the usage of the SDK.

Motivation and Context

This change is needed to provide users with a practical example of how to implement the SDK in their applications. It helps new users understand the capabilities of the SDK and serves as a reference for best practices.

How Has This Been Tested?

I have tested the example client in a real application scenario, ensuring that it interacts correctly with the SDK and produces the expected results. Scenarios tested include:

  • Basic functionality of the chatbot.
  • Tested with multiple MCP servers using uvicorn and Node.js
  • Run type checking
  • Run linting

All tests passed successfully, confirming the code's quality and compliance with project standards.

Breaking Changes

No, this change does not introduce any breaking changes. Users will not need to update their existing code or configurations.

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation update

Checklist

  • [x] I have read the MCP Documentation
  • [x] My code follows the repository's style guidelines
  • [x] New and existing tests pass locally
  • [x] I have added appropriate error handling
  • [x] I have added or updated documentation as needed

Additional context

3choff avatar Dec 11 '24 16:12 3choff