Skip to main content
Glama

MongoDB MCP Server

Official
by mongodb-js
docker.yml2.54 kB
name: Daily Release Docker Image on: schedule: - cron: "0 1 * * *" # Every day at 1:00 AM workflow_dispatch: # Run the action manually permissions: contents: read issues: write jobs: push: runs-on: ubuntu-latest steps: - uses: GitHubSecurityLab/actions-permissions/monitor@v1 with: config: ${{ vars.PERMISSIONS_CONFIG }} - name: Check out code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 with: persist-credentials: false - name: Set up Docker Buildx uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 - name: Login to Docker Hub uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef with: username: "${{ secrets.DOCKERHUB_USERNAME }}" password: "${{ secrets.DOCKERHUB_PASSWORD }}" - name: Set date and version id: set-properties run: | DATE=$(date +'%Y-%m-%d') VERSION=$(npm pkg get version | tr -d '"') echo "DATE=${DATE}" >> "$GITHUB_OUTPUT" echo "VERSION=${VERSION}" >> "$GITHUB_OUTPUT" - name: Build and push image to dockerhub registry uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 with: context: . platforms: linux/amd64,linux/arm64 tags: ${{ vars.DOCKERHUB_IMAGE_REPOSITORY }}:latest, ${{ vars.DOCKERHUB_IMAGE_REPOSITORY }}:${{ steps.set-properties.outputs.VERSION }}, ${{ vars.DOCKERHUB_IMAGE_REPOSITORY }}:${{ steps.set-properties.outputs.VERSION }}-${{ steps.set-properties.outputs.DATE }} file: Dockerfile push: true provenance: mode=max sbom: true build-args: | VERSION=${{ steps.set-properties.outputs.VERSION }} - uses: mongodb-js/devtools-shared/actions/setup-bot-token@main id: app-token if: ${{ failure() }} with: app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }} private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }} - name: Create Issue if: ${{ failure() }} uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd with: token: ${{ steps.app-token.outputs.token }} title: Release Failure for Docker Image ${{ steps.set-properties.outputs.VERSION }}-${{ steps.set-properties.outputs.DATE }} body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} labels: "docker, release_failure"

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/mongodb-js/mongodb-mcp-server'

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