Skip to main content
Glama

PDF to PNG MCP Server

by truaxki

PDF를 PNG로 MCP 서버로

PDF를 PNG로 변환하는 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버를 사용하면 간단한 MCP 도구 호출을 통해 PDF 문서를 PNG 이미지로 변환할 수 있습니다.

필수 조건

이 서버에는 모델 컨텍스트 프로토콜(MCP)이 필요합니다. MCP를 처음 사용하는 경우 먼저 SDK를 설치하세요.

지엑스피1

추가 요구 사항:

  • Python 3.10 이상
  • uv 패키지 관리자
  • poppler(pdf2image에 필요)

Poppler 설치

  • Windows : poppler-windows 에서 다운로드 및 설치
  • macOS : brew install poppler
  • 리눅스 : sudo apt-get install poppler-utils

설치

  1. 이 저장소를 복제하세요:
    git clone https://github.com/truaxki/mcp-Pdf2png.git cd mcp-Pdf2png
  2. 가상 환경을 만들고 활성화하세요.
    uv venv # Windows .venv\Scripts\activate # Unix/macOS source .venv/bin/activate
  3. 패키지를 설치하세요:
    uv pip install -e .

용법

1. MCP 클라이언트 구성

claude_desktop_config.json 파일에 서버 구성을 추가하세요. 이 파일은 일반적으로 다음 위치에 있습니다.

  • Windows: %APPDATA%\Claude Desktop\config\claude_desktop_config.json
  • macOS/Linux: ~/.config/Claude Desktop/config/claude_desktop_config.json
{ "mcpServers": { "pdf2png": { "command": "uv", "args": [ "--directory", "/absolute/path/to/mcp-Pdf2png", "run", "pdf2png" ] } } }

참고: /absolute/path/to/mcp-Pdf2png 저장소를 복제한 실제 경로로 바꾸세요.

2. 서버 사용

서버는 다음 매개변수를 사용하여 단일 도구인 pdf2png 제공합니다.

  • read_file_path : 입력 PDF 파일의 절대 경로
  • write_folder_path : PNG 파일을 저장해야 하는 디렉토리의 절대 경로

산출:

  • 각 PDF 페이지는 PNG 이미지로 변환됩니다.
  • 파일 이름은 page_1.png , page_2.png 등으로 지정됩니다.
  • 변환 횟수와 함께 성공 메시지를 반환합니다.

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Tools

간단한 MCP 도구 호출을 통해 PDF 문서를 PNG 이미지로 변환하는 모델 컨텍스트 프로토콜 서버입니다.

  1. 필수 조건
    1. Poppler 설치
  2. 설치
    1. 용법
      1. MCP 클라이언트 구성
      2. 서버 사용
    2. 기여하다

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        An MCP server for converting Markdown documents to PDF files.
        Last updated -
        1
        1
        JavaScript
      • A
        security
        A
        license
        A
        quality
        Model Context Protocol server for fetching web content and processing images. This allows Claude Desktop (or any MCP client) to fetch web content and handle images appropriately.
        Last updated -
        1
        278
        15
        JavaScript
        MIT License
        • Apple
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
        Last updated -
        1
        340
        62
        JavaScript
        MIT License
      • -
        security
        -
        license
        -
        quality
        A Model Context Protocol (MCP) server that allows interaction with PDF and EPUB documents, designed to work with Windsurf IDE by Codeium.
        Last updated -
        3
        Python
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/truaxki/mcp-Pdf2png'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server