FM

famano/mcp-server-office

Developer tools

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

39 stars 12 forks 품질 53 트렌드 0MIT

famano/mcp-server-office는 MCP 서버 후보가 https://github.com/famano/mcp-server-office.에서 수입되었습니다

개요

famano/mcp-server-office는 MCP 서버 후보가 https://github.com/famano/mcp-server-office.에서 수입되었습니다

개요(AI 번역)

Model Context Protocol (MCP) 서버는 Microsoft Word (docx) 파일을 읽고/쓰기하는 도구를 제공합니다.

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 Server Office를 자동으로 설치하십시오.

사용법

pip로 설치:

그런 다음 MCP 서버를 시작합니다.

또는 uv를 사용하여, 다만:

사용 가능한 도구

  1. read_docx: 테이블과 이미지를 포함한 docx 파일의 전체 내용을 읽습니다.
  • 입력: path (string) - 대상 파일에 절대 경로
  • 참고 : 이미지는 [Image] placeholder로 변환되며, 트랙 변경은 표시되지 않습니다.
  1. write_docx: 주어진 내용을 가진 새로운 docx 파일을 창조하십시오.
  • 입력:
  • path (string) - 대상 파일에 절대 경로
  • content (string) - 파일에 쓰는 내용
  • 참고 : 새 단락의 이중 라인 브레이크, [테이블] 태그를 사용하여 | 테이블의 분리기
  1. edit_docx_paragraph: docx 파일의 지정된 단락에 텍스트 교체를 만듭니다.
  • 입력:
  • path (string) - 편집할 파일의 절대 경로
  • edits (array) - 검색/장소 텍스트 및 단락 색인을 포함하는 사전 목록
  • paragraph_index (number) - 단락의 0 기반 인덱스
  • search (string) - 지정된 단락 내에서 찾을 텍스트

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

README

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

MCP Server Office

A Model Context Protocol (MCP) server providing tools to read/write Microsoft Word (docx) files.

Installing via Smithery

To install Server Office for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @famano/mcp-server-office --client claude

Usage

Install with pip:

pip install mcp-server-office

Then, start the MCP server:

mcp-server-office

Or using uv, just:

uvx mcp-server-office

Available Tools

  1. read_docx: Read complete contents of a docx file including tables and images.

    • Input: path (string) - Absolute path to the target file
    • Note: Images are converted to [Image] placeholders, and track changes are not shown
  2. write_docx: Create a new docx file with given content.

    • Input:
      • path (string) - Absolute path to target file
      • content (string) - Content to write to the file
    • Note: Use double line breaks for new paragraphs, and [Table] tag with | separators for tables
  3. edit_docx_paragraph: Make text replacements in specified paragraphs of a docx file.

    • Input:
      • path (string) - Absolute path to file to edit
      • edits (array) - List of dictionaries containing search/replace text and paragraph index
        • paragraph_index (number) - 0-based index of the paragraph to edit
        • search (string) - Text to find within the specified paragraph
        • replace (string) - Text to replace with
    • Note: Each search string must match exactly once within the specified paragraph
  4. edit_docx_insert: Insert new paragraphs into a docx file.

    • Input:
      • path (string) - Absolute path to file to edit
      • inserts (array) - List of dictionaries containing text and optional paragraph index
        • text (string) - Text to insert as a new paragraph
        • paragraph_index (number, optional) - 0-based index of the paragraph before which to insert. If not specified, insert at the end.

Requirements

  • Python >= 3.12
  • Dependencies:
    • mcp[cli] >= 1.2.0
    • python-docx >= 1.1.2

MCP Server Office (日本語)

Microsoft Word (docx) ファイルの読み書きを提供するModel Context Protocol (MCP) サーバーです。

Smitheryによるインストール

Smithery経由でClaude DesktopにServer Officeを自動インストールするには:

npx -y @smithery/cli install @famano/mcp-server-office --client claude

使用方法

pipを使用してインストール:

pip install mcp-server-office

MCPサーバーの起動:

mcp-server-office

または、uvを使う場合:

uvx mcp-server-office

利用可能なツール

  1. read_docx: docxファイルの内容を表やイメージを含めて完全に読み取ります。

    • 入力: path (文字列) - 対象ファイルの絶対パス
GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install @famano/mcp-server-office --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →