MCP ExplorerExplorer

Screenshot Server

@m-mcpon a year ago
1 MIT
FreeCommunity
AI Systems
"MCP screenshot service"

Overview

What is Screenshot Server

screenshot-server is a screenshot service built using Python, designed to capture and return screen images through the MCP protocol.

Use cases

Use cases for screenshot-server include automated testing of user interfaces, providing visual feedback in customer support, and capturing screen content for documentation purposes.

How to use

To use screenshot-server, ensure Python and the necessary dependencies are installed. Run the ‘clint.py’ file to start the server, and then use the MCP client to call the ‘take_screenshot_image’ tool to obtain screenshots.

Key features

Key features include the ability to capture screenshots, image processing using the Pillow library, and communication with clients via the MCP protocol.

Where to use

screenshot-server can be used in various fields such as software testing, remote support, and any application requiring screen capture functionality.

Content

截图服务器

这个项目是一个截图服务器,使用Python编写。它提供了以下主要功能:

  1. 截图功能:通过调用take_screenshot_image工具,可以截取用户屏幕的截图,并将其返回为图像数据。
  2. 图像处理:使用Pillow库对截取的图像进行处理和显示。
  3. MCP服务器:通过MCP协议与客户端进行通信,提供截图服务。

使用方法

  1. 确保已安装Python和所需的依赖项。
$ uv sync
  1. 运行clint.py文件,启动截图服务器。
$ uv run clint.py
  1. 使用MCP客户端调用take_screenshot_image工具,获取屏幕截图。

依赖项

  • Python 3.x
  • Pillow库
  • MCP协议相关库

MCP配置

{
  "mcpServers": {
    "mcp-server": {
      "command": "/Users/username/.local/bin/uv",
      "args": [
        "--directory",
        "/Users/username/MCP",
        "run",
        "screenshot.py"
      ]
    }
  }
}

文件结构

  • screenshot.py:提供截图功能的MCP服务器。
  • clint.py:MCP客户端,用于调用截图服务器的工具。
  • README.md:项目说明文档。

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers