We welcome contributions to PubChem-MCP! This document provides guidelines and instructions for contributing.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/PubChem-MCP.git
cd PubChem-MCP- Set up the development environment:
# Create a virtual environment using uv
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install development dependencies
pip install -e ".[dev]"- Create a new branch for your changes:
git checkout -b feature/your-feature-name- Make your changes and add tests if applicable
- Run tests to ensure everything works:
pytest- Format your code:
black .
isort .- Push your changes to your fork:
git push origin feature/your-feature-name- Open a pull request on the main repository
- Follow PEP 8 style guidelines
- Include docstrings for all functions and classes
- Add appropriate type hints
- Write tests for new functionality
Thank you for your contributions!