PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversos-automationgetscreen_mcp
返回「os-automation」

getscreen_mcp

modelscope·@Kirchlive/getscreen_mcp

os-automation0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

GetScreen MCP Server

A lightweight Model Context Protocol (MCP) Server for rapid capture of screenshots from all available monitors with automatic compression.

Features

  • Multi-Monitor Support: Automatically captures all connected displays
  • WSL Support: Works seamlessly in Windows WSL through PowerShell integration
  • Fast Compression: Utilizes Sharp for optimal JPEG compression
  • Simple Integration: Single tool with optional parameters
  • Lightweight: Minimal dependencies, maximum performance
  • Cross-Platform: Linux, macOS, and Windows (including WSL)

New Features

Enhanced WSL Support

WSL support has been improved with automatic detection and PowerShell integration. The tool now works seamlessly whether you use the wsl command approach or the simpler Node-based direct execution method.

Key Features:

  • Automatic WSL detection via /proc/version environment inspection
  • Seamless PowerShell integration for capturing Windows host displays
  • Support for both direct Node execution and WSL command wrapper
  • No additional configuration needed for WSL environment detection

How It Works: When running in WSL, the tool automatically detects the environment and leverages PowerShell on the Windows host to capture screenshots. This approach ensures access to all display information from the Windows side while maintaining full compatibility with WSL-based tools.

Installation

git clone https://github.com/Kirchlive/getscreen_mcp.git
cd getscreen_mcp
npm install
npm run build

Configuration

Claude Code

Add the following to your Claude configuration:

macOS: ~/Users/USERNAME/.claude.json Windows: C:\Users\USERNAME\.claude.json Linux/WSL: ~/home/USERNAME/.claude.json

{
  "mcpServers": {
    "getscreen": {
      "command": "node",
      "args": ["/ABSOLUT/PATH/TO/getscreen_mcp/build/index.js"]
    }
  }
}

Usage

Screenshot Tool

The screenshot tool captures all available monitors and returns the compressed images.

Parameters (all optional):

  • quality (number, 1-100): JPEG quality. Default: 80
  • maxWidth (number): Maximum width in pixels. Images are resized proportionally.

Examples:

Take a screenshot
Take a screenshot with high quality (quality: 95)
Take a screenshot and resize it to max. 1920px width (maxWidth: 1920)

Technical Details

Platform Detection

The tool automatically detects the environment and selects the optimal method:

  • WSL: Uses PowerShell on the Windows host via powershell.exe
  • Linux/macOS: Uses screenshot-desktop for native capture

Components

  • WSL Capture: PowerShell System.Windows.Forms and System.Drawing
  • Native Capture: screenshot-desktop for Linux/macOS
  • Compression: sharp for fast image processing and JPEG compression
  • Format: Images are returned as base64-encoded JPEGs
  • Performance: Parallel capture of all monitors for maximum speed

WSL Implementation

In WSL environments:

  1. Detection via /proc/version (checks for "microsoft" or "WSL")
  2. PowerShell script is executed on Windows host
  3. All monitors are captured via System.Windows.Forms.Screen::AllScreens
  4. Screenshots captured as PNG, then compressed to JPEG with desired quality
  5. Base64-encoded transmission back to WSL

License

MIT

相关 MCP Servers(来自「os-automation」)

串口智控

一座通过串行通信将物理硬件设备与人工智能大语言模型连接起来的桥梁,允许用户使用自然语言命令控制硬件。

@mcp2everything/mcp2serial

代码运行器

用于运行代码片段并显示结果的MCP服务器。

@formulahendry/mcp-server-code-runner

Android MCP 控制服务器

一个通过ADB实现对Android设备程序化控制的服务器,提供截图捕获、UI布局分析和包管理等功能,这些功能可以被像Claude Desktop这样的MCP客户端使用。

@minhalvp/android-mcp-server

Claude代码工具

Claude Code作为模型上下文协议(MCP)服务器的一种实现,通过标准的MCP接口启用Claude的软件工程能力(代码生成、编辑、评审和文件操作)。

@auchenberg/claude-code-mcp

Cursor MCP 安装器

用于Cursor IDE的模型上下文协议(MCP)服务器,可简化其他MCP服务器的安装和配置。

@matthewdcage/cursor-mcp-installer

Docker容器管理平台

一个MCP服务器,允许通过自然语言管理Docker容器,使用户能够在不自行运行命令的情况下组合、检查和调试容器。

@ckreiling/mcp-server-docker

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/kirchlive-getscreen_mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

git clone https://github.com/Kirchlive/getscreen_mcp.git cd getscreen_mcp npm install npm run build

基本信息

分类
os-automation / multimedia-processing / app-automation
运行方式
No
许可证
Unknown
详情文件
kirchlive-getscreen_mcp.md