pdf-agent-toolkit-mcp
PDF Agent Toolkit & MCP Server (ihatepdf.cv에서 영감을 받음)
AI 에이전트(Claude Desktop, Cursor, Windsurf, LangChain, Claude Code)를 위한 포괄적이고 프라이버시 우선의 PDF 조작 제품군이자 Model Context Protocol (MCP) 서버입니다.
핵심 철학
클라우드 업로드 제로: 모든 PDF 처리(압축, 페이지 재정렬, 회전, 편집(redaction), 텍스트 추출)는 순수 TypeScript & WebAssembly로 100% 로컬에서 실행됩니다.
에이전트 토큰 최적화: 프롬프트에 원시 PDF base64 덤프를 넣지 않아 컨텍스트 비대화를 제거하며, 요청 시 구조화된 개요와 페이지 스니펫을 반환합니다.
범용 호환성:
stdioJSON-RPC 2.0과 즉시(별도 설정 없이) 작동합니다.
Related MCP server: filewash
🛠️ 사용 가능한 MCP 도구
도구 이름 | 카테고리 | 설명 | 에이전트 최적화 |
| 최적화 | 스트림 조각 모음과 DPI 사전 설정( | 후속 OCR/비전 토큰 비용을 최대 70% 절감합니다. |
| 인텔리전스 | 문서 목차(TOC), 개요, 단어 수, 깔끔한 Markdown 텍스트를 추출합니다. | 원시 스트림 덤프 대비 약 90%의 컨텍스트 토큰을 절약합니다. |
| 보안 | SSN(사회보장번호), 이메일, 신용카드, Aadhaar 번호, 사용자 지정 키워드를 감지하여 검은색 편집(redaction) 박스를 찍습니다. | 문서를 외부 LLM에 보내기 전에 GDPR/HIPAA 규정 준수를 보장합니다. |
| 구조 | 복합 도구: 페이지 재정렬, 삭제, 회전(90/180/270°), 페이지 번호 추가를 한 번의 원자적 작업으로 수행합니다. | 다중 턴 왕복(roundtrip)을 방지합니다. |
| 구조 | 특정 페이지 범위(예: | 에이전트가 특정 챕터를 검사할 수 있게 합니다. |
| 구조 | 여러 입력 PDF를 단일 문서로 결합합니다. | 빠른 다중 파일 문서 컴파일. |
| 보안 | 사용자 지정 회전 및 불투명도로 시각적 텍스트 워터마크(예: | 시각적 상태 스탬핑. |
| 생성 | 깔끔한 Markdown/텍스트를 스타일화된 헤더 배너가 있는 A4 PDF로 포맷합니다. | 헤드리스 브라우저 부담 없이 가벼운 문서 생성. |
| 양식 | 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 devThis server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityBmaintenanceEnables AI agents and users to process documents through natural language, supporting PDF operations like text extraction, redaction, splitting, form filling, annotations, and content search.20561MIT
- AlicenseNot gradedqualityBmaintenancePrivacy-first file tools for AI agents, enabling operations like PDF merge/split, image compression/convert, metadata stripping, and background removal without storing files.46MIT
- FlicenseNot gradedqualityCmaintenanceA local PDF manipulation server for AI agents that provides tools for merging, splitting, extracting info, and converting images to PDF, all without uploading files.
- AlicenseAqualityAmaintenanceEnterprise-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).288342MIT
Related MCP Connectors
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.
Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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