Package is configured as a CLI tool:
- Binary name:
mcpmc - Executable:
build/index.js - Global install:
npm install -g @gerred/mcpmc - Required files included in npm package:
- build/index.js (executable)
- README.md
- LICENSE
- package.json
The build script makes the output file executable with chmod +x. The shebang line #!/usr/bin/env node ensures it runs with Node.js when installed globally.
- Run tests and build:
bun test && bun run build - Bump version:
npm version patch|minor|major - Push changes:
git push && git push --tags - Publish:
npm publish --otp=<code>- Requires 2FA authentication
- Get OTP code from authenticator app
- Package will be published to npm registry with public access