Skip to main content
Glama

Sectional MCP Panel

by rblake2320
start.sh1.2 kB
#!/bin/bash # Startup script for the Sectional MCP Panel # Set default environment variables export MCP_PANEL_CONFIG_DIR=${MCP_PANEL_CONFIG_DIR:-"/app/config"} export MCP_PANEL_DATA_DIR=${MCP_PANEL_DATA_DIR:-"/data"} export MCP_PANEL_LOG_LEVEL=${MCP_PANEL_LOG_LEVEL:-"INFO"} # Check if Docker is available if ! command -v docker &> /dev/null; then echo "Warning: Docker is not installed or not in PATH. Container management will not be available." fi # Check if config directory exists if [ ! -d "$MCP_PANEL_CONFIG_DIR" ]; then echo "Error: Configuration directory $MCP_PANEL_CONFIG_DIR does not exist." exit 1 fi # Check if data directory exists if [ ! -d "$MCP_PANEL_DATA_DIR" ]; then echo "Creating data directory $MCP_PANEL_DATA_DIR" mkdir -p "$MCP_PANEL_DATA_DIR" fi # Check if default config exists, copy if not if [ ! -f "$MCP_PANEL_CONFIG_DIR/default_config.json" ]; then echo "Default configuration not found. Using example configuration." cp /app/config/default_config.json "$MCP_PANEL_CONFIG_DIR/" fi # Start the application echo "Starting Sectional MCP Panel..." exec uvicorn src.main:app --host 0.0.0.0 --port 8000 --log-level ${MCP_PANEL_LOG_LEVEL,,}

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/rblake2320/sectional-mcp-panel'

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