rudycanshoot

rudycanshoot

An MCP server that enables AI assistants to capture and view screenshots, supporting multiple AI tools and platforms.

Category
访问服务器

README

rudycanshoot

An MCP server + CLI that lets AI assistants take and view screenshots. Works with Claude Code, Cursor, Windsurf, Codex CLI, Gemini CLI, OpenCode, Continue, Cline, Aider, and GitHub Copilot.

Install

npm install -g rudycanshoot

Or run without installing:

npx rudycanshoot serve

Quick Start

1. Auto-configure your AI tools

# All tools at once
rudycanshoot install --all

# Or a specific tool
rudycanshoot install --tool claude-code
rudycanshoot install --tool cursor
rudycanshoot install --tool windsurf
rudycanshoot install --tool codex
rudycanshoot install --tool gemini
rudycanshoot install --tool opencode
rudycanshoot install --tool continue
rudycanshoot install --tool cline

2. Restart your AI tool

The MCP server will now appear in your AI assistant's tool list.

3. Use it

Ask your AI: "Take a screenshot and show me what's on screen."


MCP Tools

Tool Description
take_screenshot Capture fullscreen, active window, or a region
read_screenshot Read a saved image so the AI can view it
list_screenshots List recent captures

take_screenshot parameters

Parameter Type Default Description
mode fullscreen|window|area fullscreen What to capture
area string x,y,width,height — required when mode=area
filename string auto Output filename
outputDir string ~/.rudycanshoot/captures/ Where to save

CLI

# Take a screenshot
rudycanshoot capture
rudycanshoot capture --mode window
rudycanshoot capture --mode area --area 0,0,1920,1080
rudycanshoot capture --output /tmp/snap.png

# List recent screenshots
rudycanshoot list

# Start MCP server (used by AI tools — usually run automatically)
rudycanshoot serve

# Configure AI tools
rudycanshoot install --all

Supported AI Tools

Tool Config location What's installed
Claude Code ~/.claude/settings.json MCP server entry + /screenshot command
Cursor ~/.cursor/mcp.json MCP server entry
Windsurf ~/.codeium/windsurf/mcp_config.json MCP server entry
Codex CLI ~/AGENTS.md Tool documentation
Gemini CLI ~/.gemini/settings.json MCP server entry
OpenCode ~/.config/opencode/opencode.json MCP server + agent
Continue ~/.continue/config.json MCP server entry
Cline ~/.clinerules/ Rules file
Aider ~/.aider.conf.yml Comment reference
GitHub Copilot ~/.github/copilot-instructions.md Instructions

Screenshot Backends

Linux

Installed automatically when available, in priority order:

Tool Display Install
grim Wayland sudo apt install grim
scrot X11 sudo apt install scrot
maim X11 sudo apt install maim
import X11 sudo apt install imagemagick
xwd X11 sudo apt install x11-apps

macOS

Uses the built-in screencapture command — no extra install needed.

Windows

Uses PowerShell + System.Windows.Forms — no extra install needed.


Project Config Files (for contributors)

When you clone this repo, your AI tool will auto-discover:

File Tool
CLAUDE.md Claude Code
AGENTS.md Codex CLI, OpenCode
GEMINI.md Gemini CLI
.github/copilot-instructions.md GitHub Copilot
.cursor/mcp.json Cursor
.mcp.json Claude Code (project-level)
.windsurfrules Windsurf
.clinerules/ Cline
.claude/commands/screenshot.md Claude Code /screenshot command
.opencode/agents/screenshot.md OpenCode agent

License

MIT


Image Processing

Function Description
annotateImage Add text label to a screenshot
diffScreenshots Highlight/heatmap/side-by-side diff
compareScreenshots Pixel-level similarity metrics
highlightRegions Color overlays with labels
redactRegions Fill or blur sensitive areas
addWatermark Corner text watermark
addBorder Solid border with optional radius
cropImage Crop to a region
resizeImage Resize preserving aspect ratio
stitchImages Horizontal or vertical concat
makeGrid N×M grid composite
makeGif Animated GIF from PNG frames
ocrImage Extract text via Tesseract

Pipeline API

import { Pipeline } from "rudycanshoot";

const path = await Pipeline.capture({ mode: "fullscreen" })
  .annotate("CT-6101 Boson capture", { position: "bottom" })
  .redact([{ x: 0, y: 0, w: 1920, h: 30 }], { style: "blur" })
  .watermark("CONFIDENTIAL", { corner: "br" })
  .save("/tmp/final.png");

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选