Skip to main content
Glama

MCP Serve

#!/bin/bash SHORT_SHA=$(git rev-parse --short HEAD) # Set TAG to first argument if provided, otherwise use SHORT_SHA TAG=${1:-$SHORT_SHA} ######################################################################## ## Container Registry ######################################################################## # Define your GCP parameters REPOSITORY="ryaneggz" # Name of your Artifact Registry repository PROJECT_ID="mcpserve" # Build the Docker image and tag it for Artifact Registry docker build --squash -t $REPOSITORY/$PROJECT_ID:$TAG . docker tag $REPOSITORY/$PROJECT_ID:$TAG $REPOSITORY/$PROJECT_ID:latest ######################################################################## ## Docker Hub ######################################################################## echo "" ## Prompt to push the image to Docker Hub echo "Do you want to push the image to Docker Hub? (y/n)" read -r response if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]] then docker push $REPOSITORY/$PROJECT_ID:$TAG docker push $REPOSITORY/$PROJECT_ID:latest fi

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/mark-oori/mcpserve'

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