# Base URL of the backend API (tool calls are sent here)
MCP_API_BASE_URL=http://127.0.0.1:3000
# OpenAPI spec: URL (starts with http:// or https://) or file path. Automatically detected.
MCP_OPENAPI_SPEC=http://127.0.0.1:3000/openapi.json
# MCP_OPENAPI_SPEC=./openapi.json
# Filter endpoints: method:path (e.g. get:/messages). Include has priority over exclude.
# MCP_INCLUDE_ENDPOINTS=get:/messages,get:/channels
# MCP_EXCLUDE_ENDPOINTS=post:/channels
# Tool name prefix (e.g. api_ -> api_messages, api_channels)
# MCP_TOOL_PREFIX=api_
# Server name reported to MCP clients
# MCP_SERVER_NAME=openapi-to-mcp
# Server bind
MCP_PORT=3100
MCP_HOST=0.0.0.0
# Log level: DEBUG, INFO, WARN, ERROR (default: INFO)
# MCP_LOG_LEVEL=INFO
# Custom instructions file and mode (optional)
# MCP_INSTRUCTIONS_FILE=./instructions.txt
# MCP_INSTRUCTIONS_MODE=default # default (use OpenAPI description), replace, append, prepend
# Convert HTML tags in descriptions to Markdown (default: true)
# MCP_CONVERT_HTML_TO_MARKDOWN=true