Back to Home
tommy0200 icon

code-screenshot-mcp

by tommy0200

Overview

Generate beautiful code screenshots with syntax highlighting and themes from provided code, files, or git diffs.

Installation

Run Command
npx code-screenshot-mcp

Security 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

Stats

Interest Score0
Security Score1
Cost ClassHigh
Avg Tokens75000
Stars0
Forks0
Last Update2026-01-19

Tags

CodeScreenshotDeveloper ToolsSyntax HighlightingMCP