Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
POSTHOG_HOSTNoOverride the PostHog host for anonymous telemetry, such as for a self-hosted PostHog deployment.https://us.i.posthog.com
POSTHOG_API_KEYNoOverride the PostHog project write key used for anonymous telemetry. Set to an empty string to skip PostHog client initialization.
WINDOWS_MCP_DEBUGNoSet to 1, true, yes, or on to enable debug mode, which sets the log level to DEBUG for verbose output. Also available as the --debug CLI flag.false
WINDOWS_MCP_TOOLSNoComma-separated explicit list of tools to enable (e.g., Screenshot,Click,Snapshot). Alternative to --tools CLI flag.
WINDOWS_MCP_CALLLOGNoCall log path, or off to disable it~/.windows-mcp/calls.log
WINDOWS_MCP_JOB_DIRNoWhere job output files are written~/.windows-mcp/jobs
ANONYMIZED_TELEMETRYNoSet to false to disable anonymous usage telemetry. No personal data, tool arguments, or outputs are ever collected regardless of this setting.true
WINDOWS_MCP_AUTH_KEYNoBearer token required on all HTTP requests. Alternative to --auth-key CLI flag.
WINDOWS_MCP_WATCHDOGNoSet to off, 0, false, no, or disabled to disable the UIA focus watchdog that keeps the accessibility tree current. On unstable UIA environments the watchdog can degrade after long uptime (e.g. across a sleep/resume or session change); disabling it trades away automatic focus tracking for stability — the accessibility tree still refreshes on-demand for tool calls.true
WINDOWS_MCP_SSL_KEYFILENoPath to TLS private key file (.pem) for HTTPS. Must be provided with WINDOWS_MCP_SSL_CERTFILE.
WINDOWS_MCP_CORS_ORIGINSNoComma-separated list of origins permitted to make cross-origin browser requests (e.g., https://my-client.example.com). No CORS headers are emitted when unset. Alternative to --cors-origins CLI flag.
WINDOWS_MCP_IP_ALLOWLISTNoComma-separated list of allowed client IPs or CIDR ranges (e.g., 203.0.113.0/24,198.51.100.5). Alternative to --ip-allowlist CLI flag.
WINDOWS_MCP_SSL_CERTFILENoPath to TLS certificate file (.pem) for HTTPS. Must be provided with WINDOWS_MCP_SSL_KEYFILE.
WINDOWS_MCP_DISABLE_FLASHNoSet to 1, true, yes, or on to suppress the orange-red glowing border that briefly highlights the captured area after every screenshot.
WINDOWS_MCP_EXCLUDE_TOOLSNoComma-separated list of tools to disable (e.g., PowerShell,Registry). Alternative to --exclude-tools CLI flag.
WINDOWS_MCP_STATELESS_HTTPNoSet to 1, true, yes, or on to run streamable-http without Mcp-Session-Id connection state. Useful for reconnects after restarts and for horizontally scaled deployments.false
WINDOWS_MCP_CALLLOG_BACKUPSNoOlder generations to keep3
WINDOWS_MCP_OAUTH_CLIENT_IDNoOAuth client ID for HTTP transports. Must be provided with WINDOWS_MCP_OAUTH_CLIENT_SECRET.
WINDOWS_MCP_JOB_RETURN_AFTERNoSeconds a call waits before handing a command over as a job (capped at 225)200
WINDOWS_MCP_PROFILE_SNAPSHOTNoSet to 1, true, yes, or on to emit per-stage timing logs for Screenshot/Snapshot calls. Useful for diagnosing slow captures.
WINDOWS_MCP_SCREENSHOT_SCALENoScale factor applied to screenshots before encoding. Accepts a float in the range 0.1–1.0. Useful on high-resolution displays (1440p, 4K) where the default produces images that exceed Claude Desktop's 1 MB tool-result limit. Set to 0.5 to halve both dimensions (quarter the file size).1.0
WINDOWS_MCP_CALLLOG_MAX_BYTESNoRotation threshold in bytes1000000
WINDOWS_MCP_SCREENSHOT_BACKENDNoScreenshot capture backend. Accepted values: auto (tries dxcam → mss → pillow in order), dxcam, mss, pillow. Use mss or pillow if dxcam is unavailable or causes issues on your GPU.auto
WINDOWS_MCP_OAUTH_CLIENT_SECRETNoOAuth client secret for HTTP transports. Must be provided with WINDOWS_MCP_OAUTH_CLIENT_ID.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources