Thank you for your interest in contributing! Checkout the general Kubeflow contributing guidelines here.
We encourage the judicious use of AI/LLM tools; please refer to the Kubeflow AI Policy for more information.
-
Fork the repository
-
Clone your fork:
git clone https://github.com/<your-username>/kubeflow-mcp-server.git cd kubeflow-mcp-server
-
Set up development environment:
make install-dev
-
Create a branch:
git checkout -b feat/your-feature
The Kubeflow MCP Server project includes a Makefile with several helpful commands to streamline your development workflow.
Before creating git commits, ensure you have installed pre-commit hooks:
uv run pre-commit installThe pre-commit hooks ensure code quality and consistency (linting and formatting with ruff). They are also executed in CI.
To run verification checks locally:
make verifyThe project includes unit tests to ensure code quality and functionality.
To run unit tests locally, use the following make command:
make test-pythonWe use Conventional Commits:
<type>(<scope>): <description>
[optional body]
Types: feat, fix, revert, chore
Examples:
feat(trainer): add create_training_job toolfix(core): handle timeout in k8s clientdocs: update README with usage examples
- Update tests for your changes
- Ensure all checks pass (
make verifyandmake test-python) - Update documentation if needed
- Request review from maintainers
- OptimizerClient tools - Hyperparameter optimization integration
- ModelRegistryClient tools - Model registry integration
- Documentation - Examples and tutorials
- Testing - Increase test coverage
This project follows the Kubeflow Code of Conduct.
Open an issue or reach out to maintainers on the CNCF Slack #kubeflow-ml-experience channel.