Windows-MCP
by usjnwzjnfn
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| POSTHOG_HOST | No | Override the PostHog host for anonymous telemetry, such as for a self-hosted PostHog deployment. | https://us.i.posthog.com |
| POSTHOG_API_KEY | No | Override the PostHog project write key used for anonymous telemetry. Set to an empty string to skip PostHog client initialization. | |
| WINDOWS_MCP_DEBUG | No | Set 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_TOOLS | No | Comma-separated explicit list of tools to enable (e.g., Screenshot,Click,Snapshot). Alternative to --tools CLI flag. | |
| WINDOWS_MCP_CONTROL | No | Enable desktop control coordination. Set to false to disable. Equivalent to --control/--no-control; restart required. | true |
| ANONYMIZED_TELEMETRY | No | Set 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_KEY | No | Bearer token required on all HTTP requests. Alternative to --auth-key CLI flag. | |
| WINDOWS_MCP_WATCHDOG | No | Set 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_KEYFILE | No | Path to TLS private key file (.pem) for HTTPS. Must be provided with WINDOWS_MCP_SSL_CERTFILE. | |
| WINDOWS_MCP_CORS_ORIGINS | No | Comma-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_ALLOWLIST | No | Comma-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_CERTFILE | No | Path to TLS certificate file (.pem) for HTTPS. Must be provided with WINDOWS_MCP_SSL_KEYFILE. | |
| WINDOWS_MCP_DISABLE_FLASH | No | Set 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_TOOLS | No | Comma-separated list of tools to disable (e.g., PowerShell,Registry). Alternative to --exclude-tools CLI flag. | |
| WINDOWS_MCP_CONTROL_POLICY | No | Gate policy: relaxed, balanced, or strict. Equivalent to --control-policy; restart required. | relaxed |
| WINDOWS_MCP_STATELESS_HTTP | No | Set 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_ID | No | OAuth client ID for HTTP transports. Must be provided with WINDOWS_MCP_OAUTH_CLIENT_SECRET. | |
| WINDOWS_MCP_MERGE_WORD_NODES | No | Set 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_SNAPSHOT | No | Set to 1, true, yes, or on to emit per-stage timing logs for Screenshot/Snapshot calls. Useful for diagnosing slow captures. | |
| WINDOWS_MCP_SCREENSHOT_SCALE | No | Scale 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_PROCESSES | No | Comma-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_BACKEND | No | Screenshot 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_SECRET | No | OAuth client secret for HTTP transports. Must be provided with WINDOWS_MCP_OAUTH_CLIENT_ID. | |
| WINDOWS_MCP_CONTROL_IDLE_TIMEOUT | No | Finite positive idle wait in seconds. Equivalent to --control-idle-timeout; restart required. | 10.0 |
| WINDOWS_MCP_UIA_CONNECTION_TIMEOUT_MS | No | Milliseconds 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_MS | No | Milliseconds 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues