HD

hathibelagal-dev/mcp-pyautogui

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

20 stars 5 forks 품질 69 트렌드 0GPL-3.0

PyAutoGUI용 MCP 서버

개요

mcp-pyautogui는 서버를 실행합니다. 그것은 마우스, 키보드 및 화면 상호 작용의 제어를 제공, AI 시스템을 허용 호스트 기계에서 작업을 자동화. 서버는 stdio 수송에 달하며 스크린 샷을 찍고 스크린 샷을 찍고, 단순성과 신뢰성에 중점을 두는 도구를 제공합니다. 데스크톱 자동화를 워크플로우에 통합하는 개발자 및 AI 애호가를 위해 설계되었습니다. - 제어 마우스 운동, 클릭 및 드래그. - 키보드 입력 (단일 키, 텍스트, 단축키)를 시뮬레이션합니다. - 캡처 스크린 샷 및 검색 마우스 위치. - 플랫폼 별 논리를 위한 현재 운영 체계를 얻으십시오. - boolean 성공 지표 (외국어)와 함께 일관된 오류 처리. 당신은 또한 관련 권한을 부여해야합니다. 다음 comand를 실행하여 서버가 설치 된 위치를 결정할 수 있습니다. claude desktop config.json 파일을 추가할 때 해당 위치를 사용하십시오.

개요(AI 번역)

mcp-pyautogui는 ** Model Context Protocol (MCP)** Server forPyAutoGUI를 구현합니다. 그것은 마우스, 키보드 및 화면 상호 작용의 제어를 제공, AI 시스템을 허용 호스트 기계에서 작업을 자동화.

서버는 stdio 운송을 통해 실행되며 스크린 샷을 찍고 스크린 샷을 찍고, 단순성과 신뢰성에 중점을 두는 도구를 제공합니다. 데스크톱 자동화를 워크플로우에 통합하는 개발자 및 AI 애호가를 위해 설계되었습니다.

특징

  • 제어 마우스 운동, 클릭 및 드래그.
  • 키보드 입력 (단일 키, 텍스트, 단축키)를 시뮬레이션합니다.
  • 캡처 스크린 샷 및 검색 마우스 위치.
  • 플랫폼 별 논리를 위한 현재 운영 체계를 얻으십시오.
  • boolean 성공 지표 (외국어)와 함께 일관된 오류 처리.

필수품

  • **Python 3.11+ **

당신은 또한 관련 권한을 부여해야합니다.

설치

pip을 사용하여 서버를 설치합니다.

다음 comand를 실행하여 서버가 설치 된 위치를 결정할 수 있습니다.

mcp-pyautogui]를 claude_desktop_config.json]파일에 추가할 때 해당 위치를 사용합니다. 표본 윤곽은 여기 있습니다:

사용법

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCP Server for PyAutoGUI

mcp-pyautogui implements a Model Context Protocol (MCP) server for PyAutoGUI. It provides control of mouse, keyboard, and screen interactions, allowing AI systems to automate tasks on a host machine.

The server runs over stdio transport and provides tools for clicking, typing, taking screenshots, and more, with a focus on simplicity and reliability. It’s designed for developers and AI enthusiasts looking to integrate desktop automation into their workflows.

Features

  • Control mouse movements, clicks, and drags.
  • Simulate keyboard input (single keys, text, hotkeys).
  • Capture screenshots and retrieve mouse position.
  • Get the current operating system for platform-specific logic.
  • Consistent error handling with boolean success indicators (where applicable).

Prerequisites

  • Python 3.11+

You’ll also have to grant the relevant permissions.

Installation

Use pip to install the server.

pip install mcp-pyautogui

You can then run the following comand to determine the location at which the server was installed:

which mcp-pyautogui

# Sample output:
# /Users/bob/miniconda3/envs/desk/bin/mcp-pyautogui

Use that location when you’re adding mcp-pyautogui to your claude_desktop_config.json file. Here’s a sample configuration:

{
  "mcpServers": {
    "mcp-pyautogui": {
      "command": "/Users/bob/miniconda3/envs/desk/bin/mcp-pyautogui",
      "args": [
          ""
      ]
    }
  }
}

Usage

If you followed the above installation steps, you don’t need to do anything else. Just use Claude Desktop and you should see all the tools this MCP server offers automatically. You could test this server by saying something like “can you click at (200,200) ?”.

The server runs over stdio transport, meaning it communicates through standard input/output. To use it, connect an MCP-compatible client (e.g., an AI assistant or custom script) that can send JSON-RPC commands and receive responses.

Example Commands

  • Click at (100, 200): click(100, 200) → Returns true if successful.
  • Type “hello”: type_text("hello") → Returns true.
  • Take a screenshot: take_screenshot("screenshot.png") → Saves to screenshot.png.
  • Get mouse position: get_mouse_position() → Returns (500, 300) (example).
  • Copy text: hotkey("ctrl c") → Returns true.
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mcp-pyautogui": { "command": "/Users/bob/miniconda3/envs/desk/bin/mcp-pyautogui", "args": [ "" ] } } }