Code Screenshot GeneratorSAFE
MCP server for generating beautiful code screenshots directly from Claude
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
MCP server for generating beautiful code screenshots directly from Claude
[](https://www.npmjs.com/package/code-screenshot-mcp) [](https://www.npmjs.com/package/code-screenshot-mcp) [](https://opensource.org/licenses/MIT) [](https://www.typescriptlang.org/) [](https://modelcontextprotocol.io/)
Overview
A Model Context Protocol (MCP) server that enables Claude to generate syntax-highlighted code screenshots with professional themes. Supports direct file reading, line selection, git diff visualization, and batch processing.
Features
- 5 Professional Themes: Dracula, Nord, Monokai, GitHub Light, GitHub Dark
- File Integration: Screenshot code directly from file paths with line range selection
- Git Diff Support: Visualize staged or unstaged changes
- Batch Processing: Process multiple files simultaneously
- Auto Language Detection: Supports 20+ programming languages
- Native Claude Integration: Works with Claude Desktop and Claude Code
Installation
Prerequisites
npm install -g code-screenshot-mcp
Configuration
Quick Setup (Claude Code):
claude mcp add code-screenshot-mcp
Manual Setup (Claude Desktop):
Add to your Claude configuration file at ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"code-screenshot": {
"command": "code-screenshot-mcp"
}
}a3120b80f772OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add code-screenshot-mcp -- npx -y [email protected]
{
"mcpServers": {
"code-screenshot-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (4)
4 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
batch_screenshot | read | Generate screenshots for multiple files at once. Useful for documenting multiple code files quickly. |
generate_code_screenshot | read | Generate a beautiful screenshot of code with syntax highlighting and themes |
screenshot_from_file | read | Screenshot code directly from a file path, with optional line range selection. Auto-detects language from file extension. |
screenshot_git_diff | read | Generate a screenshot of git diff output. Shows changes in your working directory or staged changes. |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (1)
@modelcontextprotocol/sdk, playwright, sharp, highlight.js, @types/node, typescript
Gates applied: no_behavioural_pass.
a3120b80f772full audit observations/trust-audit/mcp-server/moussaabbadla__code-screenshot-generator.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | a3120b80f772 | SAFE | B | 89 | first audit |
Questions
What is the Code Screenshot Generator MCP server?
MCP server for generating beautiful code screenshots directly from Claude
What tools does Code Screenshot Generator expose?
4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Code Screenshot Generator safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Code Screenshot Generator need?
No credential environment variables were found in its source, so it appears to need none.
How does Code Screenshot Generator run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as code-screenshot-mcp at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (a3120b80f772), read on 2026-10-08. The repository is watched and re-audited when it changes.