Thank you for your interest in contributing to the MCP Python SDK! This document provides guidelines and instructions for contributing.
- Install uv
- Make sure you have Python 3.11+ installed
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/jua-python-sdk.git - Install dependencies:
uv sync --frozen --all-extras --dev-
Create a new branch from
main -
Make your changes
-
Commit your changes
- We are using commitizen / Conventional Commits
- You may use
cz commitfor an interactive way of creating the commit message
-
Ensure linting & unittests pass:
just check-commit- Submit a pull request to the same branch you branched from
- We use
rufffor linting and formatting - Follow PEP 8 style guidelines
- Add type hints to all functions
- Include docstrings for public classes & functions
- Update documentation as needed
- Add tests for new functionality (use pytest)
- Ensure CI passes
- Maintainers will review your code
- Address review feedback
By contributing, you agree that your contributions will be licensed under the MIT License.