We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheRealAshik/jules-mcp-npx'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
name: Publish to npm & GitHub π
on:
workflow_dispatch:
inputs:
version:
description: 'Version level (patch, minor, major)'
required: true
default: 'patch'
type: choice
options:
- patch
- minor
- major
create_release:
description: 'Create GitHub Release?'
required: true
default: true
type: boolean
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Install & Build π¦
run: |
npm ci
npm run build
# --- MANUAL DISPATCH STEPS ---
- name: Configure Git (Manual) βοΈ
if: github.event_name == 'workflow_dispatch'
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
- name: Bump Version (Manual) π·οΈ
if: github.event_name == 'workflow_dispatch'
id: bump_version
run: |
npm version ${{ inputs.version }} -m "chore(release): %s"
echo "TAG_NAME=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
# --- AUTO/TAG TRIGGER STEPS ---
- name: Set Tag Env (Auto)
if: github.event_name == 'push'
run: |
echo "TAG_NAME=${{ github.ref_name }}" >> $GITHUB_ENV
# --- COMMON STEPS ---
- name: Check & Auto-bump if version exists
run: |
PACKAGE_VERSION=$(node -p "require('./package.json').version")
while npm view @realashik/jules-mcp@$PACKAGE_VERSION version 2>/dev/null; do
echo "β οΈ Version $PACKAGE_VERSION already exists, bumping patch..."
npm version patch --no-git-tag-version
PACKAGE_VERSION=$(node -p "require('./package.json').version")
done
echo "β
Publishing version $PACKAGE_VERSION"
- name: Publish to npm π
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Push Changes (Manual) β¬οΈ
if: github.event_name == 'workflow_dispatch'
run: git push origin main --follow-tags
- name: Create GitHub Release π
if: inputs.create_release == true || github.event_name == 'push'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ env.TAG_NAME }} \
--title "Release ${{ env.TAG_NAME }}" \
--generate-notes