mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-18 22:44:20 +01:00
1.3 KiB
1.3 KiB
Contributing
Thank you for your interest in contributing to the MCP Python SDK! This document provides guidelines and instructions for contributing.
Development Setup
- Make sure you have Python 3.10+ installed
- Install uv
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/python-sdk.git - Install dependencies:
uv sync --frozen --all-extras --dev
Development Workflow
- Create a new branch for your changes
- Make your changes
- Ensure tests pass:
uv run pytest
- Run type checking:
uv run pyright
- Run linting:
uv run ruff check .
uv run ruff format .
- Submit a pull request
Code Style
- We use
rufffor linting and formatting - Follow PEP 8 style guidelines
- Add type hints to all functions
- Include docstrings for public APIs
Pull Request Process
- Update documentation as needed
- Add tests for new functionality
- Ensure CI passes
- Maintainers will review your code
- Address review feedback
Code of Conduct
Please note that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.
License
By contributing, you agree that your contributions will be licensed under the MIT License.