クロードドキュメント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ファイルに変換する
Related MCP server: MCP Tools
設定
この MCP サーバーには Python 3.10 以上が必要です。
自動セットアップ(推奨)
セットアップ スクリプトを実行して依存関係を自動的にインストールし、Claude Desktop を構成します。
git clone https://github.com/alejandroBallesterosC/document-edit-mcp
cd document-edit-mcp
./setup.shこれにより、次のようになります。
仮想環境を作成する
必要な依存関係をインストールする
Claude Desktop 用にサーバーを構成する
必要なディレクトリを作成する
手動設定
手動で設定する場合:
依存関係をインストールします:
cd claude-document-mcp
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .Claude デスクトップを設定します。
claude_desktop_config.jsonファイルを次の場所にコピーします。
Mac :
~/Library/Application Support/Claude/Windows :
%APPDATA%\Claude\
Claudeデスクトップを再起動します
モデルコンテキストプロトコル統合
このサーバーは、モデル コンテキスト プロトコル仕様に準拠し、Claude Desktop のドキュメント操作機能を提供します。
ツール: Word、Excel、PDFの操作機能を提供します
リソース: 機能に関する情報を提供します
プロンプト: (現在実装されていません)
APIリファレンス
マイクロソフトワード
Word文書を作成する
create_word_document(filepath: str, content: str) -> DictWord文書を編集する
edit_word_document(filepath: str, operations: List[Dict]) -> DictTXTをWordに変換する
convert_txt_to_word(source_path: str, target_path: str) -> Dictエクセル
Excelファイルを作成する
create_excel_file(filepath: str, content: str) -> DictExcelファイルを編集する
edit_excel_file(filepath: str, operations: List[Dict]) -> DictCSVをExcelに変換する
convert_csv_to_excel(source_path: str, target_path: str) -> DictPDFファイルを作成する
create_pdf_file(filepath: str, content: str) -> DictWordをPDFに変換する
convert_word_to_pdf(source_path: str, target_path: str) -> Dictログ
サーバーは、トラブルシューティングのために、すべての操作をコンソールとlogs/document_mcp.logファイルの両方に記録します。
ライセンス
マサチューセッツ工科大学
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
- Enhancements for Claude Desktop App with Large Contexts and Long Documents
- Tools for reading Excel, Word and PowerPoint files
- Excel spreadsheet template for tracking residents and attendings with PDF and voice memo attachments
- Tools and resources for PDF and XML document processing
- PDF text editing and preview tools
Latest Blog Posts
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
