- npm Account: Create one at https://www.npmjs.com/signup
- Login: Run
npm loginand enter your credentials - GitHub Repository: Push code to GitHub repository
- GitHub Token: Set up NPM_TOKEN secret in GitHub repository settings
-
Check npm availability:
npm view reactbits-dev-mcp-server
If the package doesn't exist, you're good to go!
-
Verify build:
npm run clean npm run build npm test -
Dry run (see what will be published):
npm publish --dry-run --access public
- Update version in package.json
- Update CHANGELOG.md with changes
- Run publish preparation:
./prepare-publish.sh
- Publish to npm:
npm publish --access public
- Create a release on GitHub
- GitHub Actions will automatically:
- Build the project
- Run tests
- Publish to npm
-
Verify installation works:
npx reactbits-dev-mcp-server
-
Test with MCP client:
- Update Claude Desktop config
- Restart Claude
- Test the tools
-
Announce (optional):
- Tweet about it
- Post in MCP community
- Update ReactBits.dev
- Major (1.0.0): Breaking changes
- Minor (1.1.0): New features, backward compatible
- Patch (1.0.1): Bug fixes, backward compatible