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).
No reviews yet. Be the first to review!
Sign in to join the conversation
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 (e.g., /home/user/project). name (str, optional): Filename. Defaults to workspace_screenshot.jpg. Returns: str - 'success' or 'failed: [error message]'.
Saves a screenshot to a fixed images/ directory relative to the server's location and returns the absolute path (typically a Windows path). Useful if the caller needs the path for external processing. Args: name (str, optional): Filename. Defaults to latest_screenshot.jpg. Returns: str - Absolute path or 'failed: [error message]'.
Saves a screenshot to an arbitrary location specified by a Windows path or a UNC path (e.g., for saving outside the Host's workspace). 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]'.