Atlas / MCP servers / moussaabbadla / Code Screenshot Generator

Code Screenshot GeneratorSAFE

mcp/moussaabbadla/code-screenshot-generator

MCP server for generating beautiful code screenshots directly from Claude

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
4 4r · 0w · 0d
Transport
stdio
License
MIT
Stars
45
01

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"
}
}
Read from source at commit a3120b80f772OBSERVED · 2026-10-08
02

Connect

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-code
claude mcp add code-screenshot-mcp -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "code-screenshot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (4)

4 read · 0 write · 0 destructive.

ToolRiskDescription
batch_screenshotreadGenerate screenshots for multiple files at once. Useful for documenting multiple code files quickly.
generate_code_screenshotreadGenerate a beautiful screenshot of code with syntax highlighting and themes
screenshot_from_filereadScreenshot code directly from a file path, with optional line range selection. Auto-detects language from file extension.
screenshot_git_diffreadGenerate a screenshot of git diff output. Shows changes in your working directory or staged changes.
04

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (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)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, playwright, sharp, highlight.js, @types/node, typescript
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha a3120b80f772full audit observations/trust-audit/mcp-server/moussaabbadla__code-screenshot-generator.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08a3120b80f772SAFEB89first audit
06

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.

Advertisement