Below are the details to set up a development environment and run tests.
- Clone the repository:
git clone https://github.com/googleapis/mcp-toolbox-sdk-python
- Navigate to the package directory:
cd mcp-toolbox-sdk-python/packages/<PACKAGE_NAME>
- Install the package in editable mode, so changes are reflected without
reinstall:
pip install -e .
- Make code changes and contribute to the SDK's development.
Tip
Using -e
option allows you to make changes to the SDK code and have
those changes reflected immediately without reinstalling the package.
-
Navigate to the package directory if needed:
cd mcp-toolbox-sdk-python/packages/<PACKAGE_NAME>
-
Install the SDK and test dependencies:
pip install -e .[test]
-
Run tests and/or contribute to the SDK's development.
pytest