- Add get_vlans tool to filter interfaces by type=vlan - Add get_gateway_interfaces tool to identify gateway interfaces from routes - Add fallback to billing-mcp/config.json when router not in devices.json - Update .gitignore to exclude venv, pycache, snapshots
25 lines
623 B
Bash
25 lines
623 B
Bash
# MikroTik Gemini Integration - Environment Variables
|
|
|
|
# Google Gemini API Key (required)
|
|
# Dapatkan dari: https://makersuite.google.com/app/apikey
|
|
GEMINI_API_KEY=AIzaSyC9RXt7VHVIlvxU_OuI7xONzwIuu56iS-g
|
|
|
|
# MikroTik Connection (optional, for data updates)
|
|
MIKROTIK_HOST=192.168.7.1
|
|
MIKROTIK_PORT=80
|
|
MIKROTIK_USER=admin11
|
|
MIKROTIK_PASSWORD=Dua75316__
|
|
|
|
# API Server Configuration
|
|
API_HOST=0.0.0.0
|
|
API_PORT=8010
|
|
API_DEBUG=true
|
|
API_KEY=mkmcp_secret_key_2026
|
|
|
|
# Data File Path
|
|
DATA_FILE=/home/wartana/myApp/mikrotik-mcp/data/mikrotik_mcp_data.json
|
|
|
|
# Logging
|
|
LOG_LEVEL=INFO
|
|
LOG_FILE=/home/wartana/myApp/mikrotik-mcp/logs/app.log
|