# CLI Publishing
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.
# Publishing Process
1. Run tests and build: `bun test && bun run build`
2. Bump version: `npm version patch|minor|major`
3. Push changes: `git push && git push --tags`
4. Publish: `npm publish --otp=<code>`
- Requires 2FA authentication
- Get OTP code from authenticator app
- Package will be published to npm registry with public access
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gerred/mcpmc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server