1. Conduid
  2. Browser
  3. Claude Paste Image
MCP server · Browser

Claude Paste Image

MCP server — paste images from system clipboard into Claude Code for analysis

37Low

Scored 6 months ago · breakdown

About Claude Paste Image

Claude Paste Image is an MCP server in the Browser category: mCP server — paste images from system clipboard into Claude Code for analysis.

Install

Claude Code
claude mcp add claude-paste-image -- npx -y claude-paste-image
npx
npx -y claude-paste-image

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Claude Paste Image

Powered by Claude · Grounded in docs

I know everything about Claude Paste Image. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

claude-paste-image

MCP server that captures images from your system clipboard so Claude Code (or any MCP client) can read and analyze them.

Copy a screenshot or image → call the paste_image tool → get a file path → Claude reads the image.

Features

  • Cross-platform: macOS, Linux (X11 & Wayland), Windows
  • Format detection: PNG, JPEG, GIF, BMP, TIFF (auto-detected from magic bytes)
  • Secure: filename sanitization, restrictive file permissions (0o600), no shell interpolation
  • Auto-cleanup: temporary files are deleted after 30 minutes
  • Zero config: no API keys, no external services, works offline
  • Minimal dependencies: only @modelcontextprotocol/sdk

Prerequisites

Platform Requirement
macOS pngpaste (brew install pngpaste) — optional, falls back to built-in osascript
Linux (X11) xclip (apt install xclip)
Linux (Wayland) wl-clipboard (apt install wl-clipboard)
Windows PowerShell (pre-installed)

Installation

Option 1: npx (no install)

claude mcp add paste-image -- npx -y claude-paste-image

Option 2: Global install

npm install -g claude-paste-image
claude mcp add paste-image -- claude-paste-image

Option 3: From source

git clone https://github.com/jokai-sor/claude-paste-image.git
cd claude-paste-image
npm install && npm run build
claude mcp add paste-image -- node /absolute/path/to/dist/index.js

Usage

  1. Copy an image to your clipboard (screenshot, browser image, etc.)
  2. In Claude Code, the paste_image tool will be available
  3. Claude captures the image, saves it to a temp file, and reads it for analysis

Tool: paste_image

Parameter Type Required Description
filename string No Custom filename (alphanumeric, dashes, underscores). Random UUID if omitted.

Example output

Image saved from clipboard.
Path: /tmp/claude-paste-images/a1b2c3d4.png
Format: PNG
Size: 142 KB

Use the Read tool to view this image.

How it works

  1. MCP client calls the paste_image tool
  2. Server runs a platform-specific command to read the clipboard:
    • macOS: pngpaste or osascript (AppleScript)
    • Linux: xclip (X11) or wl-paste (Wayland)
    • Windows: PowerShell with System.Windows.Forms.Clipboard
  3. Image format is detected from magic bytes
  4. File is saved to a temp directory with restrictive permissions
  5. File path is returned for the client to read

Security

  • Filenames are sanitized: path separators stripped, only [a-zA-Z0-9_-] allowed
  • Files are written with mode 0o600 (owner-only read/write)
  • Temp directory has mode 0o700 (owner-only access)
  • All external commands use execFileSync (no shell interpretation)
  • Stale files are auto-deleted after 30 minutes

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Claude Paste Image

How do I install Claude Paste Image?

Run claude mcp add claude-paste-image -- npx -y claude-paste-image, then add the server to your MCP client's configuration.

Is Claude Paste Image safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Claude Paste Image still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.