traa-mcp

traa-mcp

3

TRAA MCP Server is a screen capture solution that leverages the Model Context Protocol to communicate and perform tasks like screen enumeration and screenshot capture. It supports multiple image formats and customizable settings for efficient and automated operations.

TRAA MCP Server

TRAA MCP Server is a screen capture server based on the Model Context Protocol (MCP). It provides the ability to enumerate system screens and windows, and capture screenshots. The server communicates with clients using the MCP protocol, supporting both stdio and SSE transport methods.

Features

  • Screen and Window Source Enumeration
    • List all available displays and windows
    • Sources include ID, title, type, and position information
  • Screen Capture
    • Capture screenshots in customizable dimensions
    • JPEG and PNG formats supported
    • Configurable quality settings
    • Automatic directory creation for files

Usage

  • Configure MCP Servers for use with AI agents
  • The server supports stdio and SSE modes
  • Client offers an interactive CLI

Image Format Support

  • JPEG: smaller size, quality settings
  • PNG: lossless, supports transparency

Dependencies

  • Python >= 3.10
  • mcp >= 1.0.0
  • anyio >= 4.5
  • traa >= 0.1.5
  • pillow >= 11.1.0

Notes

  • JPEG format with default quality setting for MCP compatibility
  • Automatic directory creation when saving files
  • Detailed error messages for troubleshooting

License

Refer to the LICENSE file for details.