We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cfdude/composio-google-workspace'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
start-service.shβ’1.02 KiB
#!/bin/bash
# Google Workspace MCP Service Startup Script
# This script builds the application and starts it as a PM2 service
set -e
echo "π Starting Google Workspace MCP Service..."
echo "="
cd "$(dirname "$0")/.."
# Build the application
echo "π§ Building TypeScript application..."
npm run build
# Create logs directory
mkdir -p logs
# Start with PM2
echo "π Starting PM2 service..."
pm2 start ecosystem.config.js
# Save PM2 configuration
echo "πΎ Saving PM2 configuration..."
pm2 save
# Show status
echo "π Service Status:"
pm2 status google-workspace-tools
echo ""
echo "β Google Workspace MCP Service started successfully!"
echo "π Health check: http://localhost:8080/health"
echo "π Status endpoint: http://localhost:8080/status"
echo ""
echo "π Useful commands:"
echo " pm2 status - Check service status"
echo " pm2 logs - View service logs"
echo " pm2 restart all - Restart service"
echo " pm2 stop all - Stop service"
echo " pm2 delete all - Remove service"