Thanks for your interest in gpu-mcp-server.
- Fork and clone the repo
- Run
make testto verify everything passes - Create a branch for your change
- Submit a pull request
make build # compile (CGO + NVML required on Linux)
make test # run tests (mock-based, works anywhere)
make lint # golangci-lint
make fmt # gofmtTests use the mock GPU collector, so you don't need a physical GPU to develop.
- One logical change per PR
- Include tests for new functionality
- Run
make testandmake lintbefore submitting - Keep commits signed (
git commit -s)
- Follow existing patterns in the codebase
- Use
gofmtandgo vet - Keep comments concise
Bug reports and feature requests are welcome. Please search existing issues first.
By contributing, you agree that your contributions will be licensed under Apache 2.0.