Skip to main content
Glama

New Relic MCP Server

by piekstra
publish.yml2.07 kB
name: Build and Publish on: push: tags: - "v*" release: types: [published] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.x" - name: Install build dependencies run: | python -m pip install --upgrade pip pip install build twine - name: Build package run: python -m build - name: Check package run: twine check dist/* - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: dist path: dist/ publish-pypi: needs: build runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') environment: name: pypi url: https://pypi.org/p/newrelic-mcp-server permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - name: Download build artifacts uses: actions/download-artifact@v4 with: name: dist path: dist/ - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 publish-github: needs: build runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') permissions: contents: read packages: write steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.x" - name: Download build artifacts uses: actions/download-artifact@v4 with: name: dist path: dist/ - name: Install twine run: pip install twine - name: Publish to GitHub Packages env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.GITHUB_TOKEN }} TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/ run: | # Note: GitHub Packages for Python uses PyPI format # You may need to configure this differently based on your needs echo "GitHub Packages publishing configured"

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/piekstra/newrelic-mcp-server'

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