Thank you for your interest in contributing to the Base MCP server! This document provides guidelines and instructions for contributing to this project.
Please be respectful and considerate of others when contributing to this project. We aim to foster an inclusive and welcoming community.
If you find a bug, please create an issue on GitHub with the following information:
- A clear, descriptive title
- A detailed description of the bug
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- Any relevant logs or screenshots
- Your environment (OS, Node.js version, etc.)
If you have an idea for an enhancement, please create an issue on GitHub with the following information:
- A clear, descriptive title
- A detailed description of the enhancement
- Any relevant examples or mockups
- Why this enhancement would be useful
- Fork the repository
- Create a new branch for your feature or bugfix (
git checkout -b feature/amazing-feature
) - Make your changes
- Run tests to ensure your changes don't break existing functionality
- Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request. Use Conventional Commits as your PR's title.
- Clone your fork of the repository
- Install dependencies:
npm install
- Create a
.env
file with your credentials (see README.md) - Build the project:
npm run build
- Test the MCP server:
npm test
- Follow the existing code style
- Write clear, descriptive commit messages
- Add comments to your code where necessary
- Write tests for new features
- Update documentation when necessary
If you want to add a new tool to the Base MCP server, follow these steps:
- Create a new file in the
src/tools
directory - Implement the tool following the existing patterns
- Add the tool to the list of available tools in
src/index.ts
- Add documentation for the tool in the README.md
- Add examples of how to use the tool in examples.md
- Write tests for the tool
Please ensure that all tests pass before submitting a Pull Request. You can run tests with:
npm test
Please update the documentation when necessary, including:
- README.md
- examples.md
- Code comments
- This CONTRIBUTING.md file
By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.
If you have any questions about contributing, please create an issue on GitHub or reach out to the maintainers.
Thank you for your contributions!