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

카테고리

태그