Skip to main content
Glama
start-monitoring.shโ€ข1.85 kB
#!/bin/bash # OpenAccess MCP Monitoring Stack Quick Start # This script sets up and starts the complete monitoring stack set -e echo "๐Ÿš€ Starting OpenAccess MCP Monitoring Stack..." # Check if Docker is running if ! docker info > /dev/null 2>&1; then echo "โŒ Docker is not running. Please start Docker and try again." exit 1 fi # Check if Docker Compose is available if ! command -v docker-compose &> /dev/null; then echo "โŒ Docker Compose is not installed. Please install it and try again." exit 1 fi # Create necessary directories echo "๐Ÿ“ Creating directories..." mkdir -p grafana/dashboards mkdir -p grafana/provisioning/datasources mkdir -p rules # Copy configuration files if they don't exist if [ ! -f "prometheus.yml" ]; then echo "โŒ prometheus.yml not found. Please ensure you're in the monitoring directory." exit 1 fi # Start the monitoring stack echo "๐Ÿณ Starting monitoring services..." docker-compose up -d # Wait for services to be ready echo "โณ Waiting for services to start..." sleep 10 # Check service status echo "๐Ÿ” Checking service status..." docker-compose ps # Display access information echo "" echo "โœ… Monitoring stack is running!" echo "" echo "๐Ÿ“Š Access your monitoring tools:" echo " โ€ข Prometheus: http://localhost:9090" echo " โ€ข Grafana: http://localhost:3000 (admin/admin123)" echo " โ€ข Alertmanager: http://localhost:9093" echo "" echo "๐Ÿ“‹ Next steps:" echo " 1. Open Grafana at http://localhost:3000" echo " 2. Login with admin/admin123" echo " 3. Import the dashboard: grafana/dashboards/openaccess-mcp-overview.json" echo " 4. Configure your OpenAccess MCP server to expose metrics at /metrics" echo "" echo "๐Ÿ›‘ To stop the monitoring stack:" echo " docker-compose down" echo "" echo "๐Ÿ“š For more information, see MONITORING.md"

Latest Blog Posts

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/keepithuman/openaccess-mcp'

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