We are committed to providing a friendly, safe, and welcoming environment for all contributors. Please be respectful and inclusive in all interactions.
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/YOUR-USERNAME/MCPJungle.git cd MCPJungle - Add the upstream repository as a remote:
git remote add upstream https://github.com/mcpjungle/MCPJungle.git
- Create a new branch for your changes:
git checkout -b feature/your-feature-name
See the DEVELOPMENT.md file for detailed setup instructions.
- Go Code:
- Follow the Go Code Review Comments
- Use
gofmtto format your code - Run
go vetbefore submitting your changes - Ensure all tests pass with
go test ./... - Add tests for new functionality
-
If you plan on opening a PR for a significant change, first open a Discussion to align with the community on the changes you plan on making. This helps ensure your effort is well-directed and aligns with project priorities.
-
Sending Pull Requests with large amounts of AI-generated Code is discouraged. This makes it very hard for the maintainers to review your code.
For any code that you generate using AI tools, please make sure to:
- Run it. Does it all work as expected?
- Run tests. Do they all pass?
- Review it yourself. Does it fit into the rest of the codebase? Can it be reduced?
-
Update your fork with the latest changes from upstream:
git fetch upstream git rebase upstream/main
-
Push your changes to your fork:
git push origin feature/your-feature-name
-
Create a Pull Request from your fork to the main repository.
-
Write a good commit description with all required information.
-
Address review comments if requested by maintainers.
-
Update your PR if needed:
git add . git commit -m "address review comments" git push origin feature/your-feature-name
-
Once approved, a maintainer will merge your PR.
- Update documentation for any changes to APIs, CLIs, or user-facing features
- Add examples for new features
- Update the README if necessary
- Add comments to your code explaining complex logic
- We rely on
go.mod+go.sumas the single source of truth for dependencies - The
vendor/directory is not committed to reduce repo size - For offline builds, use
go mod vendorlocally but don't commit the changes - CI/Docker builds use module-aware mode with Go proxy
Only project maintainers can create releases. The current process is:
- A new release is always made from the
mainbranch. Keep it up-to-date and clean. - Create a tag for the release
- Build and publish artifacts using goreleaser
- Join our Discord server for discussions
- Help answer questions in GitHub issues
- Review pull requests from other contributors
- Participate in GitHub Discussions for proposals and questions
By contributing to this project, you agree that your contributions will be licensed under the project's license.
If you have any questions about contributing, please open an issue or reach out to the maintainers on Discord.
We're excited to see your contributions! If you have any questions, don't hesitate to reach out. 🎉