MM

meterlong/mcp-doc

Developer tools

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

193 stars 24 forks 품질 38 트렌드 17

meterlong/mcp-doc은 https://github.com/meterlong/mcp-doc.에서 가져온 MCP 서버 후보입니다.

개요

meterlong/mcp-doc은 https://github.com/meterlong/mcp-doc.에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

영어 | 中文

FastMCP 라이브러리를 기반으로 한 Docx 문서 처리 서비스로, 커서의 AI 어시스턴트를 이용해 워드 문서의 생성, 편집 및 관리를 지원합니다.

특징

  • 문서 작업 완료: 문서 생성, 열기, 저장 및 콘텐츠 추가, 편집 및 삭제 지원
  • 서식: 글꼴, 색상, 크기, 정렬 및 기타 서식 옵션 설정 지원
  • 테이블 처리: 테이블 셀 생성, 편집, 병합 및 분할 지원
  • 이미지 삽입: 이미지 삽입 및 크기 설정 지원
  • 레이아웃 제어: 페이지 여백 설정, 페이지 구분 추가, 기타 레이아웃 요소 지원
  • 쿼리 기능: 문서 정보, 단락 내용, 표 데이터 검색 지원
  • 편리한 편집: 찾기 및 교체 기능 지원
  • 섹션 편집: 특정 섹션의 내용을 원본 서식과 스타일을 유지하면서 교체할 수 있는 지원

설치 의존성

Python 3.10+가 설치되어 있는지 확인한 후 다음 의존성을 설치하세요:

사용

커서에서 MCP 서비스로 사용 중

  1. 커서를 열고 설정으로 이동

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

README

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

Docx MCP Service

English | 中文

A Docx document processing service based on the FastMCP library, supporting the creation, editing, and management of Word documents using AI assistants in Cursor.

Features

  • Complete Document Operations: Support for creating, opening, saving documents, as well as adding, editing, and deleting content
  • Formatting: Support for setting fonts, colors, sizes, alignment, and other formatting options
  • Table Processing: Support for creating, editing, merging, and splitting table cells
  • Image Insertion: Support for inserting images and setting their sizes
  • Layout Control: Support for setting page margins, adding page breaks, and other layout elements
  • Query Functions: Support for retrieving document information, paragraph content, and table data
  • Convenient Editing: Support for find and replace functionality
  • Section Editing: Support for replacing content in specific sections while preserving original formatting and styles

Installation Dependencies

Ensure Python 3.10+ is installed, then install the following dependencies:

pip3 install python-docx mcp

Usage

Using as an MCP Service in Cursor

  1. Open Cursor and go to Settings
  2. Find the Features > MCP Servers section
  3. Click Add new MCP server
  4. Fill in the following information:
    • Name: MCP_DOCX
    • Type: Command
    • Command: python3 /path/to/MCP_dox/server.py (replace with the actual path to your server.py)
  5. Click Add to add the service

After adding, you can use natural language to operate Word documents in Cursor’s AI assistant, for example:

  • “Create a new Word document and save it to the desktop”
  • “Add a level 3 heading”
  • “Insert a 3x4 table and fill it with data”
  • “Set the second paragraph to bold and center-aligned”

Supported Operations

The service supports the following operations:

  • Document Management: create_document, open_document, save_document
  • Content Addition: add_paragraph, add_heading, add_table, add_picture
  • Content Editing: edit_paragraph, delete_paragraph, delete_text
  • Table Operations: add_table_row, delete_table_row, edit_table_cell, merge_table_cells, split_table
  • Layout Control: add_page_break, set_page_margins
  • Query Functions: get_document_info, get_paragraphs, get_tables, search_text
  • File Operations: create_document, open_document, save_document, save_as_document, create_document_copy
  • Section Editing: replace_section, edit_section_by_keyword
  • Other Functions: find_and_replace, search_and_replace (with preview functionality)

How It Works

  1. The service uses the Python-docx library to process Word documents
GitHub에서 전체 README 보기

설치

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

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