Thank you for your interest in contributing to the Model Context Protocol (MCP) servers! This document provides guidelines and instructions for contributing.
Adding a new server is a valuable way to contribute. Before creating a new server:
- Check the modelcontextprotocol.io documentation
- Ensure your server doesn't duplicate existing functionality
- Consider whether your server would be generally useful to others
- Follow security best practices from the MCP documentation
Enhancements to existing servers are welcome! This includes:
- Bug fixes
- Performance improvements
- New features
- Security enhancements
Documentation improvements are always welcome:
- Fixing typos or unclear instructions
- Adding examples
- Improving setup instructions
- Adding troubleshooting guides
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/servers.git
- Add the upstream remote:
git remote add upstream https://github.com/modelcontextprotocol/servers.git
- Create a branch:
git checkout -b my-feature
- Follow the existing code style in the repository
- Include appropriate type definitions
- Add comments for complex logic
- Include a detailed README.md in your server directory
- Document all configuration options
- Provide setup instructions
- Include usage examples
- Follow security best practices
- Implement proper input validation
- Handle errors appropriately
- Document security considerations
- Commit your changes:
git add . git commit -m "Description of changes"
- Push to your fork:
git push origin my-feature
- Create a Pull Request through GitHub
- Thoroughly test your changes
- Fill out the pull request template completely
- Link any related issues
- Provide clear description of changes
- Include any necessary documentation updates
- Add screenshots for UI changes
- List any breaking changes
- Participate in GitHub Discussions
- Follow the Code of Conduct
- Check the documentation
- Ask in GitHub Discussions
Thank you for contributing to MCP Servers!