Skip to main content
Glama

NCBI Gene MCP Server

deploy.shโ€ข3.04 kB
#!/bin/bash # NCBI Gene MCP Client - Vercel Deployment Script echo "๐Ÿš€ NCBI Gene MCP Client - Vercel Deployment Helper" echo "==================================================" # Check if we're in the right directory if [ ! -f "vercel.json" ]; then echo "โŒ Error: vercel.json not found. Are you in the project root?" exit 1 fi echo "โœ… Found vercel.json" # Check if git is initialized if [ ! -d ".git" ]; then echo "๐Ÿ”ง Initializing git repository..." git init echo "โœ… Git repository initialized" fi # Check if files are staged if [ -z "$(git status --porcelain)" ]; then echo "โœ… No changes to commit" else echo "๐Ÿ“ Staging files for deployment..." git add . echo "โœ… Files staged" echo "๐Ÿ’พ Committing changes..." git commit -m "Add Vercel deployment configuration - Added vercel.json for deployment config - Added requirements.txt for dependencies - Added api/index.py as entry point - Updated .gitignore for Vercel - Added deployment documentation" echo "โœ… Changes committed" fi # Check if Vercel CLI is installed if command -v vercel &> /dev/null; then echo "โœ… Vercel CLI found" echo "" echo "๐Ÿค” How would you like to deploy?" echo "1) Deploy with Vercel CLI (quick)" echo "2) Manual deployment via Vercel Dashboard" echo "3) Just prepare files (no deployment)" read -p "Choose option (1-3): " choice case $choice in 1) echo "" echo "๐Ÿš€ Deploying with Vercel CLI..." vercel --prod ;; 2) echo "" echo "๐Ÿ“‹ Manual deployment steps:" echo "1. Go to https://vercel.com/dashboard" echo "2. Click 'New Project'" echo "3. Import your Git repository" echo "4. Use these settings:" echo " - Framework Preset: Other" echo " - Root Directory: ./" echo " - Build Command: (leave empty)" echo " - Output Directory: (leave empty)" echo "5. Click 'Deploy'" ;; 3) echo "" echo "โœ… Files prepared for deployment" echo "๐Ÿ“‹ Ready for manual deployment to Vercel" ;; *) echo "โŒ Invalid choice" exit 1 ;; esac else echo "โ„น๏ธ Vercel CLI not found" echo "" echo "๐Ÿ“‹ Manual deployment steps:" echo "1. Push your code to GitHub/GitLab/Bitbucket" echo "2. Go to https://vercel.com/dashboard" echo "3. Click 'New Project'" echo "4. Import your Git repository" echo "5. Use these settings:" echo " - Framework Preset: Other" echo " - Root Directory: ./" echo " - Build Command: (leave empty)" echo " - Output Directory: (leave empty)" echo "6. Click 'Deploy'" echo "" echo "๐Ÿ’ก To install Vercel CLI: npm i -g vercel" fi echo "" echo "๐Ÿ“š For detailed instructions, see DEPLOYMENT.md" echo "๐ŸŽ‰ Good luck with your deployment!"

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/mohammadnajeeb/ncbi_gene_mcp_client'

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