mcp-screenshot-server

mcp-screenshot-server

0

MCP Screenshot Server is a microservice designed for capturing screenshots on Windows systems, integrating seamlessly with AI tools and automation workflows. It's MCP-compatible and built on FastAPI, supporting full-screen, region-specific, and window-based screenshot captures.

🖼️ MCP Screenshot Server

A lightweight, MCP-compatible screenshot microservice built with FastAPI for Windows.

🔧 Features

  • Capture full-screen screenshots
  • Capture specific window by title
  • Capture custom regions [x, y, width, height]
  • MCP-compliant REST API
  • Returns images as PNG or base64
  • Built with FastAPI, ready for production or LLM use

🧠 Use Cases

  • Integrating with LLMs using Model Context Protocol (MCP)
  • QA test automation pipelines
  • Monitoring and remote capture tools
  • Visual logging/debugging tools for agents

📦 Installation

🔌 API Usage

POST /screenshot

🛠️ Tech Stack

  • Python 3.11+
  • FastAPI
  • mss or pyautogui for screenshot
  • pillow for image processing
  • pygetwindow for window matching (optional)

📄 License

MIT License.

📬 Contributing

Pull requests and issues welcome!