We welcome contributions to the Model Context Protocol TypeScript SDK! This document outlines the process for contributing to the project.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/typescript-sdk.git - Install dependencies:
npm install - Build the project:
npm run build - Run tests:
npm test
- Create a new branch for your changes
- Make your changes
- Run
npm run lintto ensure code style compliance - Run
npm testto verify all tests pass - Submit a pull request
- Follow the existing code style
- Include tests for new functionality
- Update documentation as needed
- Keep changes focused and atomic
- Provide a clear description of changes
- Start the server:
npm run server - Run the client:
npm run client
This project follows our Code of Conduct. Please review it before contributing.
- Use the GitHub issue tracker
- Search existing issues before creating a new one
- Provide clear reproduction steps
Please review our Security Policy for reporting security vulnerabilities.
By contributing, you agree that your contributions will be licensed under the MIT License.