Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
release-ci.yml4.68 kB
name: npm - release to dev/integration run-name: npm - release from ${{ github.ref_name }} to dev/integration on: push: branches: - main - 'integration/*' - '*.*.x' paths-ignore: # Any update here needs to be done for all files # (test.yml, benchmark.yml, release-ci.yml, bundle-size.yml, ci-aux-files.yml) - '*.md' - '*.bench.ts' - 'LICENSE' - '.dockerignore' # - 'scripts/ci/publish.ts' -> should not be ignored in this workflow - '.github/CODEOWNERS' - '.github/ISSUE_TEMPLATE/**' - '.github/DISCUSSION_TEMPLATE/**' - '.devcontainer/**' - '.vscode/**' - 'graphs/**' - 'sandbox/**' workflow_dispatch: inputs: dryRun: description: 'Check to do a dry run (does not publish packages)' type: boolean forceIntegrationRelease: description: 'Check to force an integration release for any given branch name' type: boolean env: # To hide "Update available 0.0.0 -> x.x.x" PRISMA_HIDE_UPDATE_MESSAGE: 'true' jobs: release: timeout-minutes: 75 runs-on: ubuntu-latest concurrency: group: ${{ github.workflow }} cancel-in-progress: false permissions: # required for publishing to npm with --provenance # see https://docs.npmjs.com/generating-provenance-statements id-token: write outputs: prismaVersion: ${{ steps.publish.outputs.prismaVersion }} steps: - name: Print input env: THE_INPUT: '${{ toJson(github.event.inputs) }}' run: | echo "$THE_INPUT" - uses: actions/checkout@v4 - name: Install & build uses: ./.github/actions/setup with: node-version: 18 skip-tsc: false - name: Publish all packages to npm id: publish run: pnpm run publish-all env: # Inputs DRY_RUN: ${{ github.event.inputs.dryRun == 'true' && 'true' || '' }} FORCE_INTEGRATION_RELEASE: ${{ github.event.inputs.forceIntegrationRelease == 'true' && 'true' || '' }} # Other GITHUB_CONTEXT: ${{ toJson(github) }} # https://docs.npmjs.com/generating-provenance-statements NPM_CONFIG_PROVENANCE: true # Secrets # Note: must use personal access token GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} REDIS_URL: ${{ secrets.REDIS_URL }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} SLACK_RELEASE_FEED_WEBHOOK: ${{ secrets.SLACK_RELEASE_FEED_WEBHOOK }} - name: Print output env: THE_OUTPUT: '${{ toJson(steps.publish.outputs) }}' run: | echo "$THE_OUTPUT" # TODO de-duplicate (currently duplicated in release-*.yml) # Docs https://octokit.github.io/rest.js/v20#git-create-tag - name: Create a tag on prisma-engines repository uses: actions/github-script@v7 id: tag-prisma-engines env: REPO_NAME: 'prisma-engines' TAG_NAME: '${{ steps.publish.outputs.prismaVersion }}' COMMIT_HASH: '${{ steps.publish.outputs.enginesCommitHash }}' with: result-encoding: string github-token: ${{ secrets.BOT_TOKEN }} script: | const commitNewTag = await github.rest.git.createTag({ owner: 'prisma', repo: '${{ env.REPO_NAME }}', tag: '${{ env.TAG_NAME }}', message: '${{ env.TAG_NAME }}', object: '${{ env.COMMIT_HASH }}', type: 'commit', }) await github.rest.git.createRef({ owner: 'prisma', repo: '${{ env.REPO_NAME }}', ref: `refs/tags/${{ env.TAG_NAME }}`, sha: commitNewTag.data.sha, }) # We also have `sendSlackMessage()` in publish.ts # It uses the #feed-prisma-releases channel and adds more information success: needs: - release if: ${{ success() }} name: Communicate success runs-on: ubuntu-latest steps: - name: Set current job url in SLACK_FOOTER env var run: echo "SLACK_FOOTER=<$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID|Click here to go to the job logs>" >> "$GITHUB_ENV" - name: Slack Notification on Success uses: rtCamp/action-slack-notify@v2.3.2 env: SLACK_TITLE: 'prisma/prisma Release ${{ needs.release.outputs.prismaVersion }} succeeded :white_check_mark:' SLACK_COLOR: '#55ff55' SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_FEED_WEBHOOK }} SLACK_CHANNEL: feed-prisma-publish

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/prisma/prisma'

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