We love your input! We want to make contributing to this project as easy and transparent as possible.
We use GitHub to host code, to track issues and feature requests, as well as accept pull requests.
- Fork the repo and create your branch from
main - If you've added code that should be tested, add tests
- If you've changed APIs, update the documentation
- Ensure the test suite passes
- Make sure your code lints
- Issue that pull request!
- Update the README.md with details of changes to the interface
- Update the CHANGELOG.md with a note describing your changes
- The PR will be merged once you have the sign-off of at least one maintainer
When you submit code changes, your submissions are understood to be under the same MIT License that covers the project.
Report bugs using GitHub's issues
We use GitHub issues to track public bugs. Report a bug by opening a new issue.
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
# Clone your fork
git clone https://github.com/your-username/mcp-server-solidworks.git
cd mcp-server-solidworks-ts
# Install dependencies
npm install
# Run tests
npm test
# Run in development mode
npm run dev- Write tests for any new functionality
- Ensure all tests pass before submitting PR
- Test with actual SolidWorks installation when possible
- Use TypeScript for all new code
- Follow the existing code style (enforced by ESLint/Prettier)
- Run
npm run lintbefore committing - Use meaningful variable and function names
- Add comments for complex logic
To add a new tool:
- Create the tool in the appropriate file in
src/tools/ - Follow the existing pattern with Zod schemas
- Add comprehensive error handling
- Update the README with the new tool documentation
- Add tests for the new functionality
By contributing, you agree that your contributions will be licensed under its MIT License.