Screenshot
Summary
This project provides an MCP (Modular Communication Protocol) server designed to capture screenshots and facilitate their use by other processes or AI assistants, primarily by saving the screenshot to a file path specified by the client (Host).
Available Actions(3)
save_screenshot_to_host_workspace
Saves a screenshot directly into the AI Assistant's (Host's) current WSL workspace. Takes a screenshot, converts the provided WSL path to a UNC path, and saves the file to the Host's workspace. Automatically detects the WSL distribution name. Args: host_workspace_path (str): The absolute WSL path of the Host's workspace. name (str, optional): Filename. Defaults to 'workspace_screenshot.jpg'. Returns: str - 'success' or 'failed: [error message]'.
take_screenshot_and_return_path
Saves a screenshot to a fixed 'images/' directory relative to the server's location and returns the absolute path to the saved file. Args: name (str, optional): Filename. Defaults to 'latest_screenshot.jpg'. Returns: str - Absolute path or 'failed: [error message]'.
take_screenshot_path
Saves a screenshot to an arbitrary location specified by a Windows path or a UNC path. Requires careful path specification by the caller. Args: path (str, optional): Target directory (Windows or UNC path). Defaults to server's working directory. name (str, optional): Filename. Defaults to 'screenshot.jpg'. Returns: str - 'success' or 'failed: [error message]'.
Reseñas de la Comunidad
Aún no hay reseñas. ¡Sé el primero en reseñar!
Inicia sesión para unirte a la conversación