Aspose Cloud API

Aspose.Words Cloud MCP Server

Cloud APIWord processing DOCXDOCRTFODT รุ่น v2.0.1

Convert, create and compare Word documents, replace text, and read bookmarks, comments, properties and statistics, through Aspose.Words Cloud's REST API, from any MCP-compatible AI client.

การตั้งค่า

ติดตั้ง Aspose.Words Cloud

คุณต้องใช้ Python 3.11 หรือใหม่กว่า ติดตั้งเซิร์ฟเวอร์ใน virtual environment; แพ็กเกจแรกคือไลบรารี file-tool ที่ใช้ร่วมกันซึ่งทุก MCP server ของ Aspose Cloud พึ่งพา.

python -m venv .venv
source .venv/bin/activate    # Windows: .venv\Scripts\activate

pip install \
  git+https://github.com/aspose-cloud/aspose-storage-cloud-python-mcp.git@v1.0.5 \
  git+https://github.com/aspose-cloud/aspose-words-cloud-python-mcp.git@v2.0.1

นี่จะใส่คำสั่ง aspose-words-mcp เข้าไปใน virtual environment.

กำหนดค่า Aspose.Words Cloud ในไคลเอนต์ AI ของคุณ

สร้างแอปพลิเคชันบนแผงควบคุม Aspose Cloud ของคุณเพื่อรับ Client ID และ Client Secret (มีระดับการประเมินฟรี). เซิร์ฟเวอร์จะอ่านค่าจาก environment ของมันเมื่อเริ่ม; ค่าต่าง ๆ จะไม่ถูกส่งเป็นอาร์กิวเมนต์ของเครื่องมือ. ASPOSE_FILES_PATH คือโฟลเดอร์บนคอมพิวเตอร์ของคุณที่เซิร์ฟเวอร์สามารถอ่านไฟล์และเขียนผลลัพธ์ได้.

{
  "mcpServers": {
    "words": {
      "command": "C:\\path\\to\\.venv\\Scripts\\aspose-words-mcp.exe",
      "env": {
        "ASPOSE_CLIENT_ID": "your-client-id",
        "ASPOSE_CLIENT_SECRET": "your-client-secret",
        "ASPOSE_FILES_PATH": "C:\\Users\\you\\Documents\\aspose-files"
      }
    }
  }
}

// macOS / Linux: "command": "/path/to/.venv/bin/aspose-words-mcp"
ลองใช้

ตัวอย่างพรอมต์

  • Upload report.docx, convert it to PDF and download the result.
  • How many pages and words does contract.docx have?
  • In proposal.docx replace every "Acme Ltd" with "Acme Inc" and save the result as proposal-v2.docx.
  • List the comments and bookmarks in review-draft.docx.
เอกสารอ้างอิง

เครื่องมือที่พร้อมใช้ (11)

ทุกเครื่องมือที่เซิร์ฟเวอร์นี้เปิดเผย มาจากไฟล์ manifest ของเครื่องมือนั้นโดยตรง.

