Skip to main content
Glama

Claude Document MCP Server

クロードドキュメントMCPサーバー

Claude Desktop が Microsoft Word、Excel、および PDF ファイルに対してドキュメント操作を実行できるようにする Model Context Protocol (MCP) サーバー。

特徴

Microsoft Wordの操作

  • テキストから新しいWord文書を作成する
  • 既存の Word 文書を編集する (段落と見出しを追加/編集/削除)
  • テキストファイル(.txt)をWord文書に変換する

Excel操作

  • JSON または CSV のようなテキストから新しい Excel スプレッドシートを作成する
  • 既存の Excel ファイルを編集する (セル、範囲の更新、行、列、シートの追加/削除)
  • CSVファイルをExcelに変換する

PDF操作

  • テキストから新しいPDFファイルを作成する
  • Word文書をPDFファイルに変換する

設定

この MCP サーバーには Python 3.10 以上が必要です。

自動セットアップ(推奨)

セットアップ スクリプトを実行して依存関係を自動的にインストールし、Claude Desktop を構成します。

git clone https://github.com/alejandroBallesterosC/document-edit-mcp cd document-edit-mcp ./setup.sh

これにより、次のようになります。

  1. 仮想環境を作成する
  2. 必要な依存関係をインストールする
  3. Claude Desktop 用にサーバーを構成する
  4. 必要なディレクトリを作成する

手動設定

手動で設定する場合:

  1. 依存関係をインストールします:
cd claude-document-mcp python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate pip install -e .
  1. Claude デスクトップを設定します。

claude_desktop_config.jsonファイルを次の場所にコピーします。

  • Mac : ~/Library/Application Support/Claude/
  • Windows : %APPDATA%\Claude\
  1. Claudeデスクトップを再起動します

モデルコンテキストプロトコル統合

このサーバーは、モデル コンテキスト プロトコル仕様に準拠し、Claude Desktop のドキュメント操作機能を提供します。

  • ツール: Word、Excel、PDFの操作機能を提供します
  • リソース: 機能に関する情報を提供します
  • プロンプト: (現在実装されていません)

APIリファレンス

マイクロソフトワード

Word文書を作成する
create_word_document(filepath: str, content: str) -> Dict
Word文書を編集する
edit_word_document(filepath: str, operations: List[Dict]) -> Dict
TXTをWordに変換する
convert_txt_to_word(source_path: str, target_path: str) -> Dict

エクセル

Excelファイルを作成する
create_excel_file(filepath: str, content: str) -> Dict
Excelファイルを編集する
edit_excel_file(filepath: str, operations: List[Dict]) -> Dict
CSVをExcelに変換する
convert_csv_to_excel(source_path: str, target_path: str) -> Dict

PDF

PDFファイルを作成する
create_pdf_file(filepath: str, content: str) -> Dict
WordをPDFに変換する
convert_word_to_pdf(source_path: str, target_path: str) -> Dict

ログ

サーバーは、トラブルシューティングのために、すべての操作をコンソールとlogs/document_mcp.logファイルの両方に記録します。

ライセンス

マサチューセッツ工科大学

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude Desktop が Microsoft Word、Excel、PDF ファイルに対して作成、編集、形式変換などのドキュメント操作を実行できるようにするモデル コンテキスト プロトコル サーバー。

  1. 特徴
    1. Microsoft Wordの操作
    2. Excel操作
    3. PDF操作
  2. 設定
    1. 自動セットアップ(推奨)
    2. 手動設定
  3. モデルコンテキストプロトコル統合
    1. APIリファレンス
      1. マイクロソフトワード
      2. エクセル
      3. PDF
    2. ログ
      1. ライセンス
        1. 貢献

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A collection of Model Context Protocol servers that enable Claude Desktop to provide development assistance capabilities with filesystem, Git, shell command, and web search functionality without incurring API usage costs.
            Last updated -
            2
            19
            TypeScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A custom Model Context Protocol server that gives Claude Desktop and other LLMs access to file system operations and command execution capabilities through standardized tool interfaces.
            Last updated -
            23
            Python
            Apache 2.0
            • Apple
            • Linux
          • -
            security
            F
            license
            -
            quality
            A filesystem Model Context Protocol server that provides Claude Desktop with capabilities to read, write, and manipulate files on your system.
            Last updated -
            1
            TypeScript
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables Claude Desktop to interact with Microsoft Dynamics 365, allowing users to retrieve information, create and update accounts, and manage opportunities through natural language.
            Last updated -
            5
            11
            TypeScript
            MIT License

          View all related MCP servers

          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/alejandroBallesterosC/document-edit-mcp'

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