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).
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. 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]'.
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]'.
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]'.
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!