screen-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WEBP_QUALITY | No | 存储帧的 WebP 压缩质量(1-100) | 75 |
| ANTHROPIC_MODEL | Yes | 调用的模型名(必填) | |
| VISION_PROVIDER | No | 目前只实现了 anthropic | anthropic |
| CAPTURE_MAX_EDGE | No | 发给视觉 API 前的长边像素上限 | 1564 |
| MAX_FRAME_BUFFER | No | 滑动窗口大小 | 20 |
| ANTHROPIC_API_KEY | Yes | API 密钥(必填)。如果设置了 ANTHROPIC_AUTH_TOKEN 且未设置此变量,将自动使用 ANTHROPIC_AUTH_TOKEN。 | |
| ANTHROPIC_BASE_URL | No | 留空走官方 API;填了就走该 URL 下的 /v1/messages | |
| PHASH_DEDUPE_LOOKBACK | No | 与最近多少帧做 phash 比较 | 3 |
| PHASH_DEDUPE_THRESHOLD | No | 汉明距阈值,低于此值视为重复帧丢弃 | 6 |
| DEFAULT_POLLING_INTERVAL | No | 轮询模式下相邻两次采集的间隔(秒) | 3.0 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| start_captureA | Begin a screen-capture session. mode='fullscreen' works on every platform; mode='window' is Windows-only and requires |
| stop_captureA | End the current capture session. |
| capture_nowA | Take a single screenshot on demand. Returns frame metadata (id, size, phash, timestamp) — NOT the image bytes. Use analyze_screen to actually read the content. |
| set_pollingB | Enable or disable a low-frequency background polling loop that keeps the frame buffer fresh. Default interval is 3 seconds. |
| list_windowsA | List visible top-level windows. On non-Windows platforms returns []. |
| analyze_screenA | Send recent frames to the configured vision provider along with the user's question, and return the model's answer. lookback_frames controls how many of the most recent frames to include (default 3). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shawlzs/screen-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server