Capture Screen MCP

io.github.ochtumPublished by GitHub account ochtumv1.0.5Updated Oct 24, 2026

Windows screen capture MCP server with display, region, and active-window capture tools.

VerifiedSTDIODesktop onlyFiles & StorageMedia & Design

Overview

AI-generated overview

A Windows-only local MCP server that lets an assistant list displays, capture screenshots of the desktop, a display, a region or the active window, and delete a

What you can do
List connected displays and their details for choosing a capture target. Capture PNG screenshots of the full desktop, a specific display, a chosen rectangular region, or the active window, optionally to a given output path. Delete all saved capture images, or delete them by date or datetime range. Temporarily hide overlapping Windows Terminal windows during captures, enabled by default.
When to use it
Useful when an assistant on a Windows machine needs to see what is on screen, document a display or window, or capture a region for later reference, and when old capture files need cleaning up.
Requirements
Windows only; running elsewhere errors. Needs the .NET 10 SDK, launched via dnx from NuGet or as a global .NET tool, or via dotnet run from source. Optional environment variables CAPTURE_SCREEN_OUTPUT_DIR (default C: capture_screen), CAPTURE_SCREEN_DEFAULT_DISPLAY and CAPTURE_SCREEN_HIDE_FOREGROUND_WINDOWS_TERMINAL.
Before you install
Runs with the same user permissions as the MCP client and saves captures as local files, so sensitive content on screen may be recorded. The delete tools remove image files directly under CAPTURE_SCREEN_OUTPUT_DIR, so point that directory at a dedicated folder. Captures may briefly hide overlapping Windows Terminal windows by default.

Installation

In SourceWeft

  1. Open Capture Screen MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

[English] [日本語]

CaptureScreenMCP

Windows 向けのローカル実行型 MCP サーバーです(stdio transport)。 C# / .NET 10 の .NET tool として NuGet.org に公開しており、画面キャプチャとキャプチャ画像削除ツールを提供します。

  • NuGet: CaptureScreenMcp
  • MCP Registry name: io.github.ochtum/capture-screen
  • NuGet package ID: CaptureScreenMcp
  • Tool command: capture-screen-mcp

何ができるか

  • 接続ディスプレイ情報の取得
  • デスクトップ全体、指定ディスプレイ、指定領域、アクティブウィンドウの PNG キャプチャ
  • 出力先ディレクトリ内のキャプチャ画像一括削除
  • 日付/日時範囲でのキャプチャ画像削除
  • capture_screen / capture_display / capture_region 実行時に、撮影領域に重なった Windows Terminal を一時的に非表示化(既定で有効)

利用可能な Tools

  • list_displays()
  • capture_screen(outputPath?: string)
  • capture_display(display?: int | string, outputPath?: string)
  • capture_region(x: int, y: int, width: int, height: int, outputPath?: string)
  • capture_active_window(outputPath?: string)
  • delete_all_capture_images()
  • delete_capture_images_by_datetime(targetDate?: string, startDatetime?: string, endDatetime?: string)

必要環境

  • Windows
  • .NET 10 SDK
    • NuGet から MCP サーバーとして起動する場合は dnx を使用します。
    • 開発中にソースから起動する場合は dotnet run を使用します。

環境変数

  • CAPTURE_SCREEN_DEFAULT_DISPLAY
    • capture_display で display 省略時の既定値
    • 例: primary, left, right, プライマリ, 左, 右, 2
  • CAPTURE_SCREEN_OUTPUT_DIR
    • 保存先ディレクトリ(既定: C:\capture_screen)
  • CAPTURE_SCREEN_HIDE_FOREGROUND_WINDOWS_TERMINAL
    • 1/true/on で有効、0/false/off で無効
    • 既定は有効

NuGet から利用する

NuGet.org の公開済みパッケージを MCP クライアントから起動する場合は、dnx で CaptureScreenMcp を実行します。

json
{  "servers": {    "capture-screen": {      "type": "stdio",      "command": "dnx",      "args": ["[email protected]", "--yes"],      "env": {        "CAPTURE_SCREEN_OUTPUT_DIR": "C:\\capture_screen",        "CAPTURE_SCREEN_DEFAULT_DISPLAY": "primary",        "CAPTURE_SCREEN_HIDE_FOREGROUND_WINDOWS_TERMINAL": "1"      }    }  }}

通常の .NET tool としてインストールして起動することもできます。

powershell
dotnet tool install --global CaptureScreenMcp --version 1.0.5capture-screen-mcp

ソースから開発実行する

ビルド

powershell
dotnet restoredotnet build

MCP サーバー起動(stdio)

powershell
dotnet run --project src

開発中にソースツリーを直接参照する場合の接続設定例です。

json
{  "servers": {    "capture-screen": {      "type": "stdio",      "command": "dotnet",      "args": ["run", "--project", "src"],      "env": {        "CAPTURE_SCREEN_OUTPUT_DIR": "C:\\capture_screen",        "CAPTURE_SCREEN_DEFAULT_DISPLAY": "primary",        "CAPTURE_SCREEN_HIDE_FOREGROUND_WINDOWS_TERMINAL": "1"      }    }  }}

公開手順

NuGet.org へ公開する

  1. src/CaptureScreenMcp.csproj の <Version> を更新します。
  2. .mcp/server.json のトップレベル version と packages[0].version を同じバージョンに更新します。
  3. dotnet pack src/CaptureScreenMcp.csproj -c Release
  4. dotnet nuget push src/bin/Release/*.nupkg --api-key <NUGET_API_KEY> --source https://api.nuget.org/v3/index.json

このパッケージは NuGet MCP サーバーとして認識されるため、以下を含めています。

  • .mcp/server.json
  • README.md の <!-- mcp-name: io.github.ochtum/capture-screen --> コメント
  • PackageIcon に指定した icon.png
  • McpServer package type
  • .NET tool 設定(PackAsTool / ToolCommandName)

MCP Registry へ公開する

NuGet.org への公開だけでは、registry.modelcontextprotocol.io には自動掲載されません。 NuGet.org のパッケージ検証が完了してから、MCP Publisher で .mcp/server.json を公開します。

powershell
mcp-publisher login githubmcp-publisher publish .mcp/server.json

server.json の name と、NuGet パッケージに含まれる README.md の mcp-name は一致している必要があります。 また、packages[0].version は mcp-name が一致する NuGet パッケージのバージョンを指している必要があります。

権限と注意点

  • 本サーバーはローカル実行型です。MCP クライアントと同じユーザー権限で動作します。
  • 画面キャプチャ結果はローカルファイルとして保存されます。機密情報が映り込む可能性に注意してください。
  • 画像削除ツールは CAPTURE_SCREEN_OUTPUT_DIR 直下の画像ファイルを削除します。
  • Windows 専用実装です。Windows 以外で実行するとエラーになります。

マニフェスト

  • 開発実行用: server.json
  • NuGet MCP 公開用: .mcp/server.json

Source: README.md at commit 3b71eb3

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.5LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts