Thank you for your interest in contributing to the MCP Go SDK! We welcome contributions of all kinds, including bug fixes, new features, and documentation improvements. This document outlines the process for contributing to the project.
Make sure you have Go 1.23 or later installed on your machine. You can check your Go version by running:
go version-
Fork the repository
-
Clone your fork:
git clone https://github.com/YOUR_USERNAME/mcp-go.git cd mcp-go -
Install the required packages:
go mod tidy
-
Create a new branch.
-
Make your changes.
-
Ensure you have added tests for any new functionality.
-
Run the tests as shown below from the root directory:
go test -v './...'
-
Submit a pull request to the main branch.
Feel free to reach out if you have any questions or need help either by opening an issue or by reaching out in the Discord channel.