We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nathan-bw/unifi-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
.env.example•1.72 KiB
# =============================================================================
# UniFi MCP Server Configuration
# =============================================================================
# Copy this file to .env and fill in your values:
# cp .env.example .env
# =============================================================================
# -----------------------------------------------------------------------------
# Server Settings
# -----------------------------------------------------------------------------
PORT=3000
# Base URL of this server (used for OAuth redirects)
# In production, this should be your Cloudflare tunnel URL
BASE_URL=http://localhost:3000
# -----------------------------------------------------------------------------
# Cloudflare Access for SaaS (OAuth 2.1 Identity Provider)
# -----------------------------------------------------------------------------
# Create a SaaS application in Cloudflare Zero Trust:
# Access → Applications → Add Application → SaaS
# Your Cloudflare Access team name (e.g., 'myteam' for myteam.cloudflareaccess.com)
CF_ACCESS_TEAM=myteam
# Client ID and Secret from your Access for SaaS application
CF_CLIENT_ID=your-client-id
CF_CLIENT_SECRET=your-client-secret
# -----------------------------------------------------------------------------
# UniFi Controller Settings (API Key Authentication)
# -----------------------------------------------------------------------------
# Generate an API key in UniFi Network:
# Settings → Control Plane → Integrations → Generate API Key
# Your UniFi Dream Machine IP address
UNIFI_HOST=192.168.1.1
UNIFI_PORT=443
# API Key from UniFi Network settings
UNIFI_API_KEY=your-api-key-here
# Site name (usually 'default')
UNIFI_SITE=default