Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
37 lines (33 loc) · 976 Bytes
·

DEVELOPER.md

File metadata and controls

37 lines (33 loc) · 976 Bytes
·

Development

Below are the details to set up a development environment and run tests.

Install

  1. Clone the repository:
    git clone https://github.com/googleapis/mcp-toolbox-sdk-python
  2. Navigate to the package directory:
    cd mcp-toolbox-sdk-python/packages/<PACKAGE_NAME>
  3. Install the package in editable mode, so changes are reflected without reinstall:
    pip install -e .
  4. 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.

Test

  1. Navigate to the package directory if needed:

    cd mcp-toolbox-sdk-python/packages/<PACKAGE_NAME>
  2. Install the SDK and test dependencies:

    pip install -e .[test]
  3. Run tests and/or contribute to the SDK's development.

    pytest