We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AsyncFuncAI/github-chat-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
deploy.sh•1.33 KiB
#!/bin/bash
set -e
# Build the Docker image
docker build -t github-chat-mcp .
# Optional: Push to a container registry like Docker Hub or GitHub Container Registry
# docker tag github-chat-mcp yourusername/github-chat-mcp:latest
# docker push yourusername/github-chat-mcp:latest
# Run locally for testing
echo "Starting GitHub Chat MCP server locally for testing..."
docker run -e GITHUB_API_KEY=$GITHUB_API_KEY -p 8000:8000 github-chat-mcp
# Instructions for deploying to production environments
cat << EOF
------------------------------------
Production Deployment Instructions:
------------------------------------
1. Push the Docker image to a container registry:
docker tag github-chat-mcp yourusername/github-chat-mcp:latest
docker push yourusername/github-chat-mcp:latest
2. Deploy to your preferred hosting service:
- For AWS ECS:
aws ecs create-service --service-name github-chat-mcp --task-definition github-chat-mcp --desired-count 1
- For Kubernetes:
kubectl apply -f kubernetes-deployment.yaml
- For Google Cloud Run:
gcloud run deploy github-chat-mcp --image yourusername/github-chat-mcp:latest --platform managed
3. Configure the environment variable GITHUB_API_KEY in your production environment.
4. Register your MCP with the MCP registry by following the MCP documentation.
EOF