Skip to main content
Glama

Gradle Tomcat MCP Server

by lkb2k
PUBLISHING.md1.78 kB
# Publishing Guide ## Prerequisites 1. **NPM Account**: Create an account at [npmjs.com](https://www.npmjs.com) 2. **Login to NPM**: `npm login` 3. **Update package.json**: Set correct repository URLs and author info ## Publishing Steps ### 1. Update Package Information Edit `package.json`: ```json { "author": "Your Name <your.email@example.com>", "repository": { "type": "git", "url": "https://github.com/your-username/mcp-gradle-tomcat.git" } } ``` ### 2. Version Management ```bash # Patch version (1.0.0 -> 1.0.1) npm version patch # Minor version (1.0.0 -> 1.1.0) npm version minor # Major version (1.0.0 -> 2.0.0) npm version major ``` ### 3. Test Before Publishing ```bash # Test the package locally npm pack tar -tzf mcp-gradle-tomcat-*.tgz # Test installation npm install -g ./mcp-gradle-tomcat-*.tgz mcp-gradle-tomcat --help ``` ### 4. Publish ```bash # Publish to NPM npm publish # For scoped packages (optional) npm publish --access public ``` ### 5. Verify ```bash # Check the published package npm view mcp-gradle-tomcat # Test global installation npm install -g mcp-gradle-tomcat ``` ## Automation with GitHub Actions Create `.github/workflows/publish.yml`: ```yaml name: Publish to NPM on: release: types: [published] jobs: publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '18' registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm test - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} ``` ## Post-Publishing 1. **Tag the release** on GitHub 2. **Update documentation** if needed 3. **Announce** on relevant platforms 4. **Monitor** for issues and feedback

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/lkb2k/mcp-gradle'

If you have feedback or need assistance with the MCP directory API, please join our Discord server