
alejandroballesterosc/document-edit-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
alejandroballesterosc/document-edit-mcp는 https://github.com/alejandroballesterosc/document-edit-mcp.]에서 수입된 MCP 서버 후보입니다
개요
alejandroballesterosc/document-edit-mcp는 https://github.com/alejandroballesterosc/document-edit-mcp.]에서 수입된 MCP 서버 후보입니다
개요(AI 번역)
Claude Desktop을 허용하는 모델 Context Protocol (MCP) 서버는 Microsoft Word, Excel 및 PDF 파일에서 문서 작업을 수행 할 수 있습니다.
특징
Microsoft Word 운영
- 텍스트에서 새 단어 문서를 작성
- 기존 워드 문서 편집 (add/edit/delete 단락 및 헤더)
- 텍스트 파일 (.txt)를 Word 문서로 변환
Excel 운영
- JSON 또는 CSV와 같은 텍스트에서 새로운 Excel 스프레드 시트 생성
- 기존 Excel 파일 편집 (업데이트 셀, 범위, 추가 / 삭제 줄, 열, 시트)
- CSV 파일을 Excel로 변환
PDF 작업
- 텍스트에서 새로운 PDF 파일 만들기
- Word 문서를 PDF 파일로 변환
설치
이 MCP 서버는 Python 3.10 이상이 필요합니다.
Smithery를 통해 설치
Claude Document MCP Server for Claude Desktop을 설치하려면 Smithery를 통해 자동으로 설치하십시오.
자동 설정 (추천)
설정 스크립트를 실행하여 종래 데스크탑에 의존성을 설치하고 구성합니다.
이것은:
- 가상 환경 만들기
- 필수 의존성 설치
- Claude 데스크탑 서버 구성
- 필요한 감독 만들기
수동 설정
수동으로 설정하려면:
-
의존성 설치:
-
Claude 데스크탑 구성:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Claude Document MCP Server
A Model Context Protocol (MCP) server that allows Claude Desktop to perform document operations on Microsoft Word, Excel, and PDF files.
Features
Microsoft Word Operations
- Create new Word documents from text
- Edit existing Word documents (add/edit/delete paragraphs and headings)
- Convert text files (.txt) to Word documents
Excel Operations
- Create new Excel spreadsheets from JSON or CSV-like text
- Edit existing Excel files (update cells, ranges, add/delete rows, columns, sheets)
- Convert CSV files to Excel
PDF Operations
- Create new PDF files from text
- Convert Word documents to PDF files
Setup
This MCP server requires Python 3.10 or higher.
Installing via Smithery
To install Claude Document MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @alejandroBallesterosC/document-edit-mcp --client claude
Automatic Setup (Recommended)
Run the setup script to automatically install dependencies and configure for Claude Desktop:
git clone https://github.com/alejandroBallesterosC/document-edit-mcp
cd document-edit-mcp
./setup.sh
This will:
- Create a virtual environment
- Install required dependencies
- Configure the server for Claude Desktop
- Create necessary directories
Manual Setup
If you prefer to set up manually:
- Install dependencies:
cd claude-document-mcp
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .
- Configure Claude Desktop:
Copy the claude_desktop_config.json file to:
- Mac:
~/Library/Application Support/Claude/ - Windows:
%APPDATA%\Claude\
- Restart Claude Desktop
Model Context Protocol Integration
This server follows the Model Context Protocol specification to provide document manipulation capabilities for Claude Desktop:
- Tools: Provides manipulations functions for Word, Excel, and PDF operations
- Resources: Provides information about capabilities
- Prompts: (none currently implemented)
API Reference
Microsoft Word
Create a Word Document
create_word_document(filepath: str, content: str) -> Dict
Edit a Word Document
edit_word_document(filepath: str, operations: List[Dict]) -> Dict
Convert TXT to Word
convert_txt_to_word(source_path: str, target_path: str) -> Dict
Excel
Create an Excel File
create_excel_file(filepath: str, content: str) -> Dict
Edit an Excel File
설치
npx -y @smithery/cli install @alejandroBallesterosC/document-edit-mcp --client claude