MC

moussaabbadla/code-screenshot-mcp

Browser automation

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

44 stars 9 forks 품질 63 트렌드 0MIT

moussaabbadla/code-screenshot-mcp는 https://github.com/moussaabbadla/code-screenshot-mcp.]에서 수입된 MCP 서버 후보입니다

개요

moussaabbadla/code-screenshot-mcp는 https://github.com/moussaabbadla/code-screenshot-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

Claude에서 아름다운 코드 스크린 샷을 직접 생성하는 MCP 서버

개요

Claude를 활성화하는 모델 Context Protocol (MCP) 서버는 전문 테마와 동기화 된 코드 스크린 샷을 생성 할 수 있습니다. 직접 파일 읽기, 선 선택, git diff 시각화 및 일괄 처리 지원.

특징

  • **5 전문 테마 **: Dracula, Nord, Monokai, GitHub Light, GitHub Dark
  • ** 파일 통합**: 라인 범위 선택과 파일 경로에서 직접 스크린 샷 코드
  • Git Diff Support: 단계 또는 unstaged 변경을 시각화
  • ** 배치 처리**: 여러 파일을 동시에 처리
  • ** 자동 언어 감지 ** : 20 + 프로그래밍 언어 지원
  • **Native Claude 통합 **: Claude Desktop 및 Claude Code와 호환

설치

# 필수품

윤곽

** 빠른 설정 (Claude Code):**

** 수동 설정 (Claude Desktop) : **

~/Library/Application Support/Claude/claude_desktop_config.json]에 Claude 설정 파일에 추가:

설정 후 Restart Claude 데스크탑.

개발 설정

빠른 시작

기본 스크린샷

파일에서

특정 라인

지 디프

# 일괄 처리

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Code Screenshot Generator MCP

MCP server for generating beautiful code screenshots directly from Claude

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"
    }
  }
}

Restart Claude Desktop after configuration.

Development Setup

git clone https://github.com/MoussaabBadla/code-screenshot-mcp.git
cd code-screenshot-mcp
npm install
npm run build

Quick Start

Basic Screenshot

"Generate a code screenshot of this TypeScript function with Nord theme:

function fibonacci(n: number): number {
  if (n <= 1) return n;
  return fibonacci(n-1) + fibonacci(n-2);
}
"

From File

"Screenshot src/index.ts with Dracula theme"

Specific Lines

"Screenshot lines 20-45 of src/generator.ts with Monokai theme"

Git Diff

"Screenshot my git diff with GitHub Dark theme"

Batch Processing

"Screenshot src/index.ts, src/generator.ts, and src/templates.ts"

Available Themes

  • dracula - Dark purple theme (default)
  • nord - Arctic blue-tinted theme
  • monokai - Classic dark theme
  • github-light - Clean light theme
  • github-dark - GitHub’s dark theme

API Reference

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "code-screenshot": { "command": "code-screenshot-mcp" } } }