Skip to main content
Glama

MikroTik MCP

by tarcisiodier
.env.example5.95 kB
# ================================================================= # MikroTik MCP Server Environment Configuration # ================================================================= # Copy this file to .env and update the values according to your setup # ================================================================= # MikroTik Device Connection Settings # ================================================================= # IP address or hostname of your MikroTik device MIKROTIK_HOST=192.168.1.1 # SSH username for MikroTik device MIKROTIK_USERNAME=admin # SSH password for MikroTik device (leave empty if using key-based auth) MIKROTIK_PASSWORD= # SSH port for MikroTik device MIKROTIK_PORT=22 # ================================================================= # MCP Server Configuration # ================================================================= # Port for MCP server communication MCP_PORT=8000 # Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) LOG_LEVEL=INFO # ================================================================= # RouterOS Container Settings (for development/testing) # ================================================================= # RouterOS container username ROUTEROS_USER=admin # RouterOS container password ROUTEROS_PASS=admin # Enable RouterOS license (true/false) ROUTEROS_LICENSE=true # RouterOS container IP address ROUTEROS_IP=172.20.0.2 # ================================================================= # RouterOS Container Port Mappings # ================================================================= # Web interface (HTTP) ROUTEROS_HTTP_PORT=8080 # Web interface (HTTPS) ROUTEROS_HTTPS_PORT=8443 # Winbox port ROUTEROS_WINBOX_PORT=8291 # SSH port (mapped to avoid conflict with host SSH) ROUTEROS_SSH_PORT=2222 # Telnet port ROUTEROS_TELNET_PORT=2223 # FTP port ROUTEROS_FTP_PORT=2121 # API port ROUTEROS_API_PORT=8728 # API-SSL port ROUTEROS_API_SSL_PORT=8729 # ================================================================= # Network Configuration # ================================================================= # Docker network subnet NETWORK_SUBNET=172.20.0.0/24 # Docker network gateway NETWORK_GATEWAY=172.20.0.1 # ================================================================= # MCPO (MCP-to-OpenAPI Proxy) Settings # ================================================================= # MCPO server port MCPO_PORT=9000 # API key for MCPO authentication (change this!) MCPO_API_KEY=your-secret-key-change-this # ================================================================= # Security Settings # ================================================================= # SSH key file path (if using key-based authentication) SSH_PRIVATE_KEY_PATH=./ssh_keys/id_rsa # SSH public key file path SSH_PUBLIC_KEY_PATH=./ssh_keys/id_rsa.pub # ================================================================= # Development Settings # ================================================================= # Enable development mode (true/false) DEV_MODE=false # Enable debug logging (true/false) DEBUG=false # Hot reload for development (true/false) HOT_RELOAD=false # ================================================================= # Monitoring and Health Checks # ================================================================= # Health check interval (seconds) HEALTH_CHECK_INTERVAL=30 # Health check timeout (seconds) HEALTH_CHECK_TIMEOUT=10 # Health check retries HEALTH_CHECK_RETRIES=3 # ================================================================= # Backup and Export Settings # ================================================================= # Default backup directory BACKUP_DIR=/app/backups # Maximum backup retention days BACKUP_RETENTION_DAYS=30 # Enable automatic backups (true/false) AUTO_BACKUP_ENABLED=false # Backup schedule (cron format) BACKUP_SCHEDULE=0 2 * * * # ================================================================= # Performance Settings # ================================================================= # Maximum concurrent connections MAX_CONNECTIONS=10 # Connection timeout (seconds) CONNECTION_TIMEOUT=30 # Command execution timeout (seconds) COMMAND_TIMEOUT=60 # ================================================================= # Feature Flags # ================================================================= # Enable wireless features (true/false) ENABLE_WIRELESS=true # Enable firewall management (true/false) ENABLE_FIREWALL=true # Enable DHCP management (true/false) ENABLE_DHCP=true # Enable DNS management (true/false) ENABLE_DNS=true # Enable user management (true/false) ENABLE_USER_MANAGEMENT=true # Enable backup/restore features (true/false) ENABLE_BACKUP=true # ================================================================= # External Services # ================================================================= # Webhook URL for notifications (optional) WEBHOOK_URL= # Slack webhook URL for alerts (optional) SLACK_WEBHOOK_URL= # Email settings for notifications (optional) SMTP_SERVER= SMTP_PORT=587 SMTP_USERNAME= SMTP_PASSWORD= EMAIL_FROM= EMAIL_TO= # ================================================================= # Advanced Settings # ================================================================= # Custom MCP configuration file path MCP_CONFIG_PATH=./mcp-config.json # Custom logging configuration LOG_CONFIG_PATH= # Cache settings CACHE_ENABLED=true CACHE_TTL=300 # Rate limiting RATE_LIMIT_ENABLED=true RATE_LIMIT_REQUESTS=100 RATE_LIMIT_WINDOW=60 # ================================================================= # Docker Compose Profiles # ================================================================= # Uncomment to enable specific service profiles: # COMPOSE_PROFILES=proxy # Enable Traefik reverse proxy # COMPOSE_PROFILES=dev # Enable development services # COMPOSE_PROFILES=proxy,dev # Enable multiple profiles

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/tarcisiodier/mcp-mikrotik'

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