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_CONTROLNoEnable desktop control coordination. Set to false to disable. Equivalent to --control/--no-control; restart required.true
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 on, 1, true, yes, or enabled (case-insensitive) to run the UIA focus watchdog. It is off by default; its only remaining effect is debug logging of focus changes.false
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_CONTROL_POLICYNoGate policy: relaxed, balanced, or strict. Equivalent to --control-policy; restart required.relaxed
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_OAUTH_CLIENT_IDNoOAuth client ID for HTTP transports. Must be provided with WINDOWS_MCP_OAUTH_CLIENT_SECRET.
WINDOWS_MCP_MERGE_WORD_NODESNoSet to 1, true, yes, or on to merge adjacent Word leaves on the same text line into one node. Electron/Chromium apps can report one word per glyph, which can dominate Snapshot output.
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 where the default produces images that exceed Claude Desktop's 1 MB tool-result limit. Set to 0.5 to halve both dimensions.1.0
WINDOWS_MCP_EXCLUDE_PROCESSESNoComma-separated process basenames whose windows are excluded from UI Automation window metadata and tree traversal, e.g. Code.exe,Cursor.exe. Matching is case-insensitive and exact — no wildcards or regular expressions.
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.
WINDOWS_MCP_CONTROL_IDLE_TIMEOUTNoFinite positive idle wait in seconds. Equivalent to --control-idle-timeout; restart required.10.0
WINDOWS_MCP_UIA_CONNECTION_TIMEOUT_MSNoMilliseconds UI Automation waits to connect to a window's accessibility provider before failing that window. Positive integer; anything else uses the default.2000
WINDOWS_MCP_UIA_TRANSACTION_TIMEOUT_MSNoMilliseconds a single UI Automation call into a provider may take before it fails. Positive integer; anything else uses the default.5000

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