code-screenshot-mcp
by tommy0200
Overview
Generate beautiful code screenshots with syntax highlighting and themes from provided code, files, or git diffs.
Installation
npx code-screenshot-mcpSecurity Notes
CRITICAL security risks identified. The server allows reading arbitrary files from the file system (via `screenshot_from_file` and `batch_screenshot` tools) and executing shell commands (via `screenshot_git_diff` tool) based on user-provided file paths. This can lead to severe information disclosure (e.g., reading sensitive system files like `/etc/passwd` or SSH keys) and potential arbitrary code execution via shell injection in the `git diff` command, even with basic quoting. Running this server with untrusted input (such as from an LLM that might be prompted maliciously) is highly dangerous and could compromise the host system.
Similar Servers
Peekaboo
macOS automation server that integrates AI for screen capture analysis, UI interaction, and agentic workflows.
Convert-Markdown-PDF-MCP
Converts Markdown content into gorgeously styled PDF documents using VS Code's markdown styling and Python's ReportLab, integrated as an MCP server.
lm
Provides a user-friendly interface for interacting with advanced AI models, generating code, and managing AI tasks with customizable prompts.
sharp-mcp
This MCP server provides image session management and processing capabilities for AI coding assistants, enabling tasks like metadata extraction, color picking, background removal, cropping, and compression.