Skip to main content
Glama
abhishektangudu

pdf-agent-toolkit-mcp

PDF Agent Toolkit & MCP Server (ihatepdf.cv에서 영감을 받음)

AI 에이전트(Claude Desktop, Cursor, Windsurf, LangChain, Claude Code)를 위한 포괄적이고 프라이버시 우선의 PDF 조작 제품군이자 Model Context Protocol (MCP) 서버입니다.

핵심 철학

  1. 클라우드 업로드 제로: 모든 PDF 처리(압축, 페이지 재정렬, 회전, 편집(redaction), 텍스트 추출)는 순수 TypeScript & WebAssembly로 100% 로컬에서 실행됩니다.

  2. 에이전트 토큰 최적화: 프롬프트에 원시 PDF base64 덤프를 넣지 않아 컨텍스트 비대화를 제거하며, 요청 시 구조화된 개요와 페이지 스니펫을 반환합니다.

  3. 범용 호환성: stdio JSON-RPC 2.0과 즉시(별도 설정 없이) 작동합니다.


Related MCP server: filewash

🛠️ 사용 가능한 MCP 도구

도구 이름

카테고리

설명

에이전트 최적화

compress_pdf

최적화

스트림 조각 모음과 DPI 사전 설정(screen, ebook, printer)을 통해 파일 크기를 줄입니다.

후속 OCR/비전 토큰 비용을 최대 70% 절감합니다.

extract_pdf_content

인텔리전스

문서 목차(TOC), 개요, 단어 수, 깔끔한 Markdown 텍스트를 추출합니다.

원시 스트림 덤프 대비 약 90%의 컨텍스트 토큰을 절약합니다.

scan_and_redact_pii

보안

SSN(사회보장번호), 이메일, 신용카드, Aadhaar 번호, 사용자 지정 키워드를 감지하여 검은색 편집(redaction) 박스를 찍습니다.

문서를 외부 LLM에 보내기 전에 GDPR/HIPAA 규정 준수를 보장합니다.

organize_pdf

구조

복합 도구: 페이지 재정렬, 삭제, 회전(90/180/270°), 페이지 번호 추가를 한 번의 원자적 작업으로 수행합니다.

다중 턴 왕복(roundtrip)을 방지합니다.

split_pdf

구조

특정 페이지 범위(예: "1-3, 5, 8-12")를 추출합니다.

에이전트가 특정 챕터를 검사할 수 있게 합니다.

merge_pdfs

구조

여러 입력 PDF를 단일 문서로 결합합니다.

빠른 다중 파일 문서 컴파일.

stamp_watermark

보안

사용자 지정 회전 및 불투명도로 시각적 텍스트 워터마크(예: "DRAFT", "CONFIDENTIAL")를 찍습니다.

시각적 상태 스탬핑.

create_pdf_from_text

생성

깔끔한 Markdown/텍스트를 스타일화된 헤더 배너가 있는 A4 PDF로 포맷합니다.

헤드리스 브라우저 부담 없이 가벼운 문서 생성.

inspect_and_fill_form

양식

AcroForm 필드를 검사하고 양식 데이터를 채웁니다.

인보이스, 세금, 계약 처리를 자동화합니다.


🚀 에이전트용 빠른 시작 구성

1. Cursor IDE (.cursor/mcp.json)

{
  "mcpServers": {
    "pdf-agent-toolkit": {
      "command": "npx",
      "args": ["-y", "pdf-agent-toolkit-mcp@latest"]
    }
  }
}

2. Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "pdf-tools": {
      "command": "npx",
      "args": ["-y", "pdf-agent-toolkit-mcp"]
    }
  }
}

3. LangChain & LangGraph (Python)

from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_google_genai import ChatGoogleGenerativeAI

async def main():
    async with MultiServerMCPClient({
        "pdf_tools": {
            "command": "npx",
            "args": ["-y", "pdf-agent-toolkit-mcp"],
            "transport": "stdio",
        }
    }) as client:
        tools = client.get_tools()
        model = ChatGoogleGenerativeAI(model="gemini-2.5-flash")
        agent = create_react_agent(model, tools)
        
        response = await agent.ainvoke({
            "messages": [("user", "Compress ./financials.pdf and blackout sensitive SSNs")]
        })
        print(response)

💻 서버를 로컬에서 실행하기

# Run MCP server on stdio
npm run mcp

# Start the interactive visual testing studio and playground
npm run dev
F
license - not found
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Privacy-first file tools for AI agents, enabling operations like PDF merge/split, image compression/convert, metadata stripping, and background removal without storing files.
    46
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    A local PDF manipulation server for AI agents that provides tools for merging, splitting, extracting info, and converting images to PDF, all without uploading files.
  • A
    license
    A
    quality
    A
    maintenance
    Enterprise-grade PDF engine for AI agents. Pure TypeScript, zero-dependency, and local-first. Allows agents to generate ISO-compliant PDF/A documents, handle digital signatures (PKCS#7), and process high-performance layouts (800+ pages in seconds).
    28
    834
    2
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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/abhishektangudu/pdf-toolkit-mcp'

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