เครื่องมือรายละเอียดพารามิเตอร์
words_get_document_bookmarks Retrieves the list of bookmarks and their common information from a specified Word document stored in Aspose Cloud. อ่านได้เท่านั้น filename: str (จำเป็น), folder_name: str | None, storage_name: str | None
พรอมต์: list the bookmarks in contract.docx using aspose words cloud mcp
พรอมต์: list the bookmarks in contract.docx from the legal folder of my MyStorage storage using aspose words cloud mcp
words_get_comments Retrieves all comments from a specified Word document stored in Aspose Cloud. อ่านได้เท่านั้น name: str (จำเป็น), folder: str | None, storage: str | None, load_encoding: str | None
พรอมต์: show all comments in review-draft.docx using aspose words cloud mcp
พรอมต์: show all comments in review-draft.docx from the reviews folder, reading it as utf-8, using aspose words cloud mcp
พรอมต์: show all comments in review-draft.docx from my MyStorage storage using aspose words cloud mcp
words_compare_document Compares a source Word document with another document and produces a new file that highlights the differences. รันแบบจำลอง filename: str (จำเป็น), compare_request: dict[str, Any] (จำเป็น), folder_name: str | None, storage_name: str | None, load_encoding: str | None, destination_filename: str | None, dry_run: bool
พรอมต์: compare contract-v1.docx with contract-v2.docx and save the highlighted differences as contract-diff.docx using aspose words cloud mcp
พรอมต์: preview comparing draft.docx with final.docx, without saving anything, using dry run, using aspose words cloud mcp
words_download_document Exports a document stored in Aspose Cloud to the specified output format, optionally saving the result to a given path. อ่านได้เท่านั้น filename: str (จำเป็น), target_format: str (จำเป็น), folder_name: str | None, storage_name: str | None, output_path: str | None, output_filename: str | None, return_base64: bool
พรอมต์: download report.docx from cloud storage as a pdf using aspose words cloud mcp
พรอมต์: export notes.docx as html and save it as notes.html in the exports folder using aspose words cloud mcp
พรอมต์: export summary.docx from the reports folder as pdf and return it as base64 text instead of saving it, using aspose words cloud mcp
words_convert_to_format Converts a supplied document to a specified format and returns the converted file (or saves it to a given storage path). อ่านได้เท่านั้น document_filename: str (จำเป็น), target_format: str (จำเป็น), storage_name: str | None, output_path: str | None, source_filename_hint: str | None, content_base64: str | None, output_filename: str | None, return_base64: bool
พรอมต์: convert report.docx to pdf using aspose words cloud mcp
พรอมต์: convert letter.rtf to docx and save it as letter.docx in the converted folder using aspose words cloud mcp
พรอมต์: convert this base64 content, which is a docx file named report.docx, to pdf and return the result as base64 using aspose words cloud mcp
words_save_document_as Save a Cloud-stored Word document in another format via explicit save options รันแบบจำลอง filename: str (จำเป็น), save_options: dict[str, Any] (จำเป็น), folder_name: str | None, storage_name: str | None, load_encoding: str | None, destination_filename: str | None, fonts_location: str | None, dry_run: bool
พรอมต์: save proposal.docx as a pdf named proposal-final.pdf using aspose words cloud mcp
พรอมต์: do a dry run of saving brochure.docx as pdf using the fonts in the my-fonts folder, using aspose words cloud mcp
พรอมต์: save legacy.docx from the archive folder as pdf, reading it as utf-8, using aspose words cloud mcp
words_get_document_properties Retrieves the full set of document properties from a Word file stored in Aspose Cloud. อ่านได้เท่านั้น filename: str (จำเป็น), folder_name: str | None, storage_name: str | None
พรอมต์: show the document properties of report.docx using aspose words cloud mcp
พรอมต์: show the document properties of report.docx from the reports folder of my MyStorage storage using aspose words cloud mcp
words_get_available_fonts Retrieves the list of fonts that are available for processing Aspose.Words documents. อ่านได้เท่านั้น fonts_location: str | None
พรอมต์: list the fonts available for processing documents using aspose words cloud mcp
พรอมต์: list the fonts available in the my-fonts folder using aspose words cloud mcp
words_get_document_statistics Retrieves statistical information (e.g., word, character, paragraph, and page counts) for a specified Word document stored in Aspose Cloud. อ่านได้เท่านั้น filename: str (จำเป็น), folder_name: str | None, storage_name: str | None, include_comments: bool | None, include_footnotes: bool | None, include_text_in_shapes: bool | None
พรอมต์: how many pages, words and paragraphs does thesis.docx have? use aspose words cloud mcp
พรอมต์: count the words in thesis.docx including comments, footnotes and text in shapes, using aspose words cloud mcp
words_replace_text Replaces all occurrences of a specified text pattern in a Word document stored in Aspose Cloud and optionally saves the modified document under a new name. รันแบบจำลอง filename: str (จำเป็น), replace_request: dict[str, Any] (จำเป็น), folder_name: str | None, storage_name: str | None, load_encoding: str | None, destination_filename: str | None, revision_author: str | None, revision_date_time: str | None, dry_run: bool
พรอมต์: replace 'Acme Ltd' with 'Acme Inc' in proposal.docx and save as proposal-v2.docx using aspose words cloud mcp
พรอมต์: replace 'draft' with 'final' in handbook.docx as a tracked change by author 'Jane Doe' dated 2026-10-23T09:00:00Z using aspose words cloud mcp
พรอมต์: do a dry run of replacing 2025 with 2026 in handbook.docx from the hr folder, reading it as utf-8, using aspose words cloud mcp
words_create_document Creates a new Word document in Aspose Cloud storage with a filename and format inferred from its extension. รันแบบจำลอง storage_name: str | None, filename: str | None, folder_name: str | None, dry_run: bool
พรอมต์: create a new empty document called meeting-notes.docx using aspose words cloud mcp
พรอมต์: create a new empty document called minutes.docx in the meetings folder of my MyStorage storage using aspose words cloud mcp
พรอมต์: do a dry run of creating a new document called agenda.docx using aspose words cloud mcp

ทุกเซิร์ฟเวอร์ยังรวมเครื่องมือไฟล์ร่วมสี่อย่าง (อัปโหลด, ดาวน์โหลด, รายการและลบ) ดังนั้นเซิร์ฟเวอร์เดียวเพียงพอสำหรับกระบวนการอัปโหลด, ประมวลผล, ดาวน์โหลดอย่างครบถ้วน.

สำรวจเพิ่มเติม

เซิร์ฟเวอร์ Aspose Cloud MCP อื่น ๆ