# Contributing to ComfyUI MCP Server
Thank you for your interest in contributing! This project aims to make AI-assisted ComfyUI workflow building reliable and accurate.
## Getting Started
1. Fork the repository
2. Clone your fork locally
3. Install in development mode:
```bash
pip install -e .
```
4. Set up your ComfyUI path:
```bash
export COMFYUI_ROOT="/path/to/ComfyUI"
```
## Development
### Running Tests
```bash
pytest tests/
```
### Code Style
- Use type hints for all function signatures
- Follow PEP 8 conventions
- Keep functions focused and well-documented
## Submitting Changes
1. Create a feature branch from `master`
2. Make your changes with clear commit messages
3. Add tests for new functionality
4. Ensure all tests pass
5. Submit a pull request
## Pull Request Guidelines
- Describe what your PR does and why
- Link any related issues
- Keep changes focused - one feature/fix per PR
- Update documentation if needed
## Reporting Issues
When reporting bugs, please include:
- Python version
- ComfyUI version (if known)
- Operating system
- Steps to reproduce
- Error messages/logs
## Feature Requests
Feature requests are welcome! Please describe:
- The problem you're trying to solve
- Your proposed solution
- Any alternatives you've considered
## Questions?
Open an issue with the "question" label for any questions about contributing.