RM

rubinsh/mcp-windows-screenshots

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

6 stars 3 forks 质量 56 趋势 14MIT

MCP tool for easier screenshots when working on windows with WSL2

概览

An MCP (Model Context Protocol) server that enables Claude to access Windows screenshots from WSL2. Perfect for seamlessly sharing screenshots with Claude Code without manual file navigation. When using Claude Code cli in WSL2 or in Cursor/VSCode, sharing Windows screenshots requires navigating complex file paths like /mnt/c/Users/... or dragging the image to the terminal. Also, what if want to share the last 4 screenshots with Claude? this can become very cubersome. This tool simplifies the process to just: 1. Take a screenshot on Windows (Win+Shift+S) 2. Ask Claude to show your latest screenshot/s 3. Claude instantly accesses and displays it No more copy-pasting paths or navigating directories!

README

以下为原文 README 节选,完整内容请查看原文。

MCP Windows Screenshots

An MCP (Model Context Protocol) server that enables Claude to access Windows screenshots from WSL2. Perfect for seamlessly sharing screenshots with Claude Code without manual file navigation.

Why This Tool?

When using Claude Code cli in WSL2 or in Cursor/VSCode, sharing Windows screenshots requires navigating complex file paths like /mnt/c/Users/... or dragging the image to the terminal. Also, what if want to share the last 4 screenshots with Claude? this can become very cubersome. This tool simplifies the process to just:

  1. Take a screenshot on Windows (Win+Shift+S)
  2. Ask Claude to show your latest screenshot/s
  3. Claude instantly accesses and displays it

No more copy-pasting paths or navigating directories!

Key Features

  • Auto-detection: Automatically detects your Windows Screenshots folder location from the registry
  • Cross-platform: Works in both WSL2 and native Windows environments
  • Smart defaults: Falls back to common screenshot locations if custom paths aren’t found
  • Zero configuration: Works out of the box for most users

Prerequisites

  • Windows 10/11 (with or without WSL2)
  • Node.js 18+
  • Claude Code CLI installed

Installation

Run this single command in your terminal (works in WSL2, Windows Terminal, PowerShell, or Command Prompt):

claude mcp add windows-screenshots -s user -- npx mcp-windows-screenshots@latest

That’s it! Restart Claude Code and you’re ready to go.

The tool will automatically:

  • Detect your environment (WSL2 or Windows)
  • Find your Windows Screenshots folder from the registry
  • Configure the appropriate paths

Usage

Once installed, Claude can use these tools:

View a Screenshot

Ask Claude: “Look at the latest screenshot”

Claude will automatically find it and look at the image.

List Recent Screenshots

Ask Claude: “Show me my latest screenshots”

Claude will display your recent screenshots with timestamps and sizes.

Check Screenshot Directories

Ask Claude: “Which directories are you checking for screenshots?”

Claude will show all configured paths.

How It Works

The tool automatically:

  1. Detects your environment (WSL2 vs native Windows)
  2. Queries Windows registry for your actual Screenshots folder location
  3. Searches common locations as fallback:
    • Your configured Screenshots folder (from Windows settings)
    • Pictures/Screenshots
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →