# OpManager MCP Server Configuration
# Copy this file to .env and update with your values
#
# NOTE: This is a CREDENTIAL-LESS server design.
# OpManager host and API key are provided PER-REQUEST by users,
# not configured here. This ensures security and flexibility.
# =============================================================================
# Server Configuration
# =============================================================================
# Logging level (DEBUG, INFO, WARNING, ERROR)
MCP_SERVER_LOG_LEVEL=INFO
# Use JSON format for logs (true/false)
MCP_SERVER_LOG_JSON=false
# Log file path (optional, logs to stdout if not set)
# MCP_SERVER_LOG_FILE=/var/log/opmanager-mcp/server.log
# =============================================================================
# HTTP Server Configuration (for n8n integration)
# =============================================================================
# Host to bind the HTTP server
MCP_HTTP_HOST=0.0.0.0
# Port for HTTP server
MCP_HTTP_PORT=3000
# =============================================================================
# Tool Generation
# =============================================================================
# Allowed HTTP methods for tool generation (comma-separated)
# GET = Read-only operations (safest)
# GET,POST,PUT,DELETE,PATCH = All operations (full access)
ALLOWED_HTTP_METHODS=GET,POST,PUT,DELETE,PATCH
# =============================================================================
# OpenAPI Specification
# =============================================================================
# Path to custom OpenAPI spec (defaults to bundled openapi.json)
# LOCAL_OPENAPI_SPEC_PATH=/path/to/custom/openapi.json