First off, thank you for considering contributing to MCPJam Inspector! It's people like you that make the open source community such a great place.
- You can find things to work on in our issues tab.
- Look for issues labelled
good first issueandvery easy. These are great starter tasks that are low commitment - Once you find an issue you like to work on, comment on the issue and tag @matteo8p. Then assign yourself the issue. This helps avoid multiple contributors working on the same issue.
Before you get started, please consider giving the project a star ⭐. It helps grow the project and gives your contributions more recognition.
Also join our Discord channel. That's where the community and other open source contributors communicate on.
Make sure to have the following:
Also make sure to
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/inspector.git cd inspector - Create a new branch for your changes:
git checkout -b my-feature-branch
Install the dependencies for all workspaces:
npm installTo run the client and server in development mode with hot-reloading, use:
npm run devFor Windows users, there's a specific script:
npm run dev:windowsTo build all parts of the project (client, server, and cli), run:
npm run buildYou can also build each part individually:
npm run build-clientnpm run build-servernpm run build-cli
Before submitting your changes, please run the tests to ensure everything is working correctly.
npm testThis command will also check for any code formatting issues.
We use Prettier to maintain a consistent code style. Before you commit your changes, please format your code by running:
npm run prettier-fixWe follow the Conventional Commits specification. This helps us automate changelog generation and keep the commit history clean and readable.
Your commit messages should be structured as follows:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Example:
feat(client): add new button to the main component
fix(server): resolve issue with API endpoint
- Ensure all tests are passing (
npm test). - Make sure your code is formatted (
npm run prettier-fix). - Push your branch to your fork:
git push origin my-feature-branch - Open a Pull Request to the
mainbranch of the original repository. - In your PR description, please explain the changes you've made and link any relevant issues.
Thank you for your contribution!