Thank you for considering contributing to the Uniprot MCP! This document outlines the process for contributing to this project.
Please be respectful and considerate when contributing to this project. Harassment or inappropriate behavior will not be tolerated.
If you find a bug or have a suggestion for improvement:
- Check if the issue already exists in the issue tracker
- If not, create a new issue with:
- A clear title
- A detailed description of the issue
- Steps to reproduce (if applicable)
- Expected and actual behavior
- Screenshots (if applicable)
- Environment information (OS, Python version, etc.)
To submit changes:
- Fork the repository
- Create a new branch for your change:
git checkout -b feature/your-feature-name
- Make your changes
- Run tests to ensure they pass:
pytest
- Format your code:
black mcp_server tests isort mcp_server tests
- Commit your changes with a descriptive commit message
- Push your branch to your fork
- Submit a pull request to the main repository
- Ensure your PR includes a description of the changes and the issue it addresses
- Update the README.md or documentation with any necessary changes
- Ensure all tests pass
- A maintainer will review your PR and may request changes
- Once approved, a maintainer will merge your PR
To set up your development environment:
-
Clone the repository:
git clone https://github.com/yourusername/MCP-Server-Boilerplate.git cd MCP-Server-Boilerplate -
Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install development dependencies:
pip install -e '.[dev]'
Please follow these coding standards:
- Use Black for code formatting
- Use isort for import sorting
- Follow PEP 8 guidelines
- Write docstrings for all functions, classes, and modules
- Include type hints for all function arguments and return values
By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.