MCPServers
Screenshot - MCP server logo

Screenshot

0
0

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 (e.g., /home/user/project). 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 (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]'.

take_screenshot_path

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]'.

Last Updated: April 17, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Coming soon to
HighlightHighlight AI

语言

TypeScript

分类

标